Error No. 501 Roundcube
Plans & Pricing Partners Support Resources Preview Forums Forums Quick Links Search Forums New Posts Search titles only Posted by Member: Separate names with a comma. Newer Than: Search this thread only Search this forum only Display results as threads More... Useful Searches Recent Posts Resources Resources Quick Links Search Resources Most Active Authors Latest Reviews Feature Requests Defects Menu Log in Sign up The Community Forums Interact with an entire community of cPanel & WHM users! cPanel Forums > cPanel & WHM® (for Linux® Servers) > General Discussion > This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More. roundcube Error No. [501] Discussion in 'General Discussion' started by sehh, Nov 25, 2011. sehh Well-Known Member Joined: Feb 11, 2006 Messages: 579 Likes Received: 4 Trophy Points: 18 Location: Europe I've recently recompiled Apache and PHP, which caused roundcube to stop working. When I try to access roundcube, I get the following error: SERVICE CURRENTLY NOT AVAILABLE! Error No. [501] So I traced it down to a single line of code. Apparently, the 501 error means that roundcube can't load its template, and I can see that clearly under /var/cpanel/roundcube/log/errors: PHP Error: Error loading template for login in /usr/local/cpanel/base/3rdparty/roundcube/program/include/rcube_template.php on line 418 (GET /3rdparty/roundcube/index.php) I looked at the code in rcube_template.php and found out that it fails when calling the function file_get_contents($path) were $path is "skins/default/templates/login.html" The file of course is there and I can even access it localy, even calling the roundcube index.php via the shell shows the login page correctly. So.... 1) What broke when I recompiled the latest versions of Apache+PHP? 2) Since I am already logged into cPanel and typed my email password and I'm in the webmail selection page, why do I get redirected to the login page of roundcube? Previously it recognized that I am already logged in and I went directly to the inbo
Sign in Pricing Blog Support Search GitHub This repository Watch 193 Star 1,884 Fork 757 roundcube/roundcubemail Code Issues 185 Pull requests 30 Projects 0 Wiki Pulse Graphs New issue Roundcube Error 501 Error loading template ... #3987 Closed rcubetrac opened this Issue Nov 3, 2012 · 5 comments Projects None yet Labels C: Plugin API enhancement wontfix Milestone later Assignees No one assigned 1 participant rcubetrac commented Nov 3, 2012 Reported by rosali on 3 Nov 2012 07:43 UTC as Trac ticket #1488787 rcube_template.php around line 427 (RC 0.8.2): Please add a hook before throwing https://forums.cpanel.net/threads/roundcube-error-no-501.244992/ the error to give plugin programmers the chance to handle this exception themselves. Thanks! Migrated-From: http://trac.roundcube.net/ticket/1488787 rcubetrac commented Nov 3, 2012 Comment by @alecpl on 3 Nov 2012 19:15 UTC I don't like to add too many hooks and this case is not really something I'd like to handle with hook. rcubetrac commented Nov 3, 2012 Milestone changed by @alecpl on 3 Nov 2012 19:15 UTC 0.9-beta => https://github.com/roundcube/roundcubemail/issues/3987 later rcubetrac commented Nov 3, 2012 Comment by rosali on 3 Nov 2012 20:12 UTC OK, but what's your suggestion to handle things if a template for a skin is missing? May be the render_page hook should be moved up (before exception error is thrown)? If I can't hook I have to implement a filestat to check whether or not a plugin template is present. What's better? A side note: The reason I've raised this ticket is: Look at compose_newwindow plugin. It failes with an 501 Error when clicking 'compose' within task addressbook in case the database search query fails. With the suggested hook I would be able to handle this exception. rcubetrac commented Jul 6, 2014 Comment by @alecpl on 6 Jul 2014 10:08 UTC Write your code to prevent from such cases. Missing template is a critical error that should not happen and if happens there's not much need in handling it. rcubetrac commented Jul 6, 2014 Status changed by @alecpl on 6 Jul 2014 10:08 UTC new => closed rcubetrac closed this Jul 6, 2014 rcubetrac added enhancement C: Plugin API wontfix labels Mar 20, 2016 rcubetrac added this to the later milestone Mar 20, 2016 Sign up for
SERVICE CURRENTLY NOT AVAILABLE! webmail error 501 the problem existed only when logging in as a certain https://www.lowfidelity.at/blog/fix-roundcube-error-501-single-user user. for all other users the login seemed to work flawlessly. in the roundcube error log file a php error was logged: PHP Error: Error loading template http://forum.directadmin.com/showthread.php?t=44287 for mail in ... program/include/rcube_template.php on line 418 (GET /?_task=mail) I compared the involved user in the database table "users" with another user, whos account was definitly error no. working. the only difference i could spot, was a misconfiguration of the imap folders. the user didnt create the neccessary special folders Spam Inbox Sent Drafts Trash As I could not log into the users webmail account to perform this operation from the roundcube settings menu, I decided to remove him manually from error no. 501 the database: log into the roundcube mysql database; get the user's ID from the "users" table:select user_id from users where username = "the-address-youre-looking-for"; before you can delete the user from the users table, you'll have to delete all references to his user_id from the other tables, due to foreign keys in the users tabledelete from
released If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 17 of 17 Thread: Roundcube 0.8 released Thread Tools Show Printable Version Email this Page… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 08-07-2012,01:19 PM #1 ditto View Profile View Forum Posts Verified User Join Date Apr 2009 Posts 1,816 Roundcube 0.8 released Roundcube 0.8 was just released. Its already available in custombuild in files1, however it might take few more hours before it is synchronized to all custombuild servers. Edit: Here is the release announcement: http://sourceforge.net/news/?group_id=139281&id=308917 Last edited by ditto; 08-07-2012 at 01:24 PM. Reply With Quote 08-07-2012,01:47 PM #2 Arieh View Profile View Forum Posts Verified User Join Date May 2008 Location The Netherlands Posts 1,134 There's a new skin. Looks interesting. Hello folks, We're proud to finally announce the release of version 0.8 with the brand new skin, codename "Larry", becoming the new default UI for Roundcube. After two preview releases and a lot of fine-tuning, the new design by http://bueroflint.com has now grown up. But to all the nostalgics out there: don't worry! The old skin still remains part of the package and will be maintained for at least one more major release. Beside the new UI, this version also contains more bugfixes and mprovements (see ) as well as some code refactorings. Another major change since the last stable release is the updated license which is now GPL v3+ with exceptions for skin & plugins. Read more about that on http://roundcube.net/license After lots of testing and collecting your feedback, this version is considered stable and we recommend to upd