Quantcast

squirrelmail-1.4.23SVN vs php-5.6

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

squirrelmail-1.4.23SVN vs php-5.6

"Tóth Attila"
I've just tried to switch to php-5.6 on my server, but I can no longer log
in to my squirrelmail install. My squirrelmail setup stores users setting
in a mysql database. Last time I synced SVN was: 20150120. Upon switching
back to php-5.5 everything returns to normal.
I can only see some error messages in the apache2 log, like these:
[Fri Feb 13 18:22:02.875339 2015] [:error] [pid 12792:tid 3247698102016]
[client 193.6.26.137:3540] PHP Deprecated:  Non-static method
DB::connect() should not be called statically, assuming $this from
incompatible context in
/var/www/localhost/htdocs/squirrelmail/functions/db_prefs.php on line 138,
referer: https://base-URL-of-my-server/squirrelmail/src/login.php
[Fri Feb 13 18:22:02.875412 2015] [:error] [pid 12792:tid 3247698102016]
[client 193.6.26.137:3540] PHP Deprecated:  Non-static method
DB::parseDSN() should not be called statically, assuming $this from
incompatible context in /usr/share/php/DB.php on line 520, referer:
https://base-URL-of-my-server/squirrelmail/src/login.php
[Fri Feb 13 18:22:02.875967 2015] [:error] [pid 12792:tid 3247698102016]
[client 193.6.26.137:3540] PHP Deprecated:  Non-static method
DB::isError() should not be called statically, assuming $this from
incompatible context in /usr/share/php/DB.php on line 551, referer:
https://base-URL-of-my-server/squirrelmail/src/login.php
[Fri Feb 13 18:22:02.877080 2015] [:error] [pid 12792:tid 3247698102016]
[client 193.6.26.137:3540] PHP Deprecated:  Non-static method
DB::isError() should not be called statically, assuming $this from
incompatible context in /usr/share/php/DB.php on line 557, referer:
https://base-URL-of-my-server/squirrelmail/src/login.php
[Fri Feb 13 18:22:02.877157 2015] [:error] [pid 12792:tid 3247698102016]
[client 193.6.26.137:3540] PHP Deprecated:  Non-static method
DB::isError() should not be called statically, assuming $this from
incompatible context in
/var/www/localhost/htdocs/squirrelmail/functions/db_prefs.php on line 140,
referer: https://base-URL-of-my-server/squirrelmail/src/login.php
[Fri Feb 13 18:22:02.877244 2015] [:error] [pid 12792:tid 3247698102016]
[client 193.6.26.137:3540] PHP Deprecated:  Non-static method
DB::isManip() should not be called statically, assuming $this from
incompatible context in /usr/share/php/DB/common.php on line 2200,
referer: https://base-URL-of-my-server/squirrelmail/src/login.php
[Fri Feb 13 18:22:02.877876 2015] [:error] [pid 12792:tid 3247698102016]
[client 193.6.26.137:3540] PHP Deprecated:  Non-static method
DB::isError() should not be called statically, assuming $this from
incompatible context in /usr/share/php/DB/common.php on line 1217,
referer: https://base-URL-of-my-server/squirrelmail/src/login.php
[Fri Feb 13 18:22:02.877993 2015] [:error] [pid 12792:tid 3247698102016]
[client 193.6.26.137:3540] PHP Deprecated:  Non-static method
DB::isError() should not be called statically, assuming $this from
incompatible context in
/var/www/localhost/htdocs/squirrelmail/functions/db_prefs.php on line 301,
referer: https://base-URL-of-my-server/squirrelmail/src/login.php

I also noticed, that online_users plugin no longer works and emits a
deprecated message on mysql_connect. The plugin obviously needs a
conncet_mysqli treatment. I can live without that, but I should log in.

I though deprecated statements should not prevent things happening, but I
suspect they do here.

Should my setup supposed to work or am I missing something here?

