Page 1 of 1

I got a little problem with SM mod

Posted: 2004-07-15 08:55
by ansu2723
I got a little problem with SM mod...

I have latest HMailserver, latest PHP, latest perl, SM mod installed on my Windows 2000 Server.
I can log in on the first screen, but when i get in only the right frame is visible. The left frame is white.

It looks like the password only works once. As you can see from the hMailserver log.

Do you have any suggestions?

"IMAPD" 164876 "2004-07-14 21:18:04.140" "127.0.0.1" "RECEIVED: A001 LOGIN andreas@villhadet.nu" "mypassword"">"IMAPD" 164876 "2004-07-14 21:18:04.218" "127.0.0.1" "SENT: A001 OK LOGIN completed[nl]"
"IMAPD" 164876 "2004-07-14 21:18:04.234" "127.0.0.1" "RECEIVED: A002 CAPABILITY"
"IMAPD" 164876 "2004-07-14 21:18:04.250" "127.0.0.1" "SENT: * CAPABILITY IMAP4 IMAP4rev1[nl]A002 OK CAPABILITY completed[nl]"
"IMAPD" 164876 "2004-07-14 21:18:04.265" "127.0.0.1" "RECEIVED: . LIST "INBOX" """
"IMAPD" 164876 "2004-07-14 21:18:04.296" "127.0.0.1" "SENT: * LIST (/NoSelect) "." ""[nl]"
"IMAPD" 164876 "2004-07-14 21:18:04.312" "127.0.0.1" "SENT: . OK LIST completed[nl]"
"IMAPD" 164876 "2004-07-14 21:18:04.328" "127.0.0.1" "RECEIVED: A003 LOGOUT"
"IMAPD" 164876 "2004-07-14 21:18:04.343" "127.0.0.1" "SENT: * BYE Have a nice day[nl]A003 OK Logout completed[nl]"
"IMAPD" 160480 "2004-07-14 21:18:07.093" "127.0.0.1" "RECEIVED: A001 LOGIN "andreas@villhadet.nu" """
"IMAPD" 160480 "2004-07-14 21:18:07.125" "127.0.0.1" "SENT: A001 BAD Password incorrect.[nl]"


Best regards
Andreas Sund
Sweden

Posted: 2004-07-16 03:28
by Stef Levolger
Maybe register_globals has to be on in order for SM to work? I am not sure, but that could be the thing, it's turned as off standard in latest PHP

Re: I got a little problem with SM mod

Posted: 2004-07-16 16:25
by dotph
i don't believe that SM is the reason in your problem, what i think is there are many current connection in your server. did you check/or read the white page you encounter. my suggestion is check your IIS settings.

ansu2723 wrote:I got a little problem with SM mod...

I have latest HMailserver, latest PHP, latest perl, SM mod installed on my Windows 2000 Server.
I can log in on the first screen, but when i get in only the right frame is visible. The left frame is white.

It looks like the password only works once. As you can see from the hMailserver log.

Do you have any suggestions?

"IMAPD" 164876 "2004-07-14 21:18:04.140" "127.0.0.1" "RECEIVED: A001 LOGIN andreas@villhadet.nu" "mypassword"">"IMAPD" 164876 "2004-07-14 21:18:04.218" "127.0.0.1" "SENT: A001 OK LOGIN completed[nl]"
"IMAPD" 164876 "2004-07-14 21:18:04.234" "127.0.0.1" "RECEIVED: A002 CAPABILITY"
"IMAPD" 164876 "2004-07-14 21:18:04.250" "127.0.0.1" "SENT: * CAPABILITY IMAP4 IMAP4rev1[nl]A002 OK CAPABILITY completed[nl]"
"IMAPD" 164876 "2004-07-14 21:18:04.265" "127.0.0.1" "RECEIVED: . LIST "INBOX" """
"IMAPD" 164876 "2004-07-14 21:18:04.296" "127.0.0.1" "SENT: * LIST (/NoSelect) "." ""[nl]"
"IMAPD" 164876 "2004-07-14 21:18:04.312" "127.0.0.1" "SENT: . OK LIST completed[nl]"
"IMAPD" 164876 "2004-07-14 21:18:04.328" "127.0.0.1" "RECEIVED: A003 LOGOUT"
"IMAPD" 164876 "2004-07-14 21:18:04.343" "127.0.0.1" "SENT: * BYE Have a nice day[nl]A003 OK Logout completed[nl]"
"IMAPD" 160480 "2004-07-14 21:18:07.093" "127.0.0.1" "RECEIVED: A001 LOGIN "andreas@villhadet.nu" """
"IMAPD" 160480 "2004-07-14 21:18:07.125" "127.0.0.1" "SENT: A001 BAD Password incorrect.[nl]"


Best regards
Andreas Sund
Sweden

Posted: 2004-07-16 17:34
by tm
If you are using IIS, did you edit the redirect.php in the SM src directory?

Posted: 2004-07-16 20:27
by ansu2723
What should I edit the redirect.php ?

Posted: 2004-07-16 20:50
by tm
There are some good instructions, including the redirect.php change at:
http://www.netdummy.net/squirrelmail.html

Posted: 2004-07-16 21:34
by ansu2723
Thank you. The promlem was in the redirect.php.

I changed
header("Location: $redirect_url");
to
echo "<html><head><META HTTP-EQUIV=\"Refresh\" CONTENT=\"0;
URL=$redirect_url\"></head><body><a href=$redirect_url>Enter</a></body></html>";

Now it works. Thank yoy.

Posted: 2004-07-16 22:15
by tm
Glad it worked :-D

I had exactly the same problem.

Posted: 2004-07-17 11:08
by ansu2723
But there is still one problem :(

When I press folders i get the folder page but in the bottom of the page I get these errors:

Notice: Constant already defined in C:\Inetpub\wwwroot\webhotellet\mail\plugins\folder_sizes\setup.php on line 84
Folder Sizes
Mappar Count Oläst Storlek
INBOX 1 0 0.6 k
Notice: Undefined offset: 0 in C:\Inetpub\wwwroot\webhotellet\mail\plugins\folder_sizes\setup.php on line 307

Notice: Undefined offset: 0 in C:\Inetpub\wwwroot\webhotellet\mail\plugins\folder_sizes\setup.php on line 308

Notice: Undefined offset: 0 in C:\Inetpub\wwwroot\webhotellet\mail\plugins\folder_sizes\setup.php on line 309

Notice: Undefined offset: 0 in C:\Inetpub\wwwroot\webhotellet\mail\plugins\folder_sizes\setup.php on line 310

Drafts 0 0 0 k
Sent 2 0 1.2 k
Trash 0 0 0 k
Test 0 0 0 k
4 Mappar 2 0 1.2 k
5 Mappar 3 0 1.9 k

Notice: Undefined offset: -1 in C:\Inetpub\wwwroot\webhotellet\mail\plugins\folder_sizes\setup.php on line 138

Notice: Undefined offset: -1 in C:\Inetpub\wwwroot\webhotellet\mail\plugins\folder_sizes\setup.php on line 139

Notice: Undefined offset: -1 in C:\Inetpub\wwwroot\webhotellet\mail\plugins\folder_sizes\setup.php on line 140

Notice: Undefined offset: -1 in C:\Inetpub\wwwroot\webhotellet\mail\plugins\folder_sizes\setup.php on line 141

Posted: 2004-07-17 18:21
by polarunion
if you'd follow the directions under http://www.concept4.ca/diy/diy.html everything will work out perfectly for you..

try turning off error reporting in your php.ini. you shouldn't be seeing those errors. do that - you won't see the messages and it'll still work.

Posted: 2004-07-17 18:37
by martin
You should turn off notices.
Replace
error_reporting = E_ALL
in your php.ini with
error_reporting = E_ALL & ~E_NOTICE

This will show all errors except for those notices..

Posted: 2004-12-24 20:05
by Zeus
tm wrote:Glad it worked :-D

I had exactly the same problem.
Thanks for posting that info/link. I had been fighting with my install on this issue to.

Zeus