SquirrelMail:INBOX(23) on left panel, but no mails displayed
SquirrelMail:INBOX(23) on left panel, but no mails displayed
Windows 2003 Server
hMailServer 4.1-B136
MS-SQL Server 2003 Standard
SquirrelMail 1.4.5
PHP 5.0.5
A wierd one... the folder list shows that there are new messages, but the main panel just contains the top section:
Current Folder: INBOX Sign Out
Compose Addresses Folders Options Search Help Calendar
clues, anyone?
hMailServer 4.1-B136
MS-SQL Server 2003 Standard
SquirrelMail 1.4.5
PHP 5.0.5
A wierd one... the folder list shows that there are new messages, but the main panel just contains the top section:
Current Folder: INBOX Sign Out
Compose Addresses Folders Options Search Help Calendar
clues, anyone?
fixing the no mails displayed in inbox problem
I had the same problem but only when I sent myself a message for some reason. I am not sure if you are having the same problem I was having, but anyway, if you enable error messages in the php.ini like martin suggested you will see an error like this:
Fatal error: Only variables can be passed by reference in /functions/imap_messages.php on line 480
I changed the parsePriority function to fix this:
split this line:
$value = strtolower(array_shift(split('/\w/',trim($value))));
into:
$y = split('/\w/',trim($value));
$value = strtolower(array_shift($y));
(NOTE: this same functionality exists in a function another file:
class\mime\Rfc822Header.class.php on line 509 - change it there as well)
As I said, I am not sure if you are having the same problem, but try that and see if it works.
Fatal error: Only variables can be passed by reference in /functions/imap_messages.php on line 480
I changed the parsePriority function to fix this:
split this line:
$value = strtolower(array_shift(split('/\w/',trim($value))));
into:
$y = split('/\w/',trim($value));
$value = strtolower(array_shift($y));
(NOTE: this same functionality exists in a function another file:
class\mime\Rfc822Header.class.php on line 509 - change it there as well)
As I said, I am not sure if you are having the same problem, but try that and see if it works.
Hi folks
Sorry for the delay in reply.
Martin: there were no text or buttons or anything, the screen was blank after the initial list of links. I haven't checked specific PHP vs SqMail vs hMailServer dependencies, but recall that this was the config recommended somewhere. Turning on notices (once I'd figured out HOW
) revealed the same error that matty reported.
wvvamike: keep reading!
matty: thanks, dude! Applying the workaround as you suggested cured all.
Thanks, gang. I'm happy and so are my users.
And a great big public thanks to the hMailServer and SquirrelMail developers - what fantastic products!
Sorry for the delay in reply.
Martin: there were no text or buttons or anything, the screen was blank after the initial list of links. I haven't checked specific PHP vs SqMail vs hMailServer dependencies, but recall that this was the config recommended somewhere. Turning on notices (once I'd figured out HOW

wvvamike: keep reading!
matty: thanks, dude! Applying the workaround as you suggested cured all.
Thanks, gang. I'm happy and so are my users.
And a great big public thanks to the hMailServer and SquirrelMail developers - what fantastic products!
me too! I had the same problems when sending to myself... i just hadnt thought it was important enough to raise an issue.
Woof!
On a sidenote, i spent 6 hours today trying to save the life of a dog that resemples a lot the one in your avatar. He is named Nyktas ( night) and he was poisoned earlier today. He is my best friend's favorite pet for the 5 years of his life and I was really ungry at what happened.. Luckily we were able to save him and it seems he wont suffer any serious sdeeffects
If i get my hands on whomever poisoned him (and 3 other dogs .. 2 of which diddnt make it...) ............
Woof!
On a sidenote, i spent 6 hours today trying to save the life of a dog that resemples a lot the one in your avatar. He is named Nyktas ( night) and he was poisoned earlier today. He is my best friend's favorite pet for the 5 years of his life and I was really ungry at what happened.. Luckily we were able to save him and it seems he wont suffer any serious sdeeffects

If i get my hands on whomever poisoned him (and 3 other dogs .. 2 of which diddnt make it...) ............
there are some sick people in this world... Who could poison a dog? I like most dogs I meet better than most humans that i meet! Glad you saved Nyktas. I don't know what I would do if someone poisoned my dog but my guess is the person that did it would certainly regret it (if I found out who it was)!