Thanks:
Dw.
--
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: squirrelmail-1.4.23SVN vs php-5.6

Paul Lesniewski
On 2/13/15, "Tóth Attila" <[hidden email]> wrote:

> I've just tried to switch to php-5.6 on my server, but I can no longer log
> in to my squirrelmail install. My squirrelmail setup stores users setting
> in a mysql database. Last time I synced SVN was: 20150120. Upon switching
> back to php-5.5 everything returns to normal.
> I can only see some error messages in the apache2 log, like these:
> [Fri Feb 13 18:22:02.875339 2015] [:error] [pid 12792:tid 3247698102016]
> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
> DB::connect() should not be called statically, assuming $this from
> incompatible context in
> /var/www/localhost/htdocs/squirrelmail/functions/db_prefs.php on line 138,
> referer: https://base-URL-of-my-server/squirrelmail/src/login.php
> [Fri Feb 13 18:22:02.875412 2015] [:error] [pid 12792:tid 3247698102016]
> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
> DB::parseDSN() should not be called statically, assuming $this from
> incompatible context in /usr/share/php/DB.php on line 520, referer:
> https://base-URL-of-my-server/squirrelmail/src/login.php
> [Fri Feb 13 18:22:02.875967 2015] [:error] [pid 12792:tid 3247698102016]
> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
> DB::isError() should not be called statically, assuming $this from
> incompatible context in /usr/share/php/DB.php on line 551, referer:
> https://base-URL-of-my-server/squirrelmail/src/login.php
> [Fri Feb 13 18:22:02.877080 2015] [:error] [pid 12792:tid 3247698102016]
> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
> DB::isError() should not be called statically, assuming $this from
> incompatible context in /usr/share/php/DB.php on line 557, referer:
> https://base-URL-of-my-server/squirrelmail/src/login.php
> [Fri Feb 13 18:22:02.877157 2015] [:error] [pid 12792:tid 3247698102016]
> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
> DB::isError() should not be called statically, assuming $this from
> incompatible context in
> /var/www/localhost/htdocs/squirrelmail/functions/db_prefs.php on line 140,
> referer: https://base-URL-of-my-server/squirrelmail/src/login.php
> [Fri Feb 13 18:22:02.877244 2015] [:error] [pid 12792:tid 3247698102016]
> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
> DB::isManip() should not be called statically, assuming $this from
> incompatible context in /usr/share/php/DB/common.php on line 2200,
> referer: https://base-URL-of-my-server/squirrelmail/src/login.php
> [Fri Feb 13 18:22:02.877876 2015] [:error] [pid 12792:tid 3247698102016]
> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
> DB::isError() should not be called statically, assuming $this from
> incompatible context in /usr/share/php/DB/common.php on line 1217,
> referer: https://base-URL-of-my-server/squirrelmail/src/login.php
> [Fri Feb 13 18:22:02.877993 2015] [:error] [pid 12792:tid 3247698102016]
> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
> DB::isError() should not be called statically, assuming $this from
> incompatible context in
> /var/www/localhost/htdocs/squirrelmail/functions/db_prefs.php on line 301,
> referer: https://base-URL-of-my-server/squirrelmail/src/login.php
>
> I also noticed, that online_users plugin no longer works and emits a
> deprecated message on mysql_connect. The plugin obviously needs a
> conncet_mysqli treatment. I can live without that, but I should log in.
>
> I though deprecated statements should not prevent things happening, but I
> suspect they do here.

If they were terminal, you'd only see one.  You should take a closer
look at your PHP settings.

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: squirrelmail-1.4.23SVN vs php-5.6

"Tóth Attila"
The reason behind the inability to login was: that php ini settings
weren't properly transferred from 5.5 to 5.6. Sorry for the noise.
--
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057

2015.Február 16.(H) 20:52 időpontban Paul Lesniewski ezt írta:

