[imp] Composing Message

Taidus Toht taidus@bns.ee
Wed, 13 Jun 2001 15:09:15 +0200


ok ! my mistake! it's first time for me to deal with mysql. I didnt have any
tables made. Now i used speacial script for it! and now all works fine:) now
i have two more problems :

When i look into my inbox and open message then i see message but i also
see: Warning: Undefined property: resume in
/var/www/html/horde/imp/templates/message/navbar.inc on line 17

Second problem is i cant send any mail from IMP. I can send mail directly
from command prompt but not from IMP !

Thnx

-----Original Message-----
From: Brent J. Nordquist [mailto:bjn@horde.org]
Sent: 13. juuni 2001. A. 13:24
To: 'imp@lists.horde.org'
Subject: RE: [imp] Composing Message


On Wed, 13 Jun 2001, Taidus Toht <taidus@bns.ee> wrote:

> What for is there port?

It's fine for that to be blank (= '') as you have it.

> /* To use an SQL database, uncomment and edit the following: */
> class HordeDB extends DB_Sql {
>   var $Host = 'localhost';
>   var $Database = 'horde';
>   var $User = 'root';
>   var $Password = '*******';
>   var $Port = '';
>
> and i can connect to the database from command line
>
> [root@taidus www]# mysql -hlocalhost -uroot -p****** horde

OK, good; although just a note for security:  you should probably add a
user other than root for Horde, especially if you're using MySQL for
anything else.  The docs and examples use "hordemgr" for this user.

My next guess is that perhaps the database tables aren't set up properly.
Run the command line again and try these:

> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 36 to server version: 3.23.36
>
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer

mysql> show tables;
mysql> insert into active_sessions ('test', 'test', 'test', 'test');
mysql> select * from active_sessions where sid='test';
mysql> delete from active_sessions where sid='test';

If those don't work, then horde/scripts/database/mysql_create.sql will be
useful (but be sure to change the login/password to the one you're using).

-- 
Brent J. Nordquist <bjn@horde.org> N0BJN
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942


-- 
IMP mailing list: http://horde.org/imp/
Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org