fatal error and strange permissions...

Author Message

Milad P

Thursday 22 June 2006 6:10:01 am

I have upgraded from 3.6.5 to 3.8. My debug from loginpage is following,

Notice: eZMySQLDB::query(0.000 ms) query number per page:0 Jun 22 2006 15:07:11 
SET NAMES 'utf8'
 
Timing:  Jun 22 2006 15:07:11 
Module start 'user'
 
Error: eZTSTranslator::loadTranslationFile Jun 22 2006 15:07:11 
Could not load translation file: share/translations/swe-SE/translation.ts
 
Error: eZDebug::writeFile Jun 22 2006 15:07:11 
Cannot open log file 'var/log/error.log' for writing
The web server must be allowed to modify the file.
File logging for 'var/log/error.log' is disabled.
 
Error:  Jun 22 2006 15:07:11 
Could not open file 'var/chs/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/swe-SE/c289b3ed89e7dee8a3a352a77b308232.php' for writing, perhaps wrong permissions
 
Error: eZPHPCreator::store Jun 22 2006 15:07:11 
Failed to open file 'var/chs/cache/translation/root-e9e2aa8136260a22b0b09fdee43ccb8a/swe-SE/c289b3ed89e7dee8a3a352a77b308232.php'
 
Warning: ezi18n Jun 22 2006 15:07:11 
No translation for file(translation.ts) in context(lib/template): 'The maximum nesting level of 40 has been reached. The execution is stopped to avoid infinite recursion.' with comment()
 
Error: eZDebug::writeFile Jun 22 2006 15:07:11 
Cannot open log file 'var/log/warning.log' for writing
The web server must be allowed to modify the file.
File logging for 'var/log/warning.log' is disabled.
 
Error: eZINI Jun 22 2006 15:07:11 
Undefined group: 'ExtensionSettings'
 
Error: eZINI Jun 22 2006 15:07:11 
Undefined group: 'ExtensionSettings'
 
Error:  Jun 22 2006 15:07:11 
Could not open file 'var/chs/cache/override/override_3508227105.php' for writing, perhaps wrong permissions
 
Error: eZPHPCreator::store Jun 22 2006 15:07:11 
Failed to open file 'var/chs/cache/override/override_3508227105.php'
 
Error: eZTemplateDesignResource::createOverrideCache Jun 22 2006 15:07:11 
Could not write template override cache file, check permissions in var/chs/cache/override/.
Running eZ publish without this cache will have a performance impact.
 
Error: eZINI Jun 22 2006 15:07:11 
Undefined group: 'ExtensionSettings'
 
Warning: eZTemplate Jun 22 2006 15:07:11 
No template could be loaded for "setup/debug_toolbar.tpl" using resource "design"
 

The problem is that apache (user www-data) already have permission to all of the above files with chmod 770. Why does EZ complain?

/Thanx

Fredrik Ardmar

Friday 08 December 2006 12:59:42 am

Hi

Did someone figure this one out.
Im actually having the same problem.
Grateful for any help

Fredrik

http://www.areadigital.org

Custom google maps with eZ Publish

http://www.meresverige.dk
http://dsbfirst.meresverige.dk

J Martin

Sunday 31 December 2006 1:25:14 pm

same error here....anyone? I tried every permission setting i could find!

Thanks

J Martin

Sunday 31 December 2006 5:08:18 pm

Well, I did a chmod 777 on the whole var directory and now I am past that error a but have another error!

Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

And there is nothing below! Nothing in the error log either. I have debugging turned on.....it was displaying thru the whole setup wizard.

Passed all the tests at the end of the set up wizard too:

Comments:


Site info:

  Site package  - ezwebin_site
  Title         - Website Interface
  URL           - http://linuxbox/mysite/index.php/ezpsite
  Admin URL     - http://linuxbox/mysite/index.php/ezpsite_admin
  Access type   - url
  Access value  - ezpsite


Webserver info:
Version - Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.8b PHP/4.4.4

PHP info:
Version - 4.4.4

OS info
Name - Linux linuxbox 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006 i686
CPU Type - Intel(R) Pentium(R) III Mobile CPU      1066MHz
CPU Speed - 731.500 MHz
Memory Size - 260874240 (248.79 MB)

Database info:
Type - MySQL
Driver - ezmysql


Email info:
Transport - SMTP

Image conversion:
ImageMagick was found and used.
Path - /usr/bin
Executable - convert


Regional info:
Primary - eng-US
Additional - eng-US

Critical tests

directory_permissions - Success
phpversion - Success
database_extensions - Success
image_conversion - Success
open_basedir - Success
safe_mode - Success
memory_limit - Success
execution_time - Success
magic_quotes_runtime - Success
allow_url_fopen - Success
accept_path_info - Success
php_session - Success
file_upload - Success

Other tests:

php_magicquotes - Success
zlib_extension - Success
mbstring_extension - Failure
imagegd_extension - Failure
imagemagick_program - Success
database_all_extensions - Failure
php_register_globals - Success
texttoimage_functions - Failure

but accessing either front or back end gives the error!

THis is a new 3.9 install. I'm new to ezp so maybe I'm missing something.

kracker (the)

Sunday 31 December 2006 6:22:41 pm

At first I wondered if it I think this might be a php requirements problem. :\
Neat read, <i>http://blog.coomanskristof.be/2006/07/07/ezpublish_requirements/</i>

Yet, I wonder now after a little more thought if eZ publish web server / php user does not really have the permissions required, ie the user or permissions are not actually accurate. You could test this theory by assigning file permission to 777 instead.

I see from the output you provide you are using php 4.4.4
I would then ask just how much memory you have allocated via php.ini setting.

From the documentation,
<i>http://ez.no/doc/ez_publish/technical_manual/3_8/installation/normal_installation/requirements_for_doing_a_normal_installation</i>

<b>PHP memory limit issue</b>

eZ publish needs at least 64 MB in order to complete the setup wizard. This means that you'll have to increase the default "memory_limit" setting which is located in the "php.ini" configuration file. (Don't forget to restart apache after editing "php.ini".) Normal operation requires about 16 MB. However, it is highly recommended that you keep the 64 MB setting since eZ publish consumes a lot more memory as soon as you use PDF export feature, reindex the search, etc. Multi-lingual sites that store the content in Unicode (UTF-8) will also require at least 64 MB.

Cheers,
<i>//kracker

Metallica - Nothing Else Matters</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

J Martin

Monday 01 January 2007 6:09:05 am

I'm covered on that point:

max_execution_time = 30     
max_input_time = 60	
memory_limit = 128M 

I'm going to remove everything and start with a fresh download. yuck.

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