Re: [SM-USERS] Unknown User Or Bad Password

2009-11-23 Thread Gourley, Gale
Tomas,
Can you point me in the direction of changing from CGI to ISAPI?  I have
been searching and can't seem to find anything.  And I looked thru my php
folder and figured there should be a file with isapi in the name someplace
and can't find anything there.

I have run the tests and they all seem fine.  Do you want me to send the
results for the test you have below for the core, mbstring and session
settings?
 

-Original Message-
From: Tomas Kuliavas [mailto:to...@users.sourceforge.net] 
Sent: Saturday, November 21, 2009 11:36 PM
To: squirrelmail-users@lists.sourceforge.net
Subject: Re: [SM-USERS] Unknown User Or Bad Password



Gourley, Gale wrote:
> 
> I have installed Squirrelmail 1.4.19 and now I am getting the error, 
> you must be logged in to access this page.  I have run the 
> configtest.php and it shows everything is fine.  I did the test.php 
> like you have below and it came back with the "bool(true)".  
> Everything I have searched for on this error indicates I need to have 
> cookies enabled.  I have IE 7, Firefox and Google Chrome, all have 
> cookies enabled and all are getting this same error.
> Any other suggestions I can try?
> 

You haven't said anything about changing PHP setup. IIS 5.0 has some quirks
in CGI mode. It delays session information saving and SquirrelMail
src/webmail.php does not get information that must be saved in
src/redirect.php.

Which page says that you should be logged?

Could you test your setup (http://www.squirrelmail.org/wiki/TestPHPSettings)
and show local core, mbstring and session settings for SquirrelMail?

"You must be logged" issue can be triggered by corrupted cookies or session
information. If you suspect that it is cookies, you should try installing
cookie_warning plugin (http://www.squirrelmail.org/plugin_view.php?id=235).

--
Tomas
--
View this message in context:
http://old.nabble.com/Unknown-User-Or-Bad-Password-tp26457901p26463327.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options):
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] Unknown User Or Bad Password

2009-11-23 Thread Tomas Kuliavas


Gourley, Gale wrote:
> 
> Tomas,
> Can you point me in the direction of changing from CGI to ISAPI?  I have
> been searching and can't seem to find anything.  And I looked thru my php
> folder and figured there should be a file with isapi in the name someplace
> and can't find anything there.
> 

If you install PHP with MSI installer, PHP is listed in "Add/Remove
Programs" control panel and it has "Change" button.

If you don't want to mess with your PHP setup, there is a shorter way.
Replace SquirrelMail src/redirect.php script with attached 
http://old.nabble.com/file/p26481904/redirect.php redirect.php  file. This
file replaces HTTP redirection with HTML meta refresh. Meta refresh works in
IIS 5.0 + PHP CGI setups.

If you can't download that file, open src/redirect.php in WordPad, find line
with 

header("Location: $redirect_url");

and replace that line with

?>


Redirecting to  "webmail 

 
> I have run the tests and they all seem fine.  Do you want me to send the
> results for the test you have below for the core, mbstring and session
> settings?
> 

In your setup primary suspects for "you must be logged" are IIS 5.0+PHP CGI
and not writable session directory. You already ruled out session directory
issues with session test script. You should rule out IIS 5.0 before
suspecting fubared PHP session configuration. If IIS 5.0+ PHP ISAPI setup or
meta refresh does not fix your issue, then show your PHP configuration.

-- 
Tomas
-- 
View this message in context: 
http://old.nabble.com/Unknown-User-Or-Bad-Password-tp26457901p26481904.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users