Error ...File (/) is not within the allowed path...

Phoca Gallery - image gallery extension
AliZ
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 29 May 2008, 13:49

Hi,I'am t

Post by AliZ »

Hi,
I'am trying to install v1.8.5_beta and get the following errors:

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/webPQR/html/:/var/www/webPQR/phptmp/:/var/www/webPQR/files/:/var/www/webPQR /atd/:/usr/local/php5/pear/) in /var/www/webPQR/html/cms/libraries/joomla/filesystem/folder.php on line 363

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/webPQR/html/:/var/www/webPQR/phptmp/:/var/www/webPQR/files/:/var/www/webPQR /atd/:/usr/local/php5/pear/) in /var/www/webPQR/html/cms/libraries/joomla/filesystem/folder.php on line 363

PHP5
J!1.5.0 stable

Any suggestions?
THX in advance
AliZ
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Do you get the Insta

Post by Jan »

Do you get the Install x Upgrade installation view?
If you find Phoca extensions useful, please support the project
AliZ
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 29 May 2008, 13:49

Hello Jan,

Post by AliZ »

Hello Jan,

no, there is nothing about upgrade.

One additional information: my site was moved from my provider to another server because on the old server I had only PHP 4.3.11. On the old server I tried to install the component too, but of course with an error.
Now I have PHP 5.2.x and I actually made the upgrade to PHP 5.2.x only because of your gallery components.

Here the whole text I get:

JFolder::create: Infinite loop detected
Warning! - Failed to move file

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/web3/html/:/var/www/web3/phptmp/:/var/www/web3/files/:/var/www/web3/atd/:/u sr/local/php5/pear/) in /var/www/web3/html/cms/libraries/joomla/filesystem/folder.php on line 363

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/web3/html/:/var/www/web3/phptmp/:/var/www/web3/files/:/var/www/web3/atd/:/u sr/local/php5/pear/) in /var/www/web3/html/cms/libraries/joomla/filesystem/folder.php on line 363

Unable to find install package

I would be very happy if you could help me.
I also tried version 1.8.2 of your component. Exactly the same error message.

Thx in advance
AliZ
AliZ
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 29 May 2008, 13:49

I updated Joomla to

Post by AliZ »

I updated Joomla to 1.5.3. Same error.
AliZ
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 29 May 2008, 13:49

Hello Jan,

Post by AliZ »

Hello Jan,

I solved it!!! I tried to install another com and got the same error. This indicated to me that there was something wrong with my config and nothing with the com.
I had a wrong configuration for the temp and log folder path.
I had /var/log instead of var/www/web3/log and /phptmp instead of ....

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

...

Post by Jan »

If you find Phoca extensions useful, please support the project
Post Reply