config.inc.php

Discussion in 'Installation/Configuration' started by baboonish, Oct 6, 2006.

  1. baboonish

    baboonish New Member

    Ok, I decided to try reinstalling ISPConfig 2.2.6 because of the problems I'd been experiencing.

    When I do the install it completes without errors, however when I try going to the control panel login page I get errors saying that ../lib/config.inc.php and ./login/lib/lang/.lng cannot be found because they do not exist.

    I'm using debian sarge 3.1

    Can you suggest anything to help?
     
  2. baboonish

    baboonish New Member

    So, I've resolved the above problem, now when I try to log in I get the following errors..

    Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 77

    Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 77

    Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php:77) in /home/admispconfig/ispconfig/web/login/login.php on line 60

    I'm using mysql5 on debian 3.1 and the server was installed using the perfect setup. mysql 5 is needed because some of the sites hosted on the box rely on it.

    Can anyone help?
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Please update your MySQL client package and the MySQL-devel package. You might also need to recompile ISPConfig's PHP.
     
  4. baboonish

    baboonish New Member

    Ok, I've got libmysqlclient15-dev and libmysqlclient15off both installed, I rebuilt ISPConfig and I get the same error when I try to log in.
     
  5. baboonish

    baboonish New Member

    Ok, got this solved thanks to the helpfulness of a friend.

    What I had to do was log into the mysql console and use the following code to fix the problem:
    Code:
    UPDATE user SET password=OLD_PASSWORD('mypass') WHERE user = 'ispconfiguser';
    
    This then solved the issue.
     
  6. falko

    falko Super Moderator Howtoforge Staff

Share This Page