PHP Error When Changing Look and Feel

Author Message

Shane McKinley

Monday 23 January 2006 7:14:30 am

I am running PHP 4.4.6 with EzPublish 3.7.3 and when I try to publish a draft for the look and feel of my intranet I get this error message:

Fatal error: Only variables can be passed by reference in /srv/www/htdocs/ezpublish1/kernel/classes/datatypes/ezinisetting/ezinisettingtype.php on line 103
Fatal error: eZ publish did not finish its request

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

This is a fresh install. Anyone have an idea on how I can fix this?

Shane McKinley

Monday 23 January 2006 8:00:52 am

Sorry for posting in the wrong section, admin please move to installation & configuration. :(

Shane McKinley

Tuesday 24 January 2006 5:12:49 am

Anyone? I do not know much about PHP and I really need to get this to work. :(

Łukasz Serwatka

Tuesday 24 January 2006 6:39:26 am

Hi Shane,

You wrote:

I am running PHP 4.4.6 ...

What exactly PHP you runninig? I guess that 4.4.2 ...

This looks like a bug, could you report this problem in our bug report system?

http://ez.no/community/bugs

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Carlos Revillo

Tuesday 24 January 2006 6:47:00 am

same thing happened to me when i try to change global prefences in ezpublish 3.7.3 and php 4.3.11. only with ez 3.7.3. all is ok with ez 3.7.2

Shane McKinley

Tuesday 24 January 2006 7:02:32 am

Ok, I will report a bug then! :)

Łukasz Serwatka

Wednesday 25 January 2006 12:39:39 am

Good news, the problem has been fixed now by Valentin ;)

You can fetch fixed PHP file form http://pubsvn.ez.no/nextgen/stable/3.7/ after next SVN update.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Shane McKinley

Wednesday 25 January 2006 5:17:15 am

Thanks alot guys. :)

And this may sound stupid, but when will I know when the next SVN update is?

Kristof Coomans

Wednesday 25 January 2006 5:40:02 am

The comment on your bug report will mention in which revision it has been fixed. If this is equal to or higher than the revision number mentioned at the top of http://pubsvn.ez.no/nextgen/stable/3.7/, then the update has been done.

I'm not sure but I think the syncing happens at night. I will ask Paul Borgermans for the right time.

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

Kristof Coomans

Wednesday 25 January 2006 6:58:18 am

The public SVN repository starts synchronising with the repository of eZ systems at 8:19, 16:19 and 22:19.

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

Paul Borgermans

Wednesday 25 January 2006 7:01:12 am

The times above are CET (Mol-Belgium-home-of-pubsvn.ez.no, Brussels, Paris, Oslo, etc...)
;-)

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Shane McKinley

Wednesday 25 January 2006 7:26:53 am

Thanks fellas. :)

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 00:57:04
Script start
Timing: Jan 19 2025 00:57:04
Module start 'layout'
Timing: Jan 19 2025 00:57:04
Module start 'content'
Timing: Jan 19 2025 00:57:05
Module end 'content'
Timing: Jan 19 2025 00:57:05
Script end

Main resources:

Total runtime0.7054 sec
Peak memory usage4,096.0000 KB
Database Queries90

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 589.1719152.6250
Module start 'layout' 0.00840.0037 741.796939.4453
Module start 'content' 0.01210.6919 781.2422752.4219
Module end 'content' 0.70400.0014 1,533.664120.1563
Script end 0.7054  1,553.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.5950160.0003
Check MTime0.00170.2349160.0001
Mysql Total
Database connection0.00110.153810.0011
Mysqli_queries0.629689.2545900.0070
Looping result0.00090.1301880.0000
Template Total0.671195.120.3356
Template load0.00210.293020.0010
Template processing0.669194.847820.3345
Template load and register function0.00030.041410.0003
states
state_id_array0.00090.133310.0009
state_identifier_array0.00070.102620.0004
Override
Cache load0.00170.2430430.0000
Sytem overhead
Fetch class attribute can translate value0.00100.139550.0002
Fetch class attribute name0.00120.1651150.0001
XML
Image XML parsing0.00170.235050.0003
class_abstraction
Instantiating content class attribute0.00000.0042170.0000
General
dbfile0.00170.2446310.0001
String conversion0.00000.001940.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
12content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 36
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs