JFolder::create: Infinite loop detected

Phoca Gallery - image gallery extension
schlogo
Phoca Enthusiast
Phoca Enthusiast
Posts: 51
Joined: 03 Sep 2008, 16:45
Contact:

JFolder::create: Infinite loop detected

Post by schlogo »

hello, just for your information:

i get this message when i want to create a folder for the category in the backend, using the last beta version , on joomla 1.5.14

regards

o
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: JFolder::create: Infinite loop detected

Post by Jan »

Hi, Joomla! has a protection agains loop of creating folders. But I don't have any idea how did you get over this protection. There is limit set to 20. But in Phoca Gallery you can only create one folder at the moment.

Please let me know details what exactly did you done during creation of folder?

Jan
If you find Phoca extensions useful, please support the project
schlogo
Phoca Enthusiast
Phoca Enthusiast
Posts: 51
Joined: 03 Sep 2008, 16:45
Contact:

[solved] JFolder::create: Infinite loop detected

Post by schlogo »

hello

tks for your answer, for a strange reason, the problem desappeared as it came :o Something wrong on my installation i guess, finally not phoca related ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: JFolder::create: Infinite loop detected

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
User avatar
myrtus
Phoca Enthusiast
Phoca Enthusiast
Posts: 74
Joined: 29 Jul 2009, 18:16
Contact:

Re: JFolder::create: Infinite loop detected

Post by myrtus »

I get also this error-message when I create a folder (pictues --> multible add --> create folder), but the folder was created correctly. :idea:

Joomla 1.5.14
PhocaGallery 2.5.7 Beta
Myrtus
luisraposo
Phoca Member
Phoca Member
Posts: 16
Joined: 22 Aug 2009, 17:35
Location: Portugal
Contact:

Re: JFolder::create: Infinite loop detected

Post by luisraposo »

I am also facing the same issue
Phoca Gallery: 2.5.6
Joomla!: 1.5.14

luis raposo
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: JFolder::create: Infinite loop detected

Post by Jan »

still didn't find any problem there, I am testing it on all of my test servers and get nothing there :-(
If you find Phoca extensions useful, please support the project
kayjaydee
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Jun 2009, 00:27

Re: JFolder::create: Infinite loop detected

Post by kayjaydee »

hi Jan

I am also getting this, using Phoca 2.5.6 and 2.5.7beta on a pretty virgin Joomla 1.5.14 (upgraded last night).

I tried to upload multiple images using Java, and it fails on thumbnail creation. I looked at the folder structure that is created, and it creates the infinite loop of thumbs folders with the orginal images inside and a new nested thumbs folder ... and so on...

I have uninstalled all phoca components, deleted the phocagallery folder and its contents from the images folder. Reinstalled. Installation is successful... same problem.

I am going to now try and earlier version of Phoca. I think the last I have locally is 2.5.2.

Incidentally, when I installed Phoca 2.5.6 on a test server locally, running Joomla 1.5.10 it works fine! I will do a little more testing tomorrow, but any advice would be much appreciated.

Regards KJD
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: JFolder::create: Infinite loop detected

Post by Jan »

Ok, maybe in new Joomla! version, there is some new security settings (but I am trying it on 1.5.14 - no problems there)
If you find Phoca extensions useful, please support the project
kayjaydee
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Jun 2009, 00:27

Re: JFolder::create: Infinite loop detected

Post by kayjaydee »

Hi Jan

Thanks, I now have the system fixed runnig on Joomla 1.5.14 and PG2.5.7b.

Essentially it was permissions, but it may be a bit of code also. I was able to verify the permissions issues as per you other posts on thumbnail creation problems.

My method... Clean install of PG (no database, no legacy folders or images). Try upload of images using Java. Fails when creating thumbnail images. Checked contents of images/phocagallery/ folder (could see Thumbs folder but nested within this are images and other Thumbs folder....nested...nested etc...etc..). Deleted full contents of phocagallery folder but left the folder. Changed permiissions of phocagallery from 755 to 777. Thumbnails created fine (and only one Thumbs folder containing correct thumbs and no other thumbs folders). Then changed phocagallery folder back to 755. Thumbnails still work.

I haven't had time to replicate this whole 'fix method' from scratch, but I did replicate the problem (infinite loop of thumbs folders within phocagallery leading to thumbnail creating failure) with two clean installs (last night).

I will try and replicate sometime over the next few days to see if it means something to you.

Finally, many thanks for developing this rather amazing software... Regards KJD
Post Reply