[Fatal Error][New Installation]On package choosing

Author Message

Musa Ulker

Tuesday 18 July 2006 1:23:40 am

I'm using XAMP 1.5.3a (http://www.apachefriends.org ) with PHP4. My operating system is Suse Linux Enterprise Server 10.1 Pre-Release.
While installing eZ publish 3.8.1 on XAMP after language selection I get this error.

"Fatal error: Call to a member function on a non-object in /opt/lampp/htdocs/kernel/setup/steps/ezstep_site_types.php on line 595
Fatal error: eZ publish did not finish its request

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

eZ publish version: 3.8.1

PHP version: 4.4.2

Database: MySQL - 5.0.21

Web server: Apache/2.2.2 (Unix) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b PHP/4.4.2 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.7

Kristof Coomans

Tuesday 18 July 2006 3:02:01 am

Reported as a bug by Musa Ulker: http://ez.no/community/bugs/while_installing_ez_publish_after_language_selection_fatal_error_on_package_choosing

Does the directory var/cache/packages exist and is it writeable by the user the web server is running as?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Musa Ulker

Tuesday 18 July 2006 4:37:15 am

Yes it is writable..

Kristof Coomans

Tuesday 18 July 2006 5:32:27 am

Is there nothing else in the debug output? Or in log files?

After

$root = $domDocument->root();

place

var_dump( $root );

Is $root an object?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Musa Ulker

Tuesday 18 July 2006 6:05:28 am

Here is the output:

NULL
Fatal error: Call to a member function on a non-object in /opt/lampp/htdocs/kernel/setup/steps/ezstep_site_types.php on line 596
Fatal error: eZ publish did not finish its request

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

There isnt any debug output also. And I think

var_dump( $root );

give <b>NULL</b> output.

Next idea?Step?

And also how can I understand is it an object or not? It says NULL..

Also here it error log if you need:

[ Jul 18 2006 16:03:00 ] [127.0.0.1] eZINI:
Undefined group: 'CharsetSettings'
[ Jul 18 2006 16:03:00 ] [127.0.0.1] eZINI:
Undefined group: 'CharsetSettings'
[ Jul 18 2006 16:03:00 ] [127.0.0.1] eZMySQLDB:
Connection error: 1049: Unknown database 'nextgen'
[ Jul 18 2006 16:04:17 ] [127.0.0.1] eZINI:
Undefined group: 'ControlSettings'
[ Jul 18 2006 16:04:18 ] [127.0.0.1] eZINI:
Undefined group: 'ControlSettings'
[ Jul 18 2006 16:04:18 ] [127.0.0.1] eZINI:
Undefined group: 'ControlSettings'
[ Jul 18 2006 16:04:18 ] [127.0.0.1] eZINI:
Undefined group: 'ControlSettings'
[ Jul 18 2006 16:04:19 ] [127.0.0.1] eZINI:
Undefined group: 'PHP'

Musa Ulker

Tuesday 18 July 2006 7:29:46 am

I've read this page content for debugging advice:
<b>http://ez.no/doc/ez_publish/technical_manual/3_8/installation/troubleshooting</b>

and created a file at <b>settings/override</b> named <b>site.ini.append.php</b>.

And when i open http://localhost (ezpublish is at servers root folder) it gives me a PHP error at top of the page:

Warning: file_get_contents(settings/override/site.ini.append.php): failed to open stream: Permission denied in /opt/lampp/htdocs/lib/ezfile/classes/ezfile.php on line 113

Here is the screenshot:
http://img56.imageshack.us/img56/4893/ezpublishdebugerrorsk0.png

Musa Ulker

Tuesday 18 July 2006 7:56:50 am

I've deleted settings/override/site.ini.append.php and cleaned log files and cleaned cached ini files from var folder and on settings/site.ini enabled DebugOutput and here is the result at initial page(first step) (http://localhost):

Timing:  	Jul 18 2006 17:57:15

