Current time: 11-16-2024, 08:55 AM Hello There, Guest! (LoginRegister)


Post Reply 
[fixed] Unable to create temporary file (cant access file manager)
Author Message
genesisrage Offline
Junior Member
*

Posts: 27
Joined: Nov 2007
Reputation: 0
Post: #1
[fixed] Unable to create temporary file (cant access file manager)
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"
(This post was last modified: 12-03-2007 09:43 PM by genesisrage.)
12-01-2007 03:29 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: [error] Unable to create temporary file (cant access file manager)
Which Version of ispCP did you use???
12-01-2007 05:00 AM
Visit this user's website Find all posts by this user Quote this message in a reply
genesisrage Offline
Junior Member
*

Posts: 27
Joined: Nov 2007
Reputation: 0
Post: #3
RE: [error] Unable to create temporary file (cant access file manager)
im using r932 on debian 4.0 (etch)... but it also occured on r912 as well
12-01-2007 05:35 AM
Find all posts by this user Quote this message in a reply
genesisrage Offline
Junior Member
*

Posts: 27
Joined: Nov 2007
Reputation: 0
Post: #4
RE: [error] Unable to create temporary file (cant access file manager)
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.
12-03-2007 09:39 PM
Find all posts by this user Quote this message in a reply
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #5
RE: [error] Unable to create temporary file (cant access file manager)
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.
02-09-2008 04:32 PM
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: #6
RE: [fixed] Unable to create temporary file (cant access file manager)
Which ispCP Version do you use ?
Did you search in the Forum ?
--> http://www.isp-control.net/forum/solved-...t-979.html

Greez BeNe
02-10-2008 05:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #7
RE: [fixed] Unable to create temporary file (cant access file manager)
BeNe Wrote:Which ispCP Version do you use ?
Did you search in the Forum ?
--> http://www.isp-control.net/forum/solved-...t-979.html

Greez BeNe

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

I've been running the nightly build 20080130
02-13-2008 12:23 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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