Page 1 of 1

I need a fix

Posted: Fri Jul 13, 2012 1:18 am
by Beee
When I try to log in to my blog as an administrator I get this:

Deprecated: Assigning the return value of new by reference is deprecated in /data/18/1/85/14/1737666/user/1876842/htdocs/serendipity/include/plugin_api.inc.php on line 560

Deprecated: Assigning the return value of new by reference is deprecated in /data/18/1/85/14/1737666/user/1876842/htdocs/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 469

Deprecated: Assigning the return value of new by reference is deprecated in /data/18/1/85/14/1737666/user/1876842/htdocs/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 494

Deprecated: Assigning the return value of new by reference is deprecated in /data/18/1/85/14/1737666/user/1876842/htdocs/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 538

Deprecated: Assigning the return value of new by reference is deprecated in /data/18/1/85/14/1737666/user/1876842/htdocs/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 902

Warning: Cannot modify header information - headers already sent by (output started at /data/18/1/85/14/1737666/user/1876842/htdocs/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php:902) in /data/18/1/85/14/1737666/user/1876842/htdocs/serendipity/serendipity_admin.php on line 11

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /data/18/1/85/14/1737666/user/1876842/htdocs/serendipity/include/functions_config.inc.php on line 352

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /data/18/1/85/14/1737666/user/1876842/htdocs/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php:902) in /data/18/1/85/14/1737666/user/1876842/htdocs/serendipity/include/functions_config.inc.php on line 353

How do I fix it?

Re: I need a fix

Posted: Fri Jul 13, 2012 9:36 am
by Timbalu
Which PHP and Serendipity Version do you run?
These error arrive from PHP, being to strict with old coding standards.
You possibly might need to finetune the error reporting variable in serendipity_config.inc.php like this

Code: Select all

error_reporting(E_ALL & ~E_NOTICE ^ E_DEPRECATED);
~line 54