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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:33:26
Script start
Timing: Jan 18 2025 19:33:26
Module start 'layout'
Timing: Jan 18 2025 19:33:26
Module start 'content'
Timing: Jan 18 2025 19:33:27
Module end 'content'
Timing: Jan 18 2025 19:33:27
Script end

Main resources:

Total runtime0.6196 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.0156152.6250
Module start 'layout' 0.00430.0023 740.640639.4453
Module start 'content' 0.00670.6115 780.0859567.5234
Module end 'content' 0.61810.0014 1,347.609416.1641
Script end 0.6195  1,363.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4948160.0002
Check MTime0.00140.2262160.0001
Mysql Total
Database connection0.00070.120910.0007
Mysqli_queries0.559490.2906630.0089
Looping result0.00060.1025610.0000
Template Total0.587394.820.2936
Template load0.00220.351920.0011
Template processing0.585194.434020.2925
Template load and register function0.00010.019410.0001
states
state_id_array0.00070.110710.0007
state_identifier_array0.00220.352520.0011
Override
Cache load0.00180.2983610.0000
Sytem overhead
Fetch class attribute can translate value0.00070.107820.0003
Fetch class attribute name0.00130.209960.0002
XML
Image XML parsing0.00050.079120.0002
class_abstraction
Instantiating content class attribute0.00000.002660.0000
General
dbfile0.00070.1186160.0000
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs