Paul Lesniewski wrote: > On Fri, May 15, 2009 at 10:56 AM, Chris Hoogendyk > <hoogendyk@xxxxxxxxxxxxx> wrote: > >> I have 3 very similar servers with different domains running squirrelmail. >> >> I updated all three from 1.4.10a to 1.4.18 this morning. >> >> 2 of them went perfectly smoothly. I untarred the release into the ssl >> directory. I copied the config.php file from the older release to the >> newer release. I connected from FireFox to make sure the existing >> install was working. Then I removed a symlink "mail" that pointed to >> squirrelmail-1.4.10a and recreated it pointing to squirrelmail-1.4.18. >> Then I connected from FireFox to make sure the new install was working. >> >> So, the configured smdata and smattach are unchanged. The same Apache >> and php are running and the config file still points to the same place >> which still has ownership and write access for user http. >> >> On the third server, following exactly the same procedures, when I tried >> to connect to the new 1.4.18, it took me from the login page to an error >> page saying "you must be logged in to access this page". Since I have >> many users depending on this, I immediately reverted the symlink back to >> 1.4.10a. My attempt to connect then worked. >> >> I tried going to my FireFox preferences and deleting the squirrelmail >> cookies from all three domains. Then I tried going to 1.4.18 on the 3rd >> domain. Same error. >> >> There are two differences that I can think of for the servers. The first >> 2 are back on php 4, because they have some legacy code that needs to be >> fixed in some other applications. The 3rd server, which gives me this >> error, is on php 5. >> > > http://news.gmane.org/find-root.php?message_id=%3c267a7b0ff79cca0e638839aeda61f387.squirrel%40intraweb.gaia.de%3e > > Please state the exact PHP version and try the suggested debug actions > in that thread to help us understand what is going on. Sorry, I should have just included the configtest.php output originally. I have put the output below for the server that has the problems and for one of the servers that works. Also, as per the thread you mentioned above, I disabled line 82 in src/redirect.php (enclosed the whole if statement in comment from 81 to 83) and everything worked fine. I re-enabled line 82, and again got the original error I was asking about. When login screen displays, SQMSESSID = 874b11ec73130b8dd16f495cddb76758. With exit just before line 82, SQMSESSID = 874b11ec73130b8dd16f495cddb76758. Switched exit to just after line 82, put my cursor in the url field at the top of firefox and hit return to re-enter src/redirect.php, got the same error, and SQMSESSID = 874b11ec73130b8dd16f495cddb76758. Those are all identical. So, is that the information you were looking for? I didn't see any response yet from Andreas Vogt on that thread. Let me know if there is something else you would like me to do. -- --------------- Chris Hoogendyk - O__ ---- Systems Administrator c/ /'_ --- Biology & Geology Departments (*) \(*) -- 140 Morrill Science Center ~~~~~~~~~~ - University of Massachusetts, Amherst <hoogendyk@xxxxxxxxxxxxx> --------------- Erdös 4 -------------------------------------------------------------- Following is for the server that has the problem -------------------------------------------------------------- SquirrelMail version: 1.4.18 Config file version: 1.4.0 Config file last modified: 27 July 2005 17:08:01 Checking PHP configuration... PHP version 5.0.2 OK. display_errors: 1 error_reporting: 2039 variables_order OK: EGPCS. PHP extensions OK. Dynamic loading is enabled. ERROR: You have enabled any one of magic_quotes_runtime, magic_quotes_gpc or magic_quotes_sybase in your PHP configuration. We recommend all those settings to be off. SquirrelMail may work with them on, but when experiencing stray backslashes in your mail or other strange behaviour, it may be advisable to turn them off. Checking paths... Data dir OK. Attachment dir OK. Plugins are not enabled in config. Themes OK. Default language OK. Base URL detected as: https://myserver/mail/src (location base autodetected) [and then munged] Checking outgoing mail service.... sendmail OK Checking IMAP service.... IMAP server ready (* OK [CAPABILITY IMAP4REV1 LITERAL+ SASL-IR LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN] localhost IMAP4rev1 2004.357 at Fri, 15 May 2009 14:56:44 -0400 (EDT)) Capabilities: * CAPABILITY IMAP4REV1 LITERAL+ IDLE NAMESPACE MAILBOX-REFERRALS BINARY UNSELECT SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND SASL-IR LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN Checking internationalization (i18n) settings... gettext - Gettext functions are unavailable. SquirrelMail will use slower internal gettext functions. mbstring - Mbstring functions are unavailable. Japanese translation won't work. recode - Recode functions are unavailable. iconv - Iconv functions are available. timezone - Webmail users can change their time zone settings. Checking database functions... not using database functionality. Congratulations, your SquirrelMail setup looks fine to me! -------------------------------------------------------------- Following is for the server that works -------------------------------------------------------------- SquirrelMail version: 1.4.18 Config file version: 1.4.0 Config file last modified: 26 October 2006 20:39:26 Checking PHP configuration... PHP version 4.4.7 OK. display_errors: error_reporting: 2039 variables_order OK: GPCS. gpc_order OK: GPC. PHP extensions OK. Dynamic loading is enabled. Checking paths... Data dir OK. Attachment dir OK. Plugins are not enabled in config. Themes OK. Default language OK. Base URL detected as: https://myserver/mail/src (location base autodetected) [and then munged] Checking outgoing mail service.... sendmail OK Checking IMAP service.... IMAP server ready (* OK [CAPABILITY IMAP4REV1 LITERAL+ SASL-IR LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN] localhost IMAP4rev1 2004.357 at Fri, 15 May 2009 15:03:56 -0400 (EDT)) Capabilities: * CAPABILITY IMAP4REV1 LITERAL+ IDLE NAMESPACE MAILBOX-REFERRALS BINARY UNSELECT SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND SASL-IR LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN Checking internationalization (i18n) settings... gettext - Gettext functions are unavailable. SquirrelMail will use slower internal gettext functions. mbstring - Mbstring functions are available. recode - Recode functions are unavailable. iconv - Iconv functions are unavailable. timezone - Webmail users can change their time zone settings. Checking database functions... not using database functionality. Congratulations, your SquirrelMail setup looks fine to me! ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users