Plugin Code

Creating and modifying plugins.
Post Reply
entropy
Regular
Posts: 9
Joined: Sun Aug 22, 2004 4:34 am
Location: Columbus, OH, USA
Contact:

Plugin Code

Post by entropy » Thu Aug 26, 2004 2:55 am

I attempted to add a new plugin and somehow I messed up the side bar. Now for some reason it shows the code in the side bar. I removed the files from my site but I still have code in the side bar. How do I get rid of the code.
http://www.entropyadvisor.com

thanks

P.S. I have even replaced the file that it is stating with unedited code from my original install in hopes to correct the issue.... did not work.... same error.
Entropy Web Developer

entropy
Regular
Posts: 9
Joined: Sun Aug 22, 2004 4:34 am
Location: Columbus, OH, USA
Contact:

Post by entropy » Thu Sep 16, 2004 5:37 pm

Here is the error that I am getting on my home page:
Fatal error: Call to a member function on a non-object in /home/entropya/public_html/serendipity_plugin_api.php on line 312


And here is the error that I get on my management plugin page:
Fatal error: Call to a member function on a non-object in /home/entropya/public_html/serendipity_admin_plugins.inc.php on line 127


I have upgrade to build 7 and my issues carried over. Any suggestions on how I can correct this? :?:
Entropy Web Developer

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

Post by garvinhicking » Thu Sep 16, 2004 5:44 pm

Hi!

Hm, that does sound like a buggy plugin you seem to have installed. The errors you are getting come because that plugin does not seem to offer a "introspect" function.

Please check the plugins you have in your plugin directory and temporarily remove them one by one to see which is causing the trouble. In any case, it can't be one of the bundled plugins, it seems to be a custom made one?

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/

entropy
Regular
Posts: 9
Joined: Sun Aug 22, 2004 4:34 am
Location: Columbus, OH, USA
Contact:

Missing Full Plugin page

Post by entropy » Mon Sep 20, 2004 4:44 pm

When I go to my Plugin admin page I only have a partial load. It does not show the buttons on the bottom of the page. I have attempted to copy the file from my original file set but it does not over write the page and therefore I still have the issues with my plugin page and my home page showing code. Any suggestions on how I can replace my plugin page with a new copy of the file :?:
Entropy Web Developer

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

Re: Missing Full Plugin page

Post by garvinhicking » Mon Sep 20, 2004 5:31 pm

Hi Entropy!

You need to edit the files directly on your server, in the plugins subdirectory. Temporarily delete all plugins which are not bundled with our distribution (onl yyour files) and then you can again access the plugin panel.

Good luck,
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/

entropy
Regular
Posts: 9
Joined: Sun Aug 22, 2004 4:34 am
Location: Columbus, OH, USA
Contact:

Still having issues

Post by entropy » Mon Sep 27, 2004 5:46 am

First I removed all my plugin files... then I removed all the bundled plugin files then copied up the new plugin files from the bundle and I still am getting code on my home page and my plugin admin page.
Fatal error: Call to a member function on a non-object in /home/entropya/public_html/serendipity_plugin_api.php on line 312


I would have thought that if I deleted all the plugin files and then uploaded fresh files from the bundle that I would have corrected this issue. But this action did not correct the problem. If I delete all the code from the website what do I need to keep in order to retain my postings? Unless you have any other suggestions I am leaning to starting over.
Entropy Web Developer

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

Re: Still having issues

Post by garvinhicking » Mon Sep 27, 2004 12:33 pm

Maybe you can try to browser your 'serendipity_plugins' database table and remove all plugin references there which are not bundled with serendipity? Hope that helps. :-)

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/

entropy
Regular
Posts: 9
Joined: Sun Aug 22, 2004 4:34 am
Location: Columbus, OH, USA
Contact:

Issue Fixed

Post by entropy » Tue Sep 28, 2004 4:12 pm

I was able to get to my plugin table and pull out the entries that were causing me issue.

Thanks :D :D :D
Entropy Web Developer

Post Reply