Forums / Install & configuration / [Fatal Error][New Installation]On package choosing

[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

eZ debug

Timing: Jan 18 2025 19:34:58
Script start
Timing: Jan 18 2025 19:34:58
Module start 'content'
Timing: Jan 18 2025 19:34:59
Module end 'content'
Timing: Jan 18 2025 19:35:00
Script end

Main resources:

Total runtime1.2833 sec
Peak memory usage4,096.0000 KB
Database Queries209

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.9609180.8047
Module start 'content' 0.00641.1388 768.7656626.6484
Module end 'content' 1.14520.1380 1,395.4141345.0313
Script end 1.2832  1,740.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2988210.0002
Check MTime0.00140.1128210.0001
Mysql Total
Database connection0.00110.089010.0011
Mysqli_queries1.200693.55982090.0057
Looping result0.00210.16252070.0000
Template Total1.257298.020.6286
Template load0.00230.178120.0011
Template processing1.254997.790320.6275
Template load and register function0.00020.015010.0002
states
state_id_array0.00070.052510.0007
state_identifier_array0.00180.143420.0009
Override
Cache load0.00200.1584530.0000
Sytem overhead
Fetch class attribute can translate value0.00160.128430.0005
Fetch class attribute name0.00150.120690.0002
XML
Image XML parsing0.00090.071830.0003
class_abstraction
Instantiating content class attribute0.00000.0017110.0000
General
dbfile0.00210.1656270.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 40
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs