Author Topic: Update to 0.8 causes login problems  (Read 4818 times)

Offline bobsthename

  • Newbie
  • *
  • Posts: 2
Update to 0.8 causes login problems
« on: August 09, 2012, 10:46:54 PM »
Hello,
After upgrading from the last roundcube version to the latest 0.8 i've found that some users (not all) are getting an error when they login:

SERVICE CURRENTLY NOT AVAILABLE!

Error No. [501]

In roundcube logs I am seeing this error:

PHP Error: Error loading template for mail in /var/www/html/roundcubemail-0.8.0/program/include/rcube_template.php on line 431 (GET /roundcube/?_task=mail)

How can I fix this?

Thanks

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365

Offline bobsthename

  • Newbie
  • *
  • Posts: 2
Re: Update to 0.8 causes login problems
« Reply #2 on: August 10, 2012, 02:19:56 AM »
I just went into my da_roundcube database via phpmyadmin and selected the users table.
Then I went through and deleted all the info in the preferences column for each user which fixed this issue.
Thanks a lot for your help :)

Offline alessice

  • Newbie
  • *
  • Posts: 3
Re: Update to 0.8 causes login problems
« Reply #3 on: August 21, 2012, 03:03:35 AM »
Hi,

after an upgrade from 07.3. to 0.8.1 I have the same problem:

Code: [Select]
(with debug=4)
PHP Error in /var/www/rcubewebmail/program/include/rcube_template.php (431): Error loading template for mail
SERVICE CURRENTLY NOT AVAILABLE!
Error loading template for mail

(with debug=1)
SERVICE CURRENTLY NOT AVAILABLE!
Error No. [501]

In MySQL user's preference accounts have something like this (note the skin setting, almost all users with the problem have the same skin setting):

Quote
a:3:{s:16:"message_sort_col";s:4:"date";s:18:"message_sort_order";s:4:"DESC";s:4:"skin";N;}

The only way to resolve the issue is a query like this:

Quote
UPDATE `roundcubemail`.`users` SET `preferences` = NULL WHERE `users`.`user_id` =105;
But I cannot empty the preferences for all of my users.

How can solve this issue?

I would like to set for all users the "larry" skin, now some users are using the "litecube" skin.

Thanks

Offline mdalacu

  • Newbie
  • *
  • Posts: 1
Re: Update to 0.8 causes login problems
« Reply #4 on: August 31, 2012, 04:28:51 AM »
My problem was that none of my users could login, the login form didn't appear, only the error message stated above.
After i analized the source and found that  in main.inc.php i had 2 variables named "skin_path" and "skin" with the same values "/skins/default/" but the "skin_path" was commented out.
My solution was to comment "skin" variable and uncomment "skin_path".

Offline tam

  • Jr. Member
  • **
  • Posts: 13
Re: Update to 0.8 causes login problems
« Reply #5 on: September 06, 2012, 06:32:11 AM »
My solution was to comment "skin" variable and uncomment "skin_path".

Thanks, helped a lot.