Current time: 12-24-2024, 04:16 AM Hello There, Guest! (LoginRegister)


Post Reply 
[Solved] open_basedir error in choosing Protected areas
Author Message
adigit Offline
Junior Member
*

Posts: 68
Joined: Apr 2007
Reputation: 0
Post: #1
[Solved] open_basedir error in choosing Protected areas
Webtools--->Protected areas--->Choose dir

Quote:Warning: ftp_rawlist() [function.ftp-rawlist]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/usr/share/php/) in /var/www/ispcp/gui/include/vfs.php on line 271

Warning: ftp_rawlist() [function.ftp-rawlist]: Unable to create temporary file. Check permissions in temporary files directory. in /var/www/ispcp/gui/include/vfs.php on line 271
(This post was last modified: 07-19-2007 05:01 PM by adigit.)
07-16-2007 06:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: open_basedir error in choosing Protected areas
Do you use PHP4 or PHP5 ?
For a test - please add "/tmp" in your PHP.ini under open_basedir and try it again.
07-16-2007 06:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
adigit Offline
Junior Member
*

Posts: 68
Joined: Apr 2007
Reputation: 0
Post: #3
RE: open_basedir error in choosing Protected areas
i installed PHP4 as default and change to PHP5 by editing /var/www/fcgi/abc.com/php4-fcgi-starter's last line "php4"-->"PHP5"

problem of "open_basedir restriction" always happened!

added "/tmp" to open_basedir not work
07-16-2007 10:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
adigit Offline
Junior Member
*

Posts: 68
Joined: Apr 2007
Reputation: 0
Post: #4
RE: open_basedir error in choosing Protected areas
Not sure the errors are caused by change from PHP4 to PHP5 as above

or

installing these:
http://www.isp-control.net/forum/solved-...t-964.html
07-16-2007 10:29 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #5
RE: open_basedir error in choosing Protected areas
It has something todo with your changes.
I tested it in the Demo without any Problems.
07-16-2007 11:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply
adigit Offline
Junior Member
*

Posts: 68
Joined: Apr 2007
Reputation: 0
Post: #6
RE: open_basedir error in choosing Protected areas
worrying about if this can be solved by changing all PHP4 into PHP5
OR updating to ispcp 1.0 stable in future!

if not, have to create another VPS and move all the data!
07-17-2007 03:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #7
RE: open_basedir error in choosing Protected areas
You can try the current trunk, raphael changed something
Code:
* Fixed open_basedir problem with vfs.php while getting/putting files

Maybe it works now with your Server.
Per default it works Rolleyes
07-17-2007 03:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #8
RE: open_basedir error in choosing Protected areas
BeNe Wrote:You can try the current trunk, raphael changed something
Code:
* Fixed open_basedir problem with vfs.php while getting/putting files
Tongue
07-18-2007 02:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
adigit Offline
Junior Member
*

Posts: 68
Joined: Apr 2007
Reputation: 0
Post: #9
RE: open_basedir error in choosing Protected areas
replaced with the 20070717 trunk vfs.php

it doesn't work. still get the same errors.
07-18-2007 05:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #10
RE: open_basedir error in choosing Protected areas
Did you only replaced the file or the complete gui/engine ?

Greez BeNe
07-18-2007 05:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)