Thursday 26 November 2009 1:40:51 am
I have setup 3 siteaccess on a eZPublish 4.2.0 base :
I am not able to access the 3 sites simultaneously, the INI cache generated by dev1 doesn't works for dev2 and admin_dev. The problem is the same with the INI cache generated by dev2 or by admin_dev. The site.ini.append.php are configured to use :
- ezwebin design/extension for dev1 and dev2
- admin for admin_dev
They are accessed by host/uri (with the corresponding virtualhost configuration) The host system is Solaris 10 configured with UTF-8 charset, Apache 2.2.14, PHP 5.2.11 and eZPublish 4.2.0 running on an Oracle 10g database. The 2 following procedures were formerly used and succeeded in making the 3 siteaccess work but they do not anymore : 1. Start by the admin_dev site :
- rm the content of var/cache and var/ezwbin_site
- connect to the admin_dev url ==> OK
- login as an administrator ==> OK but the top menu is replaced by a serie of ????1???????????????????
- clear all the cache (with the menu on the right) ==> OK and the top menu is back
- connect to the url of dev1 and dev2 ==> OK
2. Start by the dev1 or dev2 site :
- rm the content of var/cache and var/ezwbin_site
- connect to dev1 or dev2 url ==> OK
- connect to admin_dev url ==> OK
- login as an administrator ==> OK
Now thoses solutions fail, I am able to display (after cleaning var/cache and var/ezwebin_site) only dev1 or dev2 or admin_dev. I have the following trace in the error log when accessing a second siteaccess :
[ Nov 26 2009 08:54:05 ] [192.168.1.247] eZINI:
Undefined variable: 'LogDir' in group 'FileSettings' in site.ini
[ Nov 26 2009 08:54:05 ] [192.168.1.247] eZINI: Undefined variable: 'LogFilePermissions' in group 'FileSettings' in site.ini In the Apache error_log : PHP Fatal error: Call to a member function processFile() on a non-object in /export/home/mrs/products/apache/htdocs/ezpublish/lib/ezutils/classes/ezexpiryhandler.php on line 58 It seems that eZPublish is unable to read the ini file and then is unable to load the expiry.php file.
|