Receiving outdated Webmail error when logging in

View: New views
11 Messages — Rating Filter:   Alert me  

Receiving outdated Webmail error when logging in

by bdkennedy1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Users are receiving this error when they log in to Webmail.  I followed it's instructions, but there is nothing on line 185 or 186 that pertains to what this error is talking about. I searched the whole file and there is no session.bug_xxxx to be found.  I'm using 1.4.19.

Warning: session_write_close() [function.session-write-close]: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in /usr/share/squirrelmail/src/redirect.php on line 185

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/squirrelmail/src/redirect.php:185) in /usr/share/squirrelmail/src/redirect.php on line 186

Re: Receiving outdated Webmail error when logging in

by Tomas Kuliavas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

bdkennedy1 wrote:
Users are receiving this error when they log in to Webmail.  I followed it's instructions, but there is nothing on line 185 or 186 that pertains to what this error is talking about. I searched the whole file and there is no session.bug_xxxx to be found.  I'm using 1.4.19.

Warning: session_write_close() [function.session-write-close]: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in /usr/share/squirrelmail/src/redirect.php on line 185

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/squirrelmail/src/redirect.php:185) in /usr/share/squirrelmail/src/redirect.php on line 186
Disable all plugins, enable them one by one until you get that error in webmail.

Test your SquirrelMail configuration with configtest.php script and pay attention to warnings.

--
Tomas

Re: Receiving outdated Webmail error when logging in

by bdkennedy1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I wasn't using any plugins so there were none to turn off.  I ran configtest.php and the only error I received was...

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.

Otherwise the end of the test said "Congratulations, your SquirrelMail setup looks fine to me!"

Re: Receiving outdated Webmail error when logging in

by Tomas Kuliavas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

bdkennedy1 wrote:
I wasn't using any plugins so there were none to turn off.  I ran configtest.php and the only error I received was...

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.

Otherwise the end of the test said "Congratulations, your SquirrelMail setup looks fine to me!"
Magic quotes should not trigger this error.

Could you provide more information about your setup?
* Webserver's OS and version
* PHP version
* SquirrelMail package version. You have SquirrelMail in /usr/share/squirrelmail, so it is not standard 1.4.19 version, but something packaged by your OS developers.
* output of phpinfo(). See http://www.squirrelmail.org/wiki/TestPHPSettings. If you don't want to show all phpinfo() stuff, show local core and session configuration values and list all enabled PHP extensions.

--
Tomas

more encoding problems

by pal-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have reported problems with foreign characters in html mails previous(when replying). No fix or
response so far to this one.

There is another problem as well. When the From address contains , and æøå it's not possilbe to
reply without an error.

Normally the From-adress is put into "" like "John Dove" <mail@...>

In SM 1.4.20 SVN (and all versions I have tested) this changes into

Monstad, Pål <mail@...>

When the from address contains , and øæå the address is messed up resulting in errors as SM think
two mail addresses exist in the to filed (when replying).

Any chances this will ever be fixed?



How come this is unsolved? Am I the only SM administrator experiencing these problems?
--
Pål Monstad


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
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: Receiving outdated Webmail error when logging in

by bdkennedy1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using OS X Server 10.5.4.  I'm not sure how to find the PHP version.  I downloaded the Squirrelmail update from the website and upgraded what the OS came with thinking that would get rid of the error.

But basically I solved the problem by googling session.bug_compat_42 and finding out what file that line is in (PHP.ini).  Then I searched the file for session.bug_compat_42 and changed the two lines to False like the error said.

This link helped me locate where php.ini was in case other people have this problem...

http://foundationphp.com/tutorials/php_leopard.php

Thank you for all the help!!!

Re: Receiving outdated Webmail error when logging in

by Tomas Kuliavas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

bdkennedy1 wrote:
I'm using OS X Server 10.5.4.  I'm not sure how to find the PHP version.  I downloaded the Squirrelmail update from the website and upgraded what the OS came with thinking that would get rid of the error.

But basically I solved the problem by googling session.bug_compat_42 and finding out what file that line is in (PHP.ini).  Then I searched the file for session.bug_compat_42 and changed the two lines to False like the error said.

This link helped me locate where php.ini was in case other people have this problem...

http://foundationphp.com/tutorials/php_leopard.php

Thank you for all the help!!!
You hide problem instead of solving it. Please provide information which allows to reproduce this warning. Show your PHP version, core/session configuration values and list of extensions. Knowing that you use suhosin, apc, apd, memcache or some other PHP cache/optimizer/debugger or have some funky session and core configuration values might help.

session.bug_compat_42 and session.bug_compat_warn can be set in PHP_INI_ALL.  You don't have to change global php configuration file in order to change them. .htaccess files and scripts can change them.

Please note that SquirrelMail configtest.php script and phpinfo() output show PHP version.

--
Tomas

Re: more encoding problems

by Squirrel Dennis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> There is another problem as well. When the From address contains , and æøå
> it's not possilbe to
> reply without an error.
>
> Normally the From-adress is put into "" like "John Dove"
> <mail@...>
>
> In SM 1.4.20 SVN (and all versions I have tested) this changes into
>
> Monstad, Pål <mail@...>
>
> When the from address contains , and øæå the address is messed up
> resulting in errors as SM think
> two mail addresses exist in the to filed (when replying).

Hi <copy>Pål<paste>,

you can change your name (joke) or try to backslash special character in
your name. It does not fix the problem, but maybe it is a short work
around until developer fix the problem.

CU
Dennis



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
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: more encoding problems

by pal-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> There is another problem as well. When the From address contains , and æøå
>> it's not possilbe to
>> reply without an error.
>>
>> Normally the From-adress is put into "" like "John Dove"
>> <mail@...>
>>
>> In SM 1.4.20 SVN (and all versions I have tested) this changes into
>>
>> Monstad, Pål <mail@...>
>>
>> When the from address contains , and øæå the address is messed up
>> resulting in errors as SM think
>> two mail addresses exist in the to filed (when replying).
>
> Hi <copy>Pål<paste>,
>
> you can change your name (joke) or try to backslash special character in
> your name. It does not fix the problem, but maybe it is a short work
> around until developer fix the problem.

Well, this is not an option I will choose. We have several hundred users with names containing øæå.
--
Pål Monstad


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
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: more encoding problems

by Squirrel Dennis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>>> There is another problem as well. When the From address contains , and
>>> æøå
>>> it's not possilbe to
>>> reply without an error.
>>>
>>> Normally the From-adress is put into "" like "John Dove"
>>> <mail@...>
>>>
>>> In SM 1.4.20 SVN (and all versions I have tested) this changes into
>>>
>>> Monstad, Pål <mail@...>
>>>
>>> When the from address contains , and øæå the address is messed up
>>> resulting in errors as SM think
>>> two mail addresses exist in the to filed (when replying).
>>
>> Hi <copy>Pål<paste>,
>>
>> you can change your name (joke) or try to backslash special character in
>> your name. It does not fix the problem, but maybe it is a short work
>> around until developer fix the problem.
>
> Well, this is not an option I will choose. We have several hundred users
> with names containing øæå.
> --
> Pål Monstad
>

Understand. I received some kind of spam from different countries and get
displayed correct specific characters. OK, you tried every version of sm.
But maybe your local settings of your server are just norwegian? Try to
change charset to UTF8, control settings of php to use UTF8, install fresh
version of gettext, check your spam folder for foreign charsets...
Maybe it's not a question of sm?
Have luck!
CU
Dennis


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
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: more encoding problems

by Tomas Kuliavas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Squirrel Dennis wrote:
>>> There is another problem as well. When the From address contains , and
>>> æøå
>>> it's not possilbe to
>>> reply without an error.
>>>
>>> Normally the From-adress is put into "" like "John Dove"
>>> <mail@address.com>
>>>
>>> In SM 1.4.20 SVN (and all versions I have tested) this changes into
>>>
>>> Monstad, Pål <mail@address.com>
>>>
>>> When the from address contains , and øæå the address is messed up
>>> resulting in errors as SM think
>>> two mail addresses exist in the to filed (when replying).
>>
>> Hi <copy>Pål<paste>,
>>
>> you can change your name (joke) or try to backslash special character in
>> your name. It does not fix the problem, but maybe it is a short work
>> around until developer fix the problem.
>
> Well, this is not an option I will choose. We have several hundred users
> with names containing øæå.
> --
> Pål Monstad
>

Understand. I received some kind of spam from different countries and get
displayed correct specific characters. OK, you tried every version of sm.
But maybe your local settings of your server are just norwegian? Try to
change charset to UTF8, control settings of php to use UTF8, install fresh
version of gettext, check your spam folder for foreign charsets...
Maybe it's not a question of sm?
It is SquirrelMail question. Combination of two email standards causes the issue. If user has 8bit name or surname, header is encoded. Encoded name is one atom and it does not have to be quoted. But decoded name might have spaces, semicolons or commas and then it must be quoted.

--
Tomas