PHP Errors creating content.

Author Message

Ian Main

Sunday 04 May 2003 8:39:44 am

So I've managed to get ez setup and running (to a point). But now when I try to create any new content, I get the following:

Fatal error: Call to a member function on a non-object in /usr/home/imain/html/entity2/kernel/content/browse.php on line 72
Fatal error: eZ publish did not finish it's request

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

(with nothing else..)

I'm using apache 2.0.45 with php 4.3.1 and postgresql db. I had to mess with the rewrite rule as it didn't seem to work as in the docs (?).

I'm about ready to give up, but I'll give it one more try :)

Marco Zinn

Sunday 04 May 2003 10:00:27 am

Hi Ian,
hmm, I don't have experiences with your DB or Apache 2.0. Does the docu says, ez will work with Apache 2.0?
For me (using Apache 1.3), the rewrite rules worked nicely.

You can turn on debug info in either setup.ini or site.ini (I don't know right now) or in the corresponding override files, if there are any in the settings/override dir.
There is a whole section about Debug output, I think, the first switch is the master switch to turn debug on. It's documented.
Maybe that will help you.

Marco
http://www.hyperroad-design.com

Jan Borsodi

Tuesday 06 May 2003 1:46:51 am

What was the url when the it crashed?

We generally don't recommend to use Apache 2.0 for eZ publish and PHP since there are problems with it in some versions.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 31 2025 01:17:10
Script start
Timing: Jan 31 2025 01:17:10
Module start 'layout'
Timing: Jan 31 2025 01:17:10
Module start 'content'
Timing: Jan 31 2025 01:17:10
Module end 'content'
Timing: Jan 31 2025 01:17:10
Script end

Main resources:

Total runtime0.0215 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.2500151.2266
Module start 'layout' 0.00460.0036 739.4766220.7188
Module start 'content' 0.00830.0114 960.1953997.8203
Module end 'content' 0.01970.0018 1,958.015633.9922
Script end 0.0215  1,992.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002712.6142140.0002
Check MTime0.00115.0348140.0001
Mysql Total
Database connection0.00073.263810.0007
Mysqli_queries0.00219.841330.0007
Looping result0.00000.055410.0000
Template Total0.00146.710.0014
Template load0.00104.454110.0010
Template processing0.00052.179910.0005
Override
Cache load0.00073.073210.0007
General
dbfile0.00094.049680.0001
String conversion0.00000.023340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs