Error opening IMP

Ethy H. Brito ethy@inexo.com.br
Wed, 7 Nov 2001 18:42:41 -0200 (BRST)


Hi All.

I've just installed IMP. These are the erros I got just after login:

---------------------------------8<------------------------

Warning: Access denied for user: 'HORDEUSER@localhost' (Using password: YES) in
/var/www/htdocs/horde/imp/lib/db.mysql on line 153

Warning: Cannot add header information - headers already sent by (output started at
/var/www/htdocs/horde/imp/lib/db.mysql:153) in /var/www/htdocs/horde/lib/horde.lib on line
1175

Warning: Cannot add header information - headers already sent by (output started at
/var/www/htdocs/horde/imp/lib/db.mysql:153) in /var/www/phplib/session.inc on line 448

Warning: Cannot add header information - headers already sent by (output started at
/var/www/htdocs/horde/imp/lib/db.mysql:153) in /var/www/phplib/session.inc on line 449

Warning: Cannot add header information - headers already sent by (output started at
/var/www/htdocs/horde/imp/lib/db.mysql:153) in /var/www/phplib/session.inc on line 450

Warning: Cannot add header information - headers already sent by (output started at
/var/www/htdocs/horde/imp/lib/db.mysql:153) in /var/www/htdocs/horde/lib/horde.lib on line 526

Warning: Cannot add header information - headers already sent by (output started at
/var/www/htdocs/horde/imp/lib/db.mysql:153) in
/var/www/htdocs/horde/imp/templates/doctype.inc on line 8

      Warning: Access denied for user: 'HORDEUSER@localhost' (Using password: YES) in
                /var/www/htdocs/horde/imp/lib/db.mysql on line 49
----------------------------------------8<------------------------------------

Bellow all these warnings the IMP page appears showing the user messages.

I had to modify $_PHPLIB['libdir'] = ' ' on prepend.php3 to
$_PHPLIB['libdir'] = '' to get these msgs. If I let it to be
a space I get:

Fatal error: Failed opening required ' db_mysql.inc' (include_path='.:/var/www/phplib') in
/var/www/phplib/prepend.php3 on line 14

Who to get rid of those annoying warnings?
I can see all horde tables logging into  mysql as the horde user.

$ mysql -p -u HORDEUSER
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 55 to server version:

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use horde;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show tables;
+-----------------+
| Tables_in_horde |
+-----------------+
| active_sessions |
| imp_addr        |
| imp_pref        |
+-----------------+
3 rows in set (0.01 sec)

FYI:

PHP is 4.0.6
IMP id 2.2.6
Horde is 1.2.6

Regards

Ethy H. Brito         /"\
InterNexo Ltda.       \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3941-6860     X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil   / \