Spartacus worked fine, now getting parse error, fatal error.

Creating and modifying plugins.
Post Reply
indianarose
Posts: 2
Joined: Sat Mar 18, 2006 7:59 pm
Location: Indiana

Spartacus worked fine, now getting parse error, fatal error.

Post by indianarose »

Hello to all - I'm a new person around here - yes, I'm in Serendipity Kindergarten. I just installed 0.9.1 (Linux, PHP 5.0.4, MySQL 4.1.13-standard-log, Apache 1.3.34-Unix, w/cPanel) and everything looked great - I am very impressed and really like this, but, I've run into my first glitch - I read some info in this forum and tried to fix it myself. Guess I didn't quite get the job done - still getting an error message. Thought I'd better get some expert advice before I fiddle anymore. I have searched for the answer and have not found.

The history is that Spartacus and everything else was working fine until I attempted to install the tooltips plug-in which failed. I got a plain white error page - and then everything was down or at least I couldn't get into it. Site didn't load in browser and neither did admin login page - nothing but the error page. So I read up and went into phpmyadmin to delete this plug-in. No problem. As soon as I did that, voila, it was all up again and I went back to work.

Then when I tried to do a different plug-in install via Spartacus, I got an error similar to what I got earlier, only now it's in my admin area instead of on the plain white page.

I don't think this is a problem with the basic installation because it was all working earlier and it was not installed by a kindergartner - I had the support techs at my host install it.

The error messages follow. Any help or suggestions would be greatly appreciated!!!

Anna aka indianarose
-----------------------------------------------------------------

This is what I get after "click here to install a new event plug-in.....

Event Plugins
Trying to open URL package_event_en.xml...
Fetched 181873 bytes from already existing file on your server. Saving file as /home/shadystr/public_html/sycamore/templates_c/package_event_en.xml...

Parse error: parse error, unexpected $ in /home/shadystr/public_html/sycamore/plugins/serendipity_event_tooltips/serendipity_event_tooltips.php on line 187
---------------------------------------------------------------------------------

On the other hand, when I push "click here to install a new Sidebar plug-in," it gets a little farther and seems to be functioning correctly until I actually try to install one of the items, then I get what follows here.....

Error: serendipity_event_deletelink:810bc0341f6749af79ff4a22e5a21927 (online_repository)
DEBUG: Plugin serendipity_event_deletelink:810bc0341f6749af79ff4a22e5a21927 not an object: .
Input: Array ( [adminModule] => plugins [pluginPath] => online_repository [install_plugin] => serendipity_event_deletelink [spartacus_fetch] => [action] => [adminAction] => ) .

Please report this bug. This error can happen if a plugin was not properly downloaded (check your plugins directory if the requested plugin was downloaded) or the inclusion of a file failed (permissions?)
Backtrace:
Installing plugin: Array ( [0] => serendipity_event_deletelink [1] => [2] => event [3] => 0 [4] => online_repository )
INSERT INTO serendipity_plugins (name, sort_order, placement, authorid, path) values ('serendipity_event_deletelink:810bc0341f6749af79ff4a22e5a21927', 9, 'event', '0', 'online_repository')
No valid path/filename found. Aborting.
Classname serendipity_event_deletelink still does not exist. Aborting.
Loading plugin failed painfully. File not found?
No valid path/filename found. Aborting.
Classname serendipity_event_deletelink still does not exist. Aborting.

Fatal error: Call to a member function introspect() on a non-object in /home/shadystr/public_html/sycamore/include/admin/plugins.inc.php on line 797
-----------------------------------
anna aka indianarose
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Spartacus worked fine, now getting parse error, fatal er

Post by garvinhicking »

Hi!

To me this sounds like the downloading of plugins somehow fails. Could you check the file that contians the parse error and see if the file is garbaged? If you have the PHP CLI binary, you could try to test the file with "php -l serendipity_event_tooltips.php"?

Best 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/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

I'd also recommend using FTP (or whatever file manager your provider provides) and deleting the serendipity_event_tooltips directory and all its contents. I don't think this is causing the problem, but it will stop that annoying message from occuring. And remove any doubt.
Judebert
---
Website | Wishlist | PayPal
indianarose
Posts: 2
Joined: Sat Mar 18, 2006 7:59 pm
Location: Indiana

Ok, finally it is fixed. Thanks for your replies.

Post by indianarose »

It's fixed. And I'm quite proud of myself. I had already deleted in phpmyadmin area and newbie that I am, thought that would do it. Once I went in to the file manager and deleted the files for this plug-in, everything is once again peachy-keen. Thanks to you both for your suggestions. Anna
Post Reply