Manual installation not completely working

Author Message

stephen Gazard

Tuesday 04 December 2007 5:41:55 pm

The situation I've got is not ideal
- I'm on shared Linux servers not designed specifically for ezpublish.
- I've been given a .zip of the file and the database dump from a previous server, and need to migrate it ASAP off the old servers
- the version of EZ publish is 3.8.6
- Apache version 2.0.59 (can't help that)
- PHP 4.4.7
- Mysql 5.0.45
- I'm new to EZ publish, so bear with me

What I've done so far is basically follow the manual installation guide:
1) unzipped the zip file to the root where it should be
2) edited the files /settings/* where the new database settings are to be entered (I checked using <i>grep -ilr "DBusername" *</i> to make sure I'd not missed some files).
3) Created the above database and set it to UFT8 default character set
4) Imported the database from the database dump
5) created php.ini and set memory_limit =64M
6) created .htaccess and entered "AcceptPathInfo On"

Problems:
Only the home page shows up, and links that I know work from the previous site only show the home page (which is currently an image)
I can't bring up the admin view either. It seems like I can't get EZpublish in this installation to accept queries from the url. However, I've installed EZpublish 3.10 via the install wizard, and this seems to have worked fine. I don't want to go through the all the configuration files and manually compare each ones to see if I can find out what's the problem

Any suggestions on what to do?
Are there some settings I'd need to edit in the MySQL database to show up the new location of the files?

André R.

Wednesday 05 December 2007 1:49:42 am

1) you should put your db settings in settings/override/site.ini.append.php (if alle siteaccesses in this install uses same db, if not put the db settings in settings/siteaccess/*/site.ini.append.php)

2) You need to clear cache, look in any 3.8.x upgrade guide for a introduction.
If the script doesn't work, do this from ezp root folder in cli ( given that your site specific var folder is named 'plain_site'):

rm -Rf var/cache/*
rm -Rf var/plain_site/cache/*

3) make sure Apache 2.x is the "prefork" version.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

stephen Gazard

Wednesday 05 December 2007 1:59:02 am

Hello,

Thanks for the reply. I should have mentioned that I did not put my settings in override.php, and checked the old configuration. It had settings in settings/siteaccess/*/site.ini.append.php

I have also cleared the cache as per the install guide for the 3.8.* series.

Additionally, I configured apache using the information at http://ez.no/developer/articles/the_ez_publish_web_server_environment/configuring_apache_and_php

What finally worked was copying the all except /settings/ to the previously clean ezpublish 3.10 folder (I know, not recommended, but I was trying something as a last ditch attempt). I then copied over from the settings (note this had been modded to use the correct DB already) folder:
- site.ini*
- siteaccess/*
- override/*
- template.ini
- admininterface.ini
- codetemplate.ini
- content.ini
- design.ini

It now works. is any path information stored in the other files? I don't have time to check that out at the moment, but I was wondering if anyone knew off-hand
Cheers for your help. I may still need more.

stephen Gazard

Tuesday 11 December 2007 1:57:39 pm

Correction: it partly works. I've bumped my previous post so people can see where I got

I've got two sections to the site, 'site' and 'admin'
They each have site.ini.php in the respective /settings/siteaccess/ folders, and each have the same database settings entered in; I've checked.

However, going to index.php/admin/ results in the same page as index.php/site/

I don't understand why this is.
In /settings/override/site.ini.append.php, I have the following:
AvailableSiteAccessList[]=site
AvailableSiteAccessList[]=admin

In /settings/admin/site.ini.append.php and /settings/site/site.ini.append.php the following is set:
RelatedSiteAccessList[]=site
RelatedSiteAccessList[]=admin

Also in /settings/admin/site.ini.append.php is the requirement for users to login. However, on the previous setup, the site index.php/admin/ works fine

What appears to be the case is that eZpublish is not obtaining the siteaccess tags to properly choose the siteaccess.

Is this an apache misconfiguration? I have apache 2.0.55 running, but no idea how to determine if I'm running the pre-fork version

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