[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.