Log in error: Username or Password empty

Discussion in 'ISPConfig 3 Priority Support' started by Mister, Jun 12, 2014.

  1. Mister

    Mister Member

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess you accidently overwrte the System php with your custom php version. This can happen when one of the \ in the configure command is missing. To fix that, check the folder /usr/local/bin/, if there is a file named php or php-cgi inside, then rename that file to e.g. php_bak or php-cgi_bak and restart apache.
     
  3. Mister

    Mister Member

    Hi Till

    I should have added I am running Nginx without Apache

    Thanks
    Mister
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Then the php-fpm seehs to be overwritten. Please serach for a php-fpm binary in /usr/local/bin/ and rename that.
     
  5. Mister

    Mister Member

    Sorry about the late reply, got caught up in the football fever

    There is no php-fpm binary in /usr/local/bin/

    What have I done wrong?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    which php

    and

    which php-cgi
     
  7. Mister

    Mister Member

    Sorry till but you have to excuse my lack of knowledge with the technicalities, but what do you mean by?

     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Login to your server as root user on the shell, then execute the following commands:

    which php
    which php-cgi

    then copy the output (result) that you get from these commands and post it here in the forum.
     
  9. Mister

    Mister Member

    Output


    # which php
    /usr/local/bin/php

    # which php-cgi
    /usr/local/bin/php-cgi
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run:

    mv /usr/local/bin/php /usr/local/bin/php.bak
    mv /usr/local/bin/php-cgi /usr/local/bin/php-cgi.bak

    then restart apache and try to login to ispconfig again.
     
  11. Mister

    Mister Member

    Hi till, I am running Nginx without Apache
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, then restart nginx and php-fpm.
     
  13. Mister

    Mister Member

    Tried that till but with no luck..still the same
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    Please put a info.php file with the content:

    <?php
    phpinfo();
    ?>

    in the folder /usr/local/ispconfig/interface/web/

    then open the url to it with your browser (https://yourdomain.tld:8080/info.php) and check which php binary is used.
     
  15. Mister

    Mister Member

    PHP Version 5.4.29-1~dotdeb.1
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    We will check the scripts deom ispconfig then, if you did no modifications.
     
  17. Mister

    Mister Member

    I did no modifications, not intentional anyway
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    sorry, my post above should have gone into another thread.

    The php version is ok, seems to be the system php. Please check in the phpinfo output if the mysql extension is enabled in this php.
     
  19. Mister

    Mister Member

    Enabled...output below of mysql and mysqli, if it helps

    Code:
    mysql
    
    MySQL Support	enabled
    Active Persistent Links	0
    Active Links	0
    Client API version	5.6.19
    MYSQL_MODULE_TYPE	external
    MYSQL_SOCKET	/var/run/mysqld/mysqld.sock
    MYSQL_INCLUDE	-I/usr/include/mysql
    MYSQL_LIBS	-L/usr/lib/x86_64-linux-gnu -lmysqlclient
    
    Directive	Local Value	Master Value
    mysql.allow_local_infile	On	On
    mysql.allow_persistent	On	On
    mysql.connect_timeout	60	60
    mysql.default_host	no value	no value
    mysql.default_password	no value	no value
    mysql.default_port	no value	no value
    mysql.default_socket	/var/run/mysqld/mysqld.sock	/var/run/mysqld/mysqld.sock
    mysql.default_user	no value	no value
    mysql.max_links	Unlimited	Unlimited
    mysql.max_persistent	Unlimited	Unlimited
    mysql.trace_mode	Off	Off
    
    mysqli
    
    MysqlI Support	enabled
    Client API library version	5.6.19
    Active Persistent Links	0
    Inactive Persistent Links	0
    Active Links	0
    Client API header version	5.5.37
    MYSQLI_SOCKET	/var/run/mysqld/mysqld.sock
    
    Directive	Local Value	Master Value
    mysqli.allow_local_infile	On	On
    mysqli.allow_persistent	On	On
    mysqli.default_host	no value	no value
    mysqli.default_port	3306	3306
    mysqli.default_pw	no value	no value
    mysqli.default_socket	/var/run/mysqld/mysqld.sock	/var/run/mysqld/mysqld.sock
    mysqli.default_user	no value	no value
    mysqli.max_links	Unlimited	Unlimited
    mysqli.max_persistent	Unlimited	Unlimited
    mysqli.reconnect	Off	Off
     
  20. Mister

    Mister Member

    Hi till...I could do with some help with my login problems
     

Share This Page