Script start

Warning: PHP 	Jul 18 2006 17:57:15

mb_convert_encoding(): Unknown encoding &quot;iso-8859-1&quot; in /opt/lampp/htdocs/lib/ezi18n/classes/eztextcodec.php on line 406

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'ControlSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'ControlSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'ControlSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'ControlSettings'

Timing: 	Jul 18 2006 17:57:15

Module start 'setup'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'PHP'

Warning: PHP 	Jul 18 2006 17:57:15

array_keys(): The first argument should be an array in /opt/lampp/htdocs/kernel/common/eztemplateautoload.php on line 134

Warning: PHP 	Jul 18 2006 17:57:15

Invalid argument supplied for foreach() in /opt/lampp/htdocs/lib/eztemplate/classes/eztemplate.php on line 2033

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Timing: 	Jul 18 2006 17:57:15

End

Timing: 	Jul 18 2006 17:57:15

Module end 'setup'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'PHP'

Warning: PHP 	Jul 18 2006 17:57:15

array_keys(): The first argument should be an array in /opt/lampp/htdocs/kernel/common/eztemplateautoload.php on line 134

Warning: PHP 	Jul 18 2006 17:57:15

Invalid argument supplied for foreach() in /opt/lampp/htdocs/lib/eztemplate/classes/eztemplate.php on line 2033

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Timing: 	Jul 18 2006 17:57:15

End

Error: eZMySQLDB 	Jul 18 2006 17:57:15

Connection error: 1049: Unknown database 'nextgen'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Warning: 	Jul 18 2006 17:57:15

User not found, returning anonymous

Warning: 	Jul 18 2006 17:57:15

Anonymous user not found, returning NoUser

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Error: eZINI 	Jul 18 2006 17:57:15

Undefined group: 'CharsetSettings'

Kristof Coomans

Tuesday 18 July 2006 8:52:45 am

According to this warning

Warning: file_get_contents(settings/override/site.ini.append.php): failed to open stream: Permission denied in /opt/lampp/htdocs/lib/ezfile/classes/ezfile.php on line 113

the user your webserver is running as does not have read and write access to files in the settings/override directory. To resolve this, follow the instructions on http://ez.no/doc/ez_publish/technical_manual/3_8/installation/manual_installation/manual_configuration_of_ez_publish under "File permissions".

What's inside var/cache/packages/index.xml when you end up with the fatal error?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 18 2025 22:17:28
Script start
Timing: Jan 18 2025 22:17:28
Module start 'layout'
Timing: Jan 18 2025 22:17:28
Module start 'content'
Timing: Jan 18 2025 22:17:29
Module end 'content'
Timing: Jan 18 2025 22:17:29
Script end

Main resources:

Total runtime0.8244 sec
Peak memory usage4,096.0000 KB
Database Queries72

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 591.5469152.6563
Module start 'layout' 0.00500.0029 744.203139.5078
Module start 'content' 0.00800.8151 783.7109621.5391
Module end 'content' 0.82310.0013 1,405.250024.1094
Script end 0.8244  1,429.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3784160.0002
Check MTime0.00140.1681160.0001
Mysql Total
Database connection0.00070.079110.0007
Mysqli_queries0.754591.5133720.0105
Looping result0.00100.1158700.0000
Template Total0.796996.720.3984
Template load0.00190.226620.0009
Template processing0.795096.431720.3975
Template load and register function0.00020.021910.0002
states
state_id_array0.00080.092410.0008
state_identifier_array0.00120.148220.0006
Override
Cache load0.00170.2037530.0000
Sytem overhead
Fetch class attribute can translate value0.00060.072220.0003
Fetch class attribute name0.00140.170690.0002
XML
Image XML parsing0.00060.078620.0003
class_abstraction
Instantiating content class attribute0.00000.0033110.0000
General
dbfile0.00070.0887160.0000
String conversion0.00000.001040.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
15content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
8content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 40
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs