PDA

View Full Version : config.inc.php


baboonish
6th October 2006, 14:30
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?

baboonish
6th October 2006, 19:18
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?

falko
7th October 2006, 13:23
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

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

baboonish
7th October 2006, 15:21
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.

baboonish
7th October 2006, 18:24
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:

UPDATE user SET password=OLD_PASSWORD('mypass') WHERE user = 'ispconfiguser';

This then solved the issue.

falko
8th October 2006, 15:29
Maybe this is also interesting for you: http://www.howtoforge.com/forums/showthread.php?t=7313