×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: JFolder::create: Infinite loop detected

JFolder::create: Infinite loop detected 14 years 7 months ago #9542

  • Vinícius Godoy
  • Vinícius Godoy's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Hi,

When I try to update my JoomComment beta 2 to RC1 I receive the following error:
JFolder::create: Infinite loop detected

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/mysite/:/tmp:/usr/local/lib/php:./) in /home/mysite/libraries/joomla/filesystem/folder.php on line 392

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/mysite/:/tmp:/usr/local/lib/php:./) in /home/mysite/libraries/joomla/filesystem/folder.php on line 392

Any ideas?

JFolder::create: Infinite loop detected 14 years 7 months ago #9544

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081

JFolder::create: Infinite loop detected 14 years 7 months ago #9546

  • Vinícius Godoy
  • Vinícius Godoy's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Sorry, I forgot to tell you. I already googled about this problem, and eventually I read the page you indicated, even before posting to this thread.

I already reviewed my temp and log configurations, and they are all ok. Joomcomment is the only plugin I have problem installing.

I also saw another thread about this subject (take a look at the last comment in this thread): sammoffatt.com.au/os/forum/2-update-mana...finite-loop-detected

Maybe your installer suffers from the same problem?

JFolder::create: Infinite loop detected 14 years 7 months ago #9559

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Do you use 1.5.14 or 15?
Perhaps you could try to unzip the package, upload it to your tmp folder and intall it from there?

JFolder::create: Infinite loop detected 14 years 7 months ago #9561

  • Vinícius Godoy
  • Vinícius Godoy's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
I use 1.5.14.
I'll try it.

Thank you very much for your support.

JFolder::create: Infinite loop detected 14 years 7 months ago #9562

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
why not upgrade to 1.5.15?

JFolder::create: Infinite loop detected 14 years 7 months ago #9567

  • Vinícius Godoy
  • Vinícius Godoy's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Well, there's no particular reason. I'm thinking about doing the upgrade as well.

JFolder::create: Infinite loop detected 14 years 7 months ago #9584

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Well, the latest version ensures that it is not a problem that is already solved from joomla. That is why I'm asking if you can upgrade.

JFolder::create: Infinite loop detected 14 years 7 months ago #9587

  • Vinícius Godoy
  • Vinícius Godoy's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
I did the upgrade in the last weekend, but the problem persists. I reviewed every permission in every folder, and I have no idea where the problem could be.

Is it possible to manually unzip the installation package in some specific folder, in order to upgrade? I could run some mysql scripts in the database as well, if necessary.

JFolder::create: Infinite loop detected 14 years 7 months ago #9588

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Yep,, it is possible. I'm writing a documentation for CompojoomComment as we speak and it will cover manual install.

Do you get this problem only with joomlacomment or also with other extensions???

JFolder::create: Infinite loop detected 14 years 7 months ago #9589

  • Vinícius Godoy
  • Vinícius Godoy's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
With some other extensions too, but not with all extensions. I'm still searching for what could be causing this problem, and i'll reply here case I discover what the problem is.

JFolder::create: Infinite loop detected 14 years 3 months ago #10178

  • Vinícius Godoy
  • Vinícius Godoy's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Well, i promised i would return when I discovered the problem, and here am I.

The problem was in the temp folder configuration in joomla. The folder name must be complete, including the name of some server directories, which i didn't have.

In my case, the setup folder was:
mysite/www/tmp

When the correct is:
/home/mysite/www/tmp

If other users come across this problem, you can see the folder prefix by entering in the system info of joomla. Go to PHP information and look for open_basedir variable. In this variable, you'll see something like this:
/home/yoursite/:/tmp:/usr/local/lib/php:./

Notice that the initial address is before the first : sign. Use it as your base dir directory when setting tmp variable.
  • Page:
  • 1
Time to create page: 0.120 seconds