Forums / Install & configuration / Object error when trying to select link

Object error when trying to select link

Author Message

Armando Colpa

Wednesday 24 November 2010 6:48:06 am

Please forgive my vast ignorance on this subject. I'm completely new to eZ Publish. However, I seemed to have already encountered an issue that nobody else here can solve.

We are using version 4.2 of eZ Publish. I cd into the main directory where I've downloaded everything and ran

sudo php bin/php/ezcache.php --clear-all

sudo php bin/php/ezpgenerateautoloads.php

sudo apachectl restart

This all seems to work fine, then I tried logging into the system and already notice an issue because the navigation on the left hand side doesn't show up. Clicking on one of the links in the main area gives me the following error message:

"The requested object has been moved and thus it is no longer available at the specified address.

The system should automatically redirect you to the new location of the object.

If redirection fails, click on the following address: "address"."

So I then log out and try and run sudo php bin/php/ezcache.php --clear-all again, but this time receive:

"Clearing : Content view cachePHP Fatal error: Call to a member function processFile() on a non-object in (main path)/lib/ezutils/classes/ezexpiryhandler.php on line 60
Fatal error: eZ Publish did not finish its requestThe execution of eZ Publish was abruptly ended, the debug output is present below.Clearing : Content view cachePHP Fatal error: Call to a member function processFile() on a non-object in (main path)/lib/ezutils/classes/ezexpiryhandler.php on line 60
Fatal error: eZ Publish did not finish its requestThe execution of eZ Publish was abruptly ended, the debug output is present below."

I've done a google search on this error but haven't really turned up much. And no one here at work has encountered this error, so of course I'm in uncharted territory here.

I'm using a MacBook Pro running Mac OS X 10.6.5 (i5, 4GB RAM, 500 GB HD if anyone cares), eZ Publish 4.2, php 5.2.12, MySQL 5.1.53 and apache 2.2.15. My PHP doesn't have GD installed (I could recompile php to do so) nor Imagemagick, but I didn't think that was an issue.

Any help would be greatly appreciated at this point. Thanks in advance.

Bertrand Dunogier

Wednesday 24 November 2010 8:13:13 am

Is there anything interesting in var/log/error.log ?

I don't see anything obvious based on your description, but it's not like we're flooded with information ;-)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Armando Colpa

Wednesday 24 November 2010 9:43:30 am

Thanks so much for your quick reply. Looking at the file you suggested, it appears I'm having some type of configuration error. I'm getting a ton of "not found" type of errors. Clearly eZ Publish is looking for something and not finding it. For example

[ Nov 24 2010 12:27:58 ] [] eZINI:Undefined variable: 'CacheDir' in group 'FileSettings' in site.ini

[ Nov 24 2010 12:27:58 ] [] eZExtension::getHandlerClass:Unable to find variable FileHandler in section ClusteringSettings in file file.ini

[ Nov 24 2010 12:28:56 ] [] eZINI:Undefined variable: 'DebugAccess' in group 'SiteAccessSettings' in site.ini

[ Nov 24 2010 12:27:58 ] [] eZINI:Undefined variable: 'CacheDir' in group 'FileSettings' in site.ini

[ Nov 24 2010 12:27:58 ] [] eZExtension::getHandlerClass:Unable to find variable FileHandler in section ClusteringSettings in file file.ini

[ Nov 24 2010 12:28:56 ] [] eZINI:Undefined variable: 'DebugAccess' in group 'SiteAccessSettings' in site.ini

I'm also getting errors like

[ Nov 24 2010 17:25:57 ] [::1] eZTemplate:ezini:!!!No such variable 'RootNode' in group 'NodeSettings' for content.ini[ Nov 24 2010 17:25:57 ] [::1] eZTemplate:ezini:!!!No such variable 'RootNode' in group 'NodeSettings' for content.ini

[ Nov 24 2010 17:25:57 ] [::1] eZTemplate:

No such attribute for array(6): node_id

Choose one of following: content, path, is_default_navigation_part,

ui_context, ui_component, uri

Once again, thanks for any help you guys can give.

André R.

Thursday 25 November 2010 5:29:16 am

read access to settings folder or write access to var/cache maybe?
Basically those errors (not being able to read settings) should not happen.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

eZ debug

Timing: Jan 18 2025 01:11:11
Script start
Timing: Jan 18 2025 01:11:11
Module start 'content'
Timing: Jan 18 2025 01:11:12
Module end 'content'
Timing: Jan 18 2025 01:11:12
Script end

Main resources:

Total runtime0.9780 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 587.8516180.8281
Module start 'content' 0.00770.8206 768.6797603.7656
Module end 'content' 0.82830.1496 1,372.4453337.3750
Script end 0.9779  1,709.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.4361210.0002
Check MTime0.00160.1595210.0001
Mysql Total
Database connection0.00130.128310.0013
Mysqli_queries0.894391.45031990.0045
Looping result0.00240.24501970.0000
Template Total0.939496.120.4697
Template load0.00210.209920.0010
Template processing0.937395.846220.4687
Template load and register function0.00010.014910.0001
states
state_id_array0.00100.097910.0010
state_identifier_array0.00070.073220.0004
Override
Cache load0.00180.1816420.0000
Sytem overhead
Fetch class attribute can translate value0.00150.157940.0004
Fetch class attribute name0.00140.142560.0002
XML
Image XML parsing0.00120.122940.0003
class_abstraction
Instantiating content class attribute0.00000.001460.0000
General
dbfile0.00690.7060340.0002
String conversion0.00000.000730.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs