Page 1 of 1

HELP! many errors after upgrading plugins!

Posted: Tue Aug 07, 2007 11:09 pm
by stm999999999
hello, according to the actual problems of nettmirror I select s9y.org for spartacus.

After using the given plugin-upgrades I get in the backend:

Code: Select all

Don't hack!Don't hack!
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/garvintemp/additional_plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 442

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/garvintemp/additional_plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 445

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/garvintemp/additional_plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 449

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/garvintemp/additional_plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 453

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/garvintemp/additional_plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 457

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/garvintemp/additional_plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 463

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/garvintemp/additional_plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 467
Don't hack!
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/xxxl/cms-s9y/s9y/plugins/serendipity_event_typesetbuttons/serendipity_event_typesetbuttons.php:1) in /srv/www/htdocs/xxx/cms-s9y/s9y/include/functions_config.inc.php on line 595

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/xxx/cms-s9y/s9y/plugins/serendipity_event_typesetbuttons/serendipity_event_typesetbuttons.php:1) in /srv/www/htdocs/xxx/cms-s9y/s9y/include/functions_config.inc.php on line 595

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/xxxl/cms-s9y/s9y/plugins/serendipity_event_typesetbuttons/serendipity_event_typesetbuttons.php:1) in /srv/www/htdocs/xxx/cms-s9y/s9y/serendipity_admin.php on line 11
and what the heck is /home/garvintemp/ here?

Posted: Wed Aug 08, 2007 2:14 am
by blog.brockha.us
Hmm.. The don't hack is evil.. The plugin is unable to detect, that it is inside of serendipity:

Code: Select all

if (IN_serendipity !== true) {
    die ("Don't hack!");
}
Did you only upgrade the plugins or serendipity, too? You should add this code to your serendipity_config.inc.php, if it is not existing yet:

Code: Select all

if (!defined('IN_serendipity')) {
    define('IN_serendipity', true);
}
And the first warning is coming from this line:

Code: Select all

$this->add_entries(&$sitemap_xml);
I'm not sure, but isn't the code wrong? Or better: not always supported? Shouldn't it be

Code: Select all

$this->add_entries($sitemap_xml);
and the add_entries function should declare a call by reference (it does in this case)?

To fix this warnings fast, you have to edit your php.ini file, if it is available to you:

Code: Select all

allow_call_time_pass_reference = On

Posted: Wed Aug 08, 2007 11:26 am
by garvinhicking
Hi!

As mentioned on the blog: S9Y.Org as a mirror IS NOT YET FUNCTIONAL. :-)

Netmirror.org should work again.

Regards,
Garvin

Posted: Wed Aug 08, 2007 3:20 pm
by stm999999999
I did this becaus with sourceforge I got problems, too. :-(

Now I copied the faulty plugins manualy and all errors are away.

Posted: Wed Aug 08, 2007 3:31 pm
by garvinhicking
Hi!

Yes, SourceForge makes trouble when too many file requests are send from your server. Their servers sporadically misbehave. :(

Regard,s
Garvin