> On 2/13/15, "Tóth Attila" <[hidden email]> wrote:
>> I've just tried to switch to php-5.6 on my server, but I can no longer
>> log
>> in to my squirrelmail install. My squirrelmail setup stores users
>> setting
>> in a mysql database. Last time I synced SVN was: 20150120. Upon
>> switching
>> back to php-5.5 everything returns to normal.
>> I can only see some error messages in the apache2 log, like these:
>> [Fri Feb 13 18:22:02.875339 2015] [:error] [pid 12792:tid 3247698102016]
>> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
>> DB::connect() should not be called statically, assuming $this from
>> incompatible context in
>> /var/www/localhost/htdocs/squirrelmail/functions/db_prefs.php on line
>> 138,
>> referer: https://base-URL-of-my-server/squirrelmail/src/login.php
>> [Fri Feb 13 18:22:02.875412 2015] [:error] [pid 12792:tid 3247698102016]
>> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
>> DB::parseDSN() should not be called statically, assuming $this from
>> incompatible context in /usr/share/php/DB.php on line 520, referer:
>> https://base-URL-of-my-server/squirrelmail/src/login.php
>> [Fri Feb 13 18:22:02.875967 2015] [:error] [pid 12792:tid 3247698102016]
>> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
>> DB::isError() should not be called statically, assuming $this from
>> incompatible context in /usr/share/php/DB.php on line 551, referer:
>> https://base-URL-of-my-server/squirrelmail/src/login.php
>> [Fri Feb 13 18:22:02.877080 2015] [:error] [pid 12792:tid 3247698102016]
>> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
>> DB::isError() should not be called statically, assuming $this from
>> incompatible context in /usr/share/php/DB.php on line 557, referer:
>> https://base-URL-of-my-server/squirrelmail/src/login.php
>> [Fri Feb 13 18:22:02.877157 2015] [:error] [pid 12792:tid 3247698102016]
>> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
>> DB::isError() should not be called statically, assuming $this from
>> incompatible context in
>> /var/www/localhost/htdocs/squirrelmail/functions/db_prefs.php on line
>> 140,
>> referer: https://base-URL-of-my-server/squirrelmail/src/login.php
>> [Fri Feb 13 18:22:02.877244 2015] [:error] [pid 12792:tid 3247698102016]
>> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
>> DB::isManip() should not be called statically, assuming $this from
>> incompatible context in /usr/share/php/DB/common.php on line 2200,
>> referer: https://base-URL-of-my-server/squirrelmail/src/login.php
>> [Fri Feb 13 18:22:02.877876 2015] [:error] [pid 12792:tid 3247698102016]
>> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
>> DB::isError() should not be called statically, assuming $this from
>> incompatible context in /usr/share/php/DB/common.php on line 1217,
>> referer: https://base-URL-of-my-server/squirrelmail/src/login.php
>> [Fri Feb 13 18:22:02.877993 2015] [:error] [pid 12792:tid 3247698102016]
>> [client 193.6.26.137:3540] PHP Deprecated:  Non-static method
>> DB::isError() should not be called statically, assuming $this from
>> incompatible context in
>> /var/www/localhost/htdocs/squirrelmail/functions/db_prefs.php on line
>> 301,
>> referer: https://base-URL-of-my-server/squirrelmail/src/login.php
>>
>> I also noticed, that online_users plugin no longer works and emits a
>> deprecated message on mysql_connect. The plugin obviously needs a
>> conncet_mysqli treatment. I can live without that, but I should log in.
>>
>> I though deprecated statements should not prevent things happening, but
>> I
>> suspect they do here.
>
> If they were terminal, you'd only see one.  You should take a closer
> look at your PHP settings.
>
> --
> Paul Lesniewski
> SquirrelMail Team
> Please support Open Source Software by donating to SquirrelMail!
> http://squirrelmail.org/donate_paul_lesniewski.php
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> -----
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: [hidden email]
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Loading...