Roundcube Community Forum

Release Support => Pending Issues => Topic started by: bobsthename on August 09, 2012, 10:46:54 PM

Title: Update to 0.8 causes login problems
Post by: bobsthename 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
Title: Re: Update to 0.8 causes login problems
Post by: alec on August 10, 2012, 02:03:09 AM
http://trac.roundcube.net/ticket/1488591
Title: Re: Update to 0.8 causes login problems
Post by: bobsthename 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 :)
Title: Re: Update to 0.8 causes login problems
Post by: alessice on August 21, 2012, 03:03:35 AM
Hi,

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


(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):

Quotea: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:

QuoteUPDATE `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
Title: Re: Update to 0.8 causes login problems
Post by: mdalacu 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".
Title: Re: Update to 0.8 causes login problems
Post by: tam on September 06, 2012, 06:32:11 AM
Quote from: mdalacu on August 31, 2012, 04:28:51 AM
My solution was to comment "skin" variable and uncomment "skin_path".

Thanks, helped a lot.