ispCP - Board - Support
[Solved] open_basedir error in choosing Protected areas - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: [Solved] open_basedir error in choosing Protected areas (/thread-979.html)

Pages: 1 2


[Solved] open_basedir error in choosing Protected areas - adigit - 07-16-2007 06:12 PM

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



RE: open_basedir error in choosing Protected areas - BeNe - 07-16-2007 06:54 PM

Do you use PHP4 or PHP5 ?
For a test - please add "/tmp" in your PHP.ini under open_basedir and try it again.


RE: open_basedir error in choosing Protected areas - adigit - 07-16-2007 10:16 PM

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


RE: open_basedir error in choosing Protected areas - adigit - 07-16-2007 10:29 PM

Not sure the errors are caused by change from PHP4 to PHP5 as above

or

installing these:
http://www.isp-control.net/forum/solved-php-settings-problem-t-964.html


RE: open_basedir error in choosing Protected areas - BeNe - 07-16-2007 11:55 PM

It has something todo with your changes.
I tested it in the Demo without any Problems.


RE: open_basedir error in choosing Protected areas - adigit - 07-17-2007 03:18 PM

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!


RE: open_basedir error in choosing Protected areas - BeNe - 07-17-2007 03:35 PM

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


RE: open_basedir error in choosing Protected areas - raphael - 07-18-2007 02:08 AM

BeNe Wrote:You can try the current trunk, raphael changed something
Code:
* Fixed open_basedir problem with vfs.php while getting/putting files
Tongue


RE: open_basedir error in choosing Protected areas - adigit - 07-18-2007 05:44 PM

replaced with the 20070717 trunk vfs.php

it doesn't work. still get the same errors.


RE: open_basedir error in choosing Protected areas - BeNe - 07-18-2007 05:59 PM

Did you only replaced the file or the complete gui/engine ?

Greez BeNe