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