Forums / Install & configuration / Newbie questions...

Newbie questions...

Author Message

Ben Sytko

Thursday 12 June 2003 1:29:48 pm

If I want eZ publish to display the user site when I go to my domain, do I to install eZ publish into the main httproot directory or can I throw it in a sub-directory (i.e. /home/username/www vs. /home/username/www/ez)?

Also, when I installed eZ publish 3 the first time, I couldn't edit a site.ini.append.php file in the settings/override/ directory. I'm not sure if I just installed it wrong, or what. Another question is I couldn't delete the "Administrative User" that has the username admin and password publish that the installer told me. Isn't this some kind of security hazard? Again, is this supposed to be this way or did I just screw up?

System:
http://www.everythingdm.com/phpinfo.php
eZ publish 3.1.0-2
MySQL

Just let me know if you need any more infomation to help me out. I'm trying to get all these questions answered so I don't have to keep installing eZ publish 3. Thanks

Jo Henrik Endrerud

Friday 13 June 2003 2:22:03 am

If you have to use the main directory of the httproot or in can use a sub-directory is all a matter of how the vortual host of Apache is configured (check Apache's documentation). You also need to configure the user site access to go directly to the domain (chech http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/configure_site_access or http://ez.no/sdk/doc/view/site_access/)

If you can't edit your site.ini.append.php, you probably have some problems with permissions. Type 'chmod +w site.ini.append.php' as root.

You shouldn't remove the admin user, but you should change the password of the admin user. Edit the user to do this.

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Ben Sytko

Friday 13 June 2003 9:00:42 am

Thanks for your help. I got the CMS set up and working, but to get my domain (www.domain.com) to point to the user site I have to:

1. Use a Apache .htaccess file to point where?
2. Edit the /settings/override/user/site.ini.append.php file to point www.mydomain.com to the user site?

Is this right? Like I said before...I would like to get all the details straight before working this out so I don't have to keep uninstalling and reinstalling eZ publish in case I mess up. Thanks for your help.

Ben Sytko

Friday 13 June 2003 6:48:35 pm

I got www.mydomain.com to point to the user site by editing the settings/override/site.ini.append.php file and adding the lines that were in the links you gave me. But I cannot seem to get the admin section now to do this. It seems to have "disapperaed". I will wait a day and hope it reappears but I get an Kernel error #20 when this happens. Another thing, do I need to make the sub-domains in my web site control panel or will eZ publish take care of that (ex. http://admin.mydomain.com)? Thanks for your help.

Jo Henrik Endrerud

Saturday 14 June 2003 12:38:16 pm

eZ publish has no access to alter Apache's configuration. You do therefore need to set up all the domains (and sub-domains) you want in Apache's configuration. This is probably also the reason why your admin site has "disapeared"

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Ben Sytko

Saturday 14 June 2003 6:01:43 pm

Well it appears that the admin section is gone alltogether. Even when I go to www.mydomain.com/ez/index.php/admin I get a Kernel error #20. I will try to look in all the config files to see if any options look like there wrong, but do you know why this would happen? Could just editing the settings/override/site.ini.append.php file cause the admin section to disappear?

eZ debug

Timing: Jan 18 2025 16:09:56
Script start
Timing: Jan 18 2025 16:09:56
Module start 'content'
Timing: Jan 18 2025 16:09:57
Module end 'content'
Timing: Jan 18 2025 16:09:57
Script end

Main resources:

Total runtime0.7486 sec
Peak memory usage4,096.0000 KB
Database Queries203

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0091 588.8281180.8359
Module start 'content' 0.00910.6097 769.6641537.0859
Module end 'content' 0.61880.1297 1,306.7500338.1016
Script end 0.7485  1,644.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.5904210.0002
Check MTime0.00160.2170210.0001
Mysql Total
Database connection0.00090.124910.0009
Mysqli_queries0.673890.00912030.0033
Looping result0.00190.25022010.0000
Template Total0.715095.520.3575
Template load0.00310.419220.0016
Template processing0.711895.090420.3559
Template load and register function0.00020.032210.0002
states
state_id_array0.00110.151510.0011
state_identifier_array0.00120.164320.0006
Override
Cache load0.00260.3518250.0001
Sytem overhead
Fetch class attribute can translate value0.00140.192830.0005
Fetch class attribute name0.00150.196160.0002
XML
Image XML parsing0.00050.067730.0002
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00400.5312210.0002
String conversion0.00000.001630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs