Crash on eZ Publish ini reading

Author Message

Guillaume Kulakowski

Friday 21 August 2009 12:15:41 am

Hi,

I have a problem in reading some ini files.

On 1 Linux server I read and parse my ini file correctly, but on an another Linux server reading crash in the middle of the ini file : a call to a parameter don’t find the parameter.

To correct that, I must find the last parameter read and remove this return charset and put enter again.

In my editor (Eclipse); I can’t see any error in my ini file...

Have you an idea and perhaps a solution for my problem ? I have already put my editor in UTF-8 and return charset in Unix mod

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

André R.

Friday 21 August 2009 1:04:15 am

Do you have the line number the crash happens on (and the code + a fw lines up and down), I guess this is in ezini.php?

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

Guillaume Kulakowski

Friday 21 August 2009 1:25:56 am

Sorry for the confusion,

It's not a crash but a break in the reading. Like if ezini don't read my ini file after a line.

++

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

André R.

Friday 21 August 2009 1:39:03 am

Ahh, well impossible to know without the file or something. Try to open it in other editors and see what you find.

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

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 03:25:42
Script start
Timing: Jan 19 2025 03:25:42
Module start 'layout'
Timing: Jan 19 2025 03:25:42
Module start 'content'
Timing: Jan 19 2025 03:25:44
Module end 'content'
Timing: Jan 19 2025 03:25:44
Script end

Main resources:

Total runtime1.5490 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 591.0547152.6250
Module start 'layout' 0.00610.0025 743.679739.4453
Module start 'content' 0.00861.5389 783.1250555.7500
Module end 'content' 1.54750.0014 1,338.875012.1641
Script end 1.5490  1,351.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2059160.0002
Check MTime0.00130.0820160.0001
Mysql Total
Database connection0.00120.079210.0012
Mysqli_queries1.315784.9378600.0219
Looping result0.00100.0630580.0000
Template Total1.332286.020.6661
Template load0.00230.148620.0012
Template processing1.329985.854420.6649
Template load and register function0.00010.006810.0001
states
state_id_array0.00140.091610.0014
state_identifier_array0.00130.084520.0007
Override
Cache load0.00180.1133210.0001
Sytem overhead
Fetch class attribute can translate value0.00080.049220.0004
Fetch class attribute name0.00190.122260.0003
XML
Image XML parsing0.00110.074220.0006
class_abstraction
Instantiating content class attribute0.00000.001180.0000
General
dbfile0.00230.1485240.0001
String conversion0.00000.000540.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs