Page 1 of 1

Problem with twitter plugin

Posted: Thu May 15, 2008 1:03 pm
by Greenfreak
I've a problem installing the twitter plugin..

If i go to install a sidebar plugin there comes following notice:

Code: Select all

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in xxx/serendipity/plugins/serendipity_plugin_twitter/serendipity_plugin_twitter.php on line 13
Can anyone help me?

Re: Problem with twitter plugin

Posted: Thu May 15, 2008 2:15 pm
by garvinhicking
Hi!

This twitter plugin is for PHP5 only, but you're running PHP4. However I made a change to the next version of the plugin (available in 24-48 hours) so that it should be usable for PHP4 as well.

Other that that, you could also simply embed the Twitter JAvaScript inside a HTML nugget sidebar plugin, so that you don't need a standalone plugin for it...

HTH,
Garvin