Event Plugin Problem

Creating and modifying plugins.
Post Reply
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Event Plugin Problem

Post by rj »

I cannot GET the list of EVENT PLUGINS anymore. This info comes up instead.

-------------
Event Plugins

Trying to open URL package_event_en.xml...
Fetched 232579 bytes from the URL above. Saving file as /home/content/r/a/c/rackjite/html/serendipity/templates_c/package_event_en.xml...
Data successfully fetched.

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/r/a/c/rackjite/html/serendipity/plugins/serendipity_event_mobile_output/mobile.class.php on line 7
------------------

Thanx


RJ
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Event Plugin Problem

Post by garvinhicking »

Hi!

could it be you edited the mentioned file mobile.class.php? The original file does not contain a parse error.

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/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Event Plugin Problem

Post by garvinhicking »

Hi!

Ah! The mobile plugin is PHP5 only, but your host runs PHP4. You must remove the mobile-plugin (delete the directory via FTP, i.e.)

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/
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Post by rj »

Ah.... Sorry, that is something I should have figured out myself if I had given it a minute to think about... :)

Thanx


RJ
jamesmusic
Regular
Posts: 46
Joined: Thu Jun 28, 2007 6:50 pm
Contact:

Post by jamesmusic »

i'm having a problem trying to add new event plugins - whenever i click the link: 'Event Plugins - Click here to install a new event plugin'
A pop up appears saying i have chosen to open 'serendipity_admin.php' and save to disk... any ideas why this is happening intermittantly?
cheers,
James
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Such a popup usually means that you PHP process crashes. Please try to find the Apache or PHP error logs and see what they say. Often this is because your webserver's firewall disallows serendipity to connect to the plugin repository. You might need to reomve the "Spartacus" event plugin and fetch plugins manually from spartacus.s9y.org.

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/
jamesmusic
Regular
Posts: 46
Joined: Thu Jun 28, 2007 6:50 pm
Contact:

Post by jamesmusic »

that was it!! thanks again garvin
Post Reply