On 2/13/15, "Tóth Attila" <atoth@xxxxxxxxxxxxx> 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: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users