|
Local problem with filemanager
|
| Author |
Message |
heiti
Newbie

Posts: 7
Joined: Jan 2007
Reputation: 0
|
Local problem with filemanager
Filemanager doesnt work atm, its logging in but cant read any directory or file. Nothing in the logs and troubleshoot gives:
Code:
Troubleshoot your net2ftp installation
Back (accesskey b)
* Checking if the FTP module of PHP is installed: yes
* Checking the permissions of the directory on the web server: a small file will be written to the /temp folder and then deleted.
*
o Creating filename: OK. Filename: /var/www/ispcp/gui/tools/filemanager/temp/net2ftp-testt6y53U.txt
o Opening the file in write mode: OK
o Writing some text to the file: OK
o Closing the file: OK
o Deleting the file: OK
* Testing the FTP functions
*
o Connecting to a test FTP server: OK
o Logging into the FTP server: OK
o Setting the passive mode: OK
o Getting the FTP server system type: UNIX
o Changing to the directory /: OK
o Getting the raw list of directories and files:
o Getting the raw list of directories and files:
Line 0
Array ( [scanrule] => rule-4 [dirorfile] => u [dirfilename] => [dirfilename_html] => [dirfilename_url] => [dirfilename_js] => )
The strange thing is that it worked a week ago (same trunk) and that an external net2ftp-installation can also connect and read the files. Local cant read but upload!?
Found some thread in the net2ftp-forum about it but no solution when it comes to linux. Anyone elso encountered this problem?
|
|
| 06-18-2007 03:46 AM |
|
heiti
Newbie

Posts: 7
Joined: Jan 2007
Reputation: 0
|
RE: Local problem with filemanager
with a higher error-level:
Code:
un Jun 17 23:28:35 2007] [error] [client] FastCGI: server "/var/www/fcgi/master/php4-fcgi-starter" stderr: PHP Warning: ftp_rawlist() [<a href='function.ftp-rawlist'>function.ftp-rawlist</a>]: 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/tools/filemanager/modules/advanced_webserver/advanced_webserver.inc.php on line 229
[Sun Jun 17 23:28:35 2007] [error] [client] FastCGI: server "/var/www/fcgi/master/php4-fcgi-starter" stderr: PHP Warning: ftp_rawlist() [<a href='function.ftp-rawlist'>function.ftp-rawlist</a>]: Unable to create temporary file. Check permissions in temporary files directory. in /var/www/ispcp/gui/tools/filemanager/modules/advanced_webserver/advanced_webserver.inc.php on line 229
Edit: Its only PHP5 related, PHP4 is fine. I switched last days from 4 to 5 and that seems to be the reason why it worked before.
(This post was last modified: 06-18-2007 07:53 AM by heiti.)
|
|
| 06-18-2007 06:59 AM |
|
raphael
Member
   
Posts: 474
Joined: Apr 2007
Reputation: 8
|
|
| 06-18-2007 10:01 AM |
|