Forums / Install & configuration / Fresh ez4 install problem

Fresh ez4 install problem

Author Message

Hugo Oliveira

Friday 09 May 2008 3:54:13 am

Hi,

I've installed a fresh copy of ez publish 4 on my domain. However, when I finish the web setup wizard all is not well (but no errors ocurred during install). I can get my site page but not my admin interface page. Also, the web site gives me a kernel error (1).

Can anyone help me with this?

Thanks

More information:
site domain: <domain>/site
site path: <domain>/site/public
admin path: <domain>/site/admin_area
package: plain_site
version: ezpublish4.0.0

PHP: 5.2.5
MySQL: 5.0.45
Apache: 1.3.37

local php.ini (root of ezpublish installation):

date.timezone = "Europe/Lisbon"

magic_quotes_gpc = 0
magic_quotes_runtime = 0

P.S: I don't know which information more might be needed so just ask for it and I'll do my best to provide it. Thanks again.

Hugo Oliveira

Tuesday 13 May 2008 11:18:48 am

Hi again,

I found out what my problem is.

During setup, the wizard shows a page that says that I'm not running the site in virtual host mode and says one should create a .htaccess from .htaccess_root. So I did this. However, I've tried accessing the site without this file and the results are the same.

For some reason, ez publish only works if I write

http://<domain>/site/index.php?

This way, I can reach my administration interface provided I use the "index.php?" part. So the url looks like this:

http://<domain>/site/index.php?/admin_area

Does anyone know how to change this behaviour? I'm currently giving a shot at rewriting the url without "index.php?" on it but with no luck so far. Any ideas?

Thanks

Gaetano Giunta

Tuesday 13 May 2008 1:39:38 pm

- you do not need the ? after the index.php part, unless you have set up something weird in your .htaccess

- the eZ Publish ini file responsible for deciding which siteaccess is in use depending on the client url used is eZPDir/settings/override/site.ini.append.php. In there, you should have something like this for a vhost config:
[SiteAccessSettings]
MatchOrder=host
HostMatchMapItems[]=admin.my.site;my_site_admin
HostMatchMapItems[]=www.my.site;my_site_user
The above is an example for 2 siteaccess, one public and one admin.

- make sure your dns config is ok (or your local /etc/hosts contains entry for both admin.my.site and www.my.site pointing o the same apache server)

- make sure the apache config is properly set up to recognize the two vhosts and serve as DocumentRoot the eZ Publish dir in both cases

- if you want the index.php part never to appear in urls generated by ezpublish, you should also set ForceVirtualHost=true (in the same settings file)

Principal Consultant International Business
Member of the Community Project Board

Hugo Oliveira

Tuesday 13 May 2008 4:57:41 pm

Hi Gaetano,

I tried the option you said ForceVirtualHost but it didn't do the trick. If I enable it my admin interface goes nuts.
Also, I tried accessing it without the "?" but it does not work. I can't understand why.

I'm still trying to figure this one out (especially as I need to take out the "index.php?" part from the urls) but so far I've come to a dead end.

So I'll just post some more info:

url example: http://www.climbingportugal.com/web/index.php?/plain_site_admin
this is the minimum I must have in order to see the login form

I'm trying to install it on a web hosting service that supports specifically eZ Publish (siteground) so I cannot reach apache's httpd.conf

Again thanks for your help but I have to ask if you have any more ideas?

Thanks again

Hugo Oliveira

Saturday 28 June 2008 3:49:52 pm

Hi again,

I decided to do a fresh install of my website, this time on the server's root.

So I installed it on my domain's root and went through the installer. However, when I got to the end of it I had the same problem. Either I use "index.php?" right after my domain (in my URLs) or I can't get nowhere on the site. So, again, I'm asking for any help here. I've seen a few articles (here on ez.no) and tried a few possible solutions but with no luck.

Again, and as an example, if I don't write the URL as:

http://www.climbingportugal.com/index.php?/site_admin

I have no way to go to the site's administrator interface. The same happens with the site's (plain) interface. All URLs are generated by ez publish using "index.php?". How can I change this? How can I get rid of the "index.php?" part?

Thanks for any help anyone might provide. I'm really lost at this time

P.S: I have no access to apache's httpd.conf but I have a .htaccess.

eZ debug

Timing: Jan 18 2025 21:08:08
Script start
Timing: Jan 18 2025 21:08:08
Module start 'content'
Timing: Jan 18 2025 21:08:09
Module end 'content'
Timing: Jan 18 2025 21:08:09
Script end

Main resources:

Total runtime0.9687 sec
Peak memory usage4,096.0000 KB
Database Queries200

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.7344180.8281
Module start 'content' 0.00660.8110 768.5625572.6016
Module end 'content' 0.81760.1511 1,341.1641337.3984
Script end 0.9687  1,678.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.4702210.0002
Check MTime0.00180.1884210.0001
Mysql Total
Database connection0.00100.098310.0010
Mysqli_queries0.887391.59842000.0044
Looping result0.00220.22561980.0000
Template Total0.940797.120.4703
Template load0.00210.217720.0011
Template processing0.938596.884020.4693
Template load and register function0.00020.025010.0002
states
state_id_array0.00080.087210.0008
state_identifier_array0.00140.146520.0007
Override
Cache load0.00180.1890610.0000
Sytem overhead
Fetch class attribute can translate value0.00140.145730.0005
Fetch class attribute name0.00110.110860.0002
XML
Image XML parsing0.00090.090430.0003
class_abstraction
Instantiating content class attribute0.00000.001160.0000
General
dbfile0.00390.4047270.0001
String conversion0.00000.000730.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs