ispCP - Board - Support
error for filemanager - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: error for filemanager (/thread-8102.html)

Pages: 1 2


error for filemanager - Alex1 - 10-12-2009 10:52 PM

I login to filemanager, but come this error


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/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /var/www/ispcp/gui/tools/filemanager/includes/browse.inc.php on line 123

Warning: ftp_rawlist() [function.ftp-rawlist]: Unable to create temporary file. Check permissions in temporary files directory. in /var/www/ispcp/gui/tools/filemanager/includes/browse.inc.php on line 123

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/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /var/www/ispcp/gui/tools/filemanager/includes/browse.inc.php on line 124

Warning: ftp_rawlist() [function.ftp-rawlist]: Unable to create temporary file. Check permissions in temporary files directory. in /var/www/ispcp/gui/tools/filemanager/includes/browse.inc.php on line 124

why? And how i fix.


RE: error for filemanager - BeNe - 10-12-2009 10:54 PM

ispCP Version ?
Os ?

You can try to add /tmp in you master PHP.ini - not so fine but it should work.

Greez BeNe


RE: error for filemanager - Alex1 - 10-12-2009 11:04 PM

(10-12-2009 10:54 PM)BeNe Wrote:  ispCP Version ?
Os ?

You can try to add /tmp in you master PHP.ini - not so fine but it should work.

Greez BeNe
ispcp version is 1.0.2

os is debian etch.

how i add /tmp in php.ini ?


RE: error for filemanager - BeNe - 10-12-2009 11:19 PM

Open your
Code:
/var/www/fcgi/master/php5/php.ini
And add to the "open_basedir" the /tmp like this:
Code:
open_basedir = "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/:/usr/share/php/PEAR/:/tmp/"

Restart Apache.

Greez BeNe


RE: error for filemanager - Alex1 - 10-12-2009 11:30 PM

(10-12-2009 11:19 PM)BeNe Wrote:  Open your
Code:
/var/www/fcgi/master/php5/php.ini
And add to the "open_basedir" the /tmp like this:
Code:
open_basedir = "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/:/usr/share/php/PEAR/:/tmp/"

Restart Apache.

Greez BeNe

Code:
open_basedir = /var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/:/usr/share/php/PEAR/:/tmp/
i edit this and no changes.


RE: error for filemanager - BeNe - 10-13-2009 12:46 AM

Did you restart the Apache ?

Greez BeNe


RE: error for filemanager - Alex1 - 10-13-2009 01:16 AM

yes....


RE: error for filemanager - BeNe - 10-13-2009 04:16 AM

Can you please post the Error again now ?
This MUST work Rolleyes

Greez BeNe


RE: error for filemanager - Alex1 - 10-13-2009 04:33 AM

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/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /var/www/ispcp/gui/tools/filemanager/includes/browse.inc.php on line 123

Warning: ftp_rawlist() [function.ftp-rawlist]: Unable to create temporary file. Check permissions in temporary files directory. in /var/www/ispcp/gui/tools/filemanager/includes/browse.inc.php on line 123

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/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /var/www/ispcp/gui/tools/filemanager/includes/browse.inc.php on line 124

Warning: ftp_rawlist() [function.ftp-rawlist]: Unable to create temporary file. Check permissions in temporary files directory. in /var/www/ispcp/gui/tools/filemanager/includes/browse.inc.php on line 124


RE: error for filemanager - Alex1 - 10-14-2009 05:12 AM

up please Sad