Forums / Install & configuration / Removing item creates infinite loop

Removing item creates infinite loop

Author Message

V. van Velzen

Wednesday 01 December 2010 6:44:11 am

Goodday,

I'm trying to remove a contentitem, but after a while get the dreaded response:

"Fatal error: Maximum execution time of 30 seconds exceeded in /path_to_site/lib/ezfile/classes/ezdir.php on line 124
Fatal error: eZ Publish did not finish its request"

When looking in the errorlog I've got a lot of entries saying that certain image-files can't be found for moving, in the form of:

"[ Dec 01 2010 14:30:50 ] [77.167.106.22] eZFileHandler::move:
Cannot rename file var/yoursite/storage/images/path_to_image/trashed/trashed/trashed/a35c7fdc5bcfa3a40a24af3be622e84b.gif, it does not exist"

Note the multiple 'trashed' directories. When I look at the imagefolder with my FTP client I'm seeing multiple nested 'trashed' folders, created when removing the contentitem. In one of the folders it's nested 8 levels deep! That doesn't seem like it's working correctly. And more importantly: I can't remove the contentitem. Any help would be appreciated.

TIA,

Vivienne

Robin Muilwijk

Wednesday 01 December 2010 11:45:20 am

Hi Vivienne,

Can you check a previously reported issue and see if this matches your problem? See http://issues.ez.no/IssueView.php?Id=16823.

Regards, Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

V. van Velzen

Thursday 02 December 2010 1:27:11 am

Hi Robin,

It sounds like the same problem, only I'm not using ezdbfile (as far as I know) and the tables ezdbfile and ezdbfile_data are not present in my database. Instead of creating infinite 'trashed' entries in the database, it creates (apparently) infinte 'trashed' directories on the filesystem.

Kind regards,

Vivienne

NB. I'm using:
Apache: 2.2.16;
PHP: 5.2.14;
MySQL 5.1.5;
EZP 4.4.0.

Robin Muilwijk

Thursday 02 December 2010 2:02:46 am

Hi,

Are you using the eZ Webin or eZ Flow interface? And no other specific setup with regards to eZ? As in eZ Find, Clustering or anything?

Regards Robin 

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

V. van Velzen

Monday 06 December 2010 6:18:17 am

Hi Robin,

Ezwebin is checked as extension, but as far as I know little to none of the functionality is being used. Other than that I'm using the default EZP package. I didn't have this problem before upgrading to 4.4, does that help?

Kind regards,

Vivienne

Robin Muilwijk

Thursday 09 December 2010 11:22:02 am

Hi Vivienne,

If you say you did not have this problem before upgrading to eZ 4.4, I'd say it sounds like a bug. My suggestion would be to submit it to the tracker (http://issues.ez.no).

I've not seen this before on the forum, or tracker, so can't provide you with a solution I'm afraid. I'll ping eZ Engineering, aks if they have seen this before and have a patch for it.

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

V. van Velzen

Tuesday 14 December 2010 2:33:41 am

Hi Robin,

Thanks, I'll submit it to the tracker. Hopefully a fix can be made.

Kind regards,

Vivienne

Robin Muilwijk

Friday 17 December 2010 12:50:42 am

Note ; also reported here http://share.ez.no/forums/developer/strange-problem-with-multiple-trashed-folders

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

eZ debug

Timing: Jan 17 2025 23:42:09
Script start
Timing: Jan 17 2025 23:42:09
Module start 'content'
Timing: Jan 17 2025 23:42:10
Module end 'content'
Timing: Jan 17 2025 23:42:10
Script end

Main resources:

Total runtime1.3210 sec
Peak memory usage4,096.0000 KB
Database Queries212

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 589.2656180.8281
Module start 'content' 0.00661.1995 770.0938605.5781
Module end 'content' 1.20620.1147 1,375.6719341.6875
Script end 1.3209  1,717.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3106210.0002
Check MTime0.00160.1192210.0001
Mysql Total
Database connection0.00080.060610.0008
Mysqli_queries1.237793.69822120.0058
Looping result0.00200.15162100.0000
Template Total1.295398.120.6476
Template load0.00210.159920.0011
Template processing1.293197.892920.6466
Template load and register function0.00020.018610.0002
states
state_id_array0.00080.061210.0008
state_identifier_array0.00100.076120.0005
Override
Cache load0.00190.1448550.0000
Sytem overhead
Fetch class attribute can translate value0.00180.132930.0006
Fetch class attribute name0.00240.182690.0003
XML
Image XML parsing0.00100.077030.0003
class_abstraction
Instantiating content class attribute0.00000.0026120.0000
General
dbfile0.00310.2351290.0001
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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs