Page 1 of 1

Install New Event Plugin page fails

Posted: Tue Nov 16, 2010 7:04 pm
by vincem

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/

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.


Re: Install New Event Plugin page fails

Posted: Tue Nov 16, 2010 9:05 pm
by garvinhicking

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.


Re: Install New Event Plugin page fails

Posted: Tue Nov 16, 2010 10:30 pm
by vincem
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! ;-)

Re: Install New Event Plugin page fails

Posted: Wed Nov 17, 2010 5:58 am
by vincem
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/ 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!


Re: Install New Event Plugin page fails

Posted: Wed Nov 17, 2010 10:08 am
by garvinhicking

Glad to hear it's resolved.

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