ispCP - Board - Support
[fixed] Unable to create temporary file (cant access file manager) - 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: [fixed] Unable to create temporary file (cant access file manager) (/thread-1909.html)



[fixed] Unable to create temporary file (cant access file manager) - genesisrage - 12-01-2007 03:29 AM

File Manager Error:
Code:
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
[solution]
add "/tmp" to the "open_basedir" of "/var/www/fcgi/master/php5/php.ini" (or /php4/ depending on what your using)

[edit]
Another problem, I did reset-setup, then ispcp-setup... now the whole ftp is broken. Any attempt to connect now shows this error "421 Service not available, remote server has closed connection"


RE: [error] Unable to create temporary file (cant access file manager) - gOOvER - 12-01-2007 05:00 AM

Which Version of ispCP did you use???


RE: [error] Unable to create temporary file (cant access file manager) - genesisrage - 12-01-2007 05:35 AM

im using r932 on debian 4.0 (etch)... but it also occured on r912 as well


RE: [error] Unable to create temporary file (cant access file manager) - genesisrage - 12-03-2007 09:39 PM

well i found a fix... somewhat...

adding "/tmp" into the open_basedir of /var/www/fcgi/master/php5/php.ini did allow me to use the file manager.

however upon upgrading to another nightly, still completely breaks ftp. cant even log into localhost from the server.


RE: [error] Unable to create temporary file (cant access file manager) - bpratt - 02-09-2008 04:32 PM

genesisrage Wrote:well i found a fix... somewhat...

adding "/tmp" into the open_basedir of /var/www/fcgi/master/php5/php.ini did allow me to use the file manager.

however upon upgrading to another nightly, still completely breaks ftp. cant even log into localhost from the server.

I'm getting this error with some of my domains here for some unusual reason.

When a client logs in to their account, and adds or changes a ftp account, when they click on the choose dir link, the expected popup windows come sup, but this what is displayed :-

Quote: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 276

Can not open directory !
Please contact your administrator !

The above 'trick' didn't seem to work for me though.


RE: [fixed] Unable to create temporary file (cant access file manager) - BeNe - 02-10-2008 05:47 AM

Which ispCP Version do you use ?
Did you search in the Forum ?
--> http://www.isp-control.net/forum/solved-open-basedir-error-in-choosing-protected-areas-t-979.html

Greez BeNe


RE: [fixed] Unable to create temporary file (cant access file manager) - bpratt - 02-13-2008 12:23 PM

BeNe Wrote:Which ispCP Version do you use ?
Did you search in the Forum ?
--> http://www.isp-control.net/forum/solved-open-basedir-error-in-choosing-protected-areas-t-979.html

Greez BeNe

Yep, searched the forum before I posted, hence found this thread.

I've been running the nightly build 20080130