HELP! many errors after upgrading plugins!

Found a bug? Tell us!!
Post Reply
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

HELP! many errors after upgrading plugins!

Post 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?
Ciao, Stephan
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post 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
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

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

Netmirror.org should work again.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

I did this becaus with sourceforge I got problems, too. :-(

Now I copied the faulty plugins manualy and all errors are away.
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

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

Regard,s
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply