problem squirrelmail, blank page

Started by vpasten, October 13, 2004, 01:55:00 PM

Previous topic - Next topic

vpasten

hi, ia have instelled toaster 3.46 with freebsd 5.1 (current), all right, except squirrelmail; when a fill user/pass load http://host.domain/squirrelmail/src/redirect.php" target="_blank">http://host.domain/squirrelmail/src/redirect.php but a blank page, nothing more.

Any suggestion??

donavan

Firs tthing is check /var/log/maillog to see if squirrelmail is authenticating with the imap server:
Oct 21 14:25:10 smack imapd: LOGIN, user=eddie@nothing.net, ip=[::1]Oct 21 14:25:10 smack imapd: LOGOUT, user=eddie@nothing.net, ip=[::1], headers=0, body=0


However I have had the blank page happen when PHP overruns the memory limit. This is usually a small php limit and/or some large file being loaded by squirrelmail. You should get an error in /var/log/httpd-error.log

[client 68.214.57.208] PHP Fatal error:  Allowed memory size of 12582912 bytes exhausted (tried to allocate 44 bytes) in Unknown on line 0, referer: http://webmail.nothing.com/squirrelmail/src/right_main.php?sort=6&startMessage=1&mailbox=INBOX


Check /usr/local/etc/php.ini for the following line:
memory_limit = 16M      ; Maximum amount of memory a script may consume


The default, IIRC, is 8MB which you may have to up to around 12 or so. Remember this limit is a safety feature so dont go too high.[/code]

vpasten

was necessary to add the current include paths (php, pear) to php.ini, all this because I was storing the preferences of squirrelmail in the mysql.