Install New Event Plugin page fails

Having trouble installing serendipity?
Post Reply
vincem
Regular
Posts: 59
Joined: Sat Mar 05, 2005 6:01 am
Contact:

Install New Event Plugin page fails

Post by vincem » Tue Nov 16, 2010 7:04 pm

Hi,

I recently noticed that my "Install New Event Plugin" link on the Admin/Appearance/Configure Plugins page failed to open the usual list of event plugins. I didn't think much of it and assumed that something was up with Spartacus and would get fixed soon. But days later, the issue is still happening and I must now assume that if nobody else is reporting it, I must have broken something in my s9y install.

For reference, the "Install New Sidebar Plugin" page still loads correctly. I recently made so many changes on my web site that I wouldn't know where to look for an error. Among other things, I had to fiddle with CHMOD of files and folders for security reasons. But then again, the Sidebar Plugin install works, only the Events fails.

Here's the error I get: the install new event plugin page loads partially, showing the following:

Event Plugins

Trying to open URL package_event_en.xml...
Fetched 381994 bytes from already existing file on your server. Saving file as /hsphere/local/home/user/vincentmounier.com/blog2/templates_c/package_event_en.xml...


Nothing else. Viewing the code's source reveals a partial bit of HTML without <head> nor <body> tags.

Any hints on what might be happening or how to repair? Using s9y 1.5.4.

Cheers,
Vince

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Install New Event Plugin page fails

Post by garvinhicking » Tue Nov 16, 2010 9:05 pm

Hi!

It might be that your server is having a fatal PHP error, but not displaying it because display_errors might be off. Try to edit your .htaccess file and add "php_value display_errors On" there, and then see if you get additional errrs. If that doesn't help, try to ask hte provider for a CGI error logfile.

Most often in cases like this, the RAM is all used up and spartacus cannot parse the downloaded XML file. The amount of RAM used heavily depends on the amount of plugins you have installed.

HTH,
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/

vincem
Regular
Posts: 59
Joined: Sat Mar 05, 2005 6:01 am
Contact:

Re: Install New Event Plugin page fails

Post by vincem » Tue Nov 16, 2010 10:30 pm

Hi Garvin,

Thanks as always for your prompt reply!

Well I tried to follow your suggestions but - probably due to restrictions by my provider - no luck. I can't seem to add the required code to htaccess without getting a 500 error nor to get access to CGI logs.

Trying to get a better sense for the issue, I uninstalled the Spartacus plugin; it was probably a stupid thing to do but in any case, with it uninstalled, here's where I stand:

The Install Sidebar Plugin still works fine. Install Event Plugin still breaks down and here's what the resulkting page contains:

Code: Select all

    <h2>Event Plugins</h2> 
<br /> 
That's the entire HTML, nothing else. Any ideas? Can it still be a RAM issue with Spartacus uninstalled?

Oh, and now I get seem to find a way to re-install Spartacus! ;-)

vincem
Regular
Posts: 59
Joined: Sat Mar 05, 2005 6:01 am
Contact:

Re: Install New Event Plugin page fails

Post by vincem » Wed Nov 17, 2010 5:58 am

Hello again Garvin,

Problem fixed. I managed to get a report of my PHP errors by tweaking my php.ini file in cgi-bin. The error was :

Code: Select all

PHP Fatal error:  Cannot redeclare class serendipity_event_entrypaging in /hsphere/local/home/user/vincentmounier.com/blog2/plugins/serendipity_event_entrypaging/serendipity_event_entrypaging2.php on line 262
All I had to do is open my modified entrypaging.php and remember that I had left some garbage there while trying to implement a sidebar Random Entry button.

I cleaned it up. All good now! Thanks again!

Vince

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Install New Event Plugin page fails

Post by garvinhicking » Wed Nov 17, 2010 10:08 am

Hi!

Glad to hear it's resolved.

Yeah, never store backups as files called "serendipity_event_blabl.bla.php" because s9y tries to inspect it.

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/

Post Reply