Author Topic: Roundcube DB , PHP fatal error !  (Read 3147 times)

Offline Peutre

  • Newbie
  • *
  • Posts: 2
Roundcube DB , PHP fatal error !
« on: October 19, 2007, 04:02:20 AM »
Heya,

My roundcube worked perfectly and suddenly when i go to the webmail page, a write page appear :(

Here's a the error :

Quote
[19-Oct-2007 09:49:34 +0200] DB Error: DB Error: unknown error Query: SELECT vars, ip, UNIX_TIMESTAMP(changed) AS changed FROM session WHERE sess_id='0f535d64bd61af91421671028df18d00' [nativecode=145 ** Table './roundcube/session' is marked as crashed and should be repaired] in /var/www/webmail/program/include/rcube_db.inc on line 505
[19-Oct-2007 09:49:34] PHP Fatal error: Call to a member function getMessage() on a non-object in /var/www/webmail/program/include/rcube_db.inc on line 366

I would like to resolve this problem, nobody get an idea of what i can do ?

Many thanks,

Regards,

Peutre

Offline hcl

  • Jr. Member
  • **
  • Posts: 14
Re: Roundcube DB , PHP fatal error !
« Reply #1 on: October 19, 2007, 04:37:19 AM »
Hi try on mysql admin console:

DELETE FROM `session` WHERE CONVERT(`session`.`sess_id` USING utf8) = '0f535d64bd61af91421671028df18d00' LIMIT 1;
I'm use RoundCube with:
Linux 2.6.18-8.el5 (Centos 5)
QMAIL 1.03
MySQL 14.12 Distrib 5.0.22
Courier-IMAP-4.0.2
Apache/2.2.3
Clamav 0.91.2 with SIMCAN 1.3.1

Offline Peutre

  • Newbie
  • *
  • Posts: 2
Re: Roundcube DB , PHP fatal error !
« Reply #2 on: October 29, 2007, 10:15:46 AM »
Thanks a lot, it worked perfectly :)