net2ftp i-MSCP 1.3.5 Ubuntu 16.04 not working

  • Hello,


    on my Test server net2ntp not working i become a white Side.


    URL: https://admin.ubuntu.v-gn.com:4443/ftp/


    Webmail, PMA is working.


    The Error log from Nginx is empty.
    The Access.log from Nginx is this:
    4.132.94.149 - - [08/Oct/2016:23:39:38 +0200] "GET /ftp/ HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0" "-"



    Ubuntu 16.04 has PHP 7.0.8


    Works net2ftp with PHP7 ?


    How can I solve this error ?


    System: Umuntu 16.04
    I-MSCP: 1.3.5


    Kind regards
    Viktor

    - Distribution: Debian | Release: 8.10 | Codename: jessie

    - i-MSCP Version: i-MSCP 1.5.3 | Build: 20180516 | Codename: Ennio Morricone

    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), PanelRedirect (v 1.2.0) & SpamAssassin (v 2.0.1)

    - LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)

  • Same problem here, blank page for net2ftp. And my /var/log/nginx/error.log is empty as well. Looks like it was created when installing imscp, but never written to again.


    About debug-mode, just enabling that in /etc/imscp/imscp.conf should be enough? Or should we reconfigure imscp after that? Just enabling it doesn't seem to do anything for me.

  • Hello @Viktor


    Have you tried enabling debug mode in /etc/imscp/imscp.conf?

    Hallo,


    yes but no output in the Logfile.


    Kind regards
    Viktor

    - Distribution: Debian | Release: 8.10 | Codename: jessie

    - i-MSCP Version: i-MSCP 1.5.3 | Build: 20180516 | Codename: Ennio Morricone

    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), PanelRedirect (v 1.2.0) & SpamAssassin (v 2.0.1)

    - LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)

  • We will investigate ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • It seem that net2ftp is not compatible with PHP 7.


    Code
    1. Notice: Undefined index: md5_salt in /var/www/imscp/gui/public/tools/ftp/includes/StonePhpSafeCrypt_config.php on line 36 Fatal error: Uncaught Error: Call to undefined function ereg() in /var/www/imscp/gui/public/tools/ftp/includes/html.inc.php:130 Stack trace: #0 /var/www/imscp/gui/public/tools/ftp/includes/registerglobals.inc.php(390): getBrowser('agent') #1 /var/www/imscp/gui/public/tools/ftp/includes/main.inc.php(176): require_once('/var/www/imscp/...') #2 /var/www/imscp/gui/public/tools/ftp/index.php(43): net2ftp('sendHttpHeaders') #3 {main} thrown in /var/www/imscp/gui/public/tools/ftp/includes/html.inc.php on line 130


    We will fix it.


    See also: http://php.net/manual/fr/function.ereg.php

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • A fix has been added in the net2ftp 0.1.1 branch. see https://github.com/i-MSCP/net2…281804d3ea34297da56dbe093


    You can update your net2ftp installation by running:


    Shell-Script
    1. # perl /var/www/imscp/engine/setup/imscp-reconfigure -dnv


    Thank you for your report.


    Thread closed.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206