ispCP - Board - Support
Local problem with filemanager - 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: Local problem with filemanager (/thread-808.html)



Local problem with filemanager - heiti - 06-18-2007 03:46 AM

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?


RE: Local problem with filemanager - raphael - 06-18-2007 04:20 AM

heiti Wrote:Found some thread in the net2ftp-forum about it but no solution when it comes to linux. Anyone elso encountered this problem?
what solution do they propose?


RE: Local problem with filemanager - heiti - 06-18-2007 06:59 AM

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.


RE: Local problem with filemanager - raphael - 06-18-2007 10:01 AM

geez... yet an other ftp_rawlist problem