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.

eZ debug

Timing: Jan 19 2025 01:16:10
Script start
Timing: Jan 19 2025 01:16:10
Module start 'layout'
Timing: Jan 19 2025 01:16:10
Module start 'content'
Timing: Jan 19 2025 01:16:11
Module end 'content'
Timing: Jan 19 2025 01:16:11
Script end

Main resources:

Total runtime0.7113 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 590.4141152.6406
Module start 'layout' 0.00670.0040 743.054739.4766
Module start 'content' 0.01070.6993 782.5313664.6875
Module end 'content' 0.71000.0013 1,447.218820.1406
Script end 0.7113  1,467.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4835160.0002
Check MTime0.00150.2151160.0001
Mysql Total
Database connection0.00090.124510.0009
Mysqli_queries0.647691.0422700.0093
Looping result0.00080.1060680.0000
Template Total0.681195.820.3406
Template load0.00200.280620.0010
Template processing0.679195.469820.3396
Template load and register function0.00060.088610.0006
states
state_id_array0.00100.140410.0010
state_identifier_array0.00100.140320.0005
Override
Cache load0.00180.2480440.0000
Sytem overhead
Fetch class attribute can translate value0.00070.091840.0002
Fetch class attribute name0.00130.189580.0002
XML
Image XML parsing0.00280.396140.0007
class_abstraction
Instantiating content class attribute0.00000.002080.0000
General
dbfile0.00260.3640240.0001
String conversion0.00000.001640.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs