How to delete a plugin manually?

Creating and modifying plugins.
Post Reply
nuke01
Regular
Posts: 10
Joined: Fri Jan 05, 2007 3:36 pm

How to delete a plugin manually?

Post by nuke01 »

Hello,

i installed a new plugin "smarty_markup" or something like that. Since then whenever I go to page where i can adminstrate my plugins i get the error:

Code: Select all

Fatal error: Call to undefined function serendipity_smarty_init() in /srv/www/httpd/phost/j/net/pytalhost/joeslife/web/include/admin/plugins.inc.php on line 355
and if i go to my page i get several other errors, most of them with smarty in it.

So i figure if i could somehow simply delete this plugin, everything would work again. How can I do that, do I have to delete something in the db or just simply delete everything with smarty on it in the plugin directory?

thanks for your help in advance
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Deleting the directory should do the job!
Judebert
---
Website | Wishlist | PayPal
nuke01
Regular
Posts: 10
Joined: Fri Jan 05, 2007 3:36 pm

Post by nuke01 »

thank you for your quick reply.

first i deleted the directory and then also everything in the pluginlist-table with smarty on it.

but i still get this message when i go to the plugin config page:

Code: Select all

Fatal error: Call to undefined function serendipity_smarty_init() in /srv/www/httpd/phost/j/net/pytalhost/joeslife/web/include/admin/plugins.inc.php on line 355
on the blog itself i get:

Code: Select all

Warning: include() [function.include]: Unable to access /srv/www/httpd/phost/j/net/pytalhost/joeslife/web/include/functions_smarty.inc.php in /srv/www/httpd/phost/j/net/pytalhost/joeslife/web/include/functions.inc.php on line 43

Warning: include(/srv/www/httpd/phost/j/net/pytalhost/joeslife/web/include/functions_smarty.inc.php) [function.include]: failed to open stream: No such file or directory in /srv/www/httpd/phost/j/net/pytalhost/joeslife/web/include/functions.inc.php on line 43

Warning: include() [function.include]: Failed opening '/srv/www/httpd/phost/j/net/pytalhost/joeslife/web/include/functions_smarty.inc.php' for inclusion (include_path='.:/srv/www/httpd/phost/j/net/pytalhost/joeslife/web/:/srv/www/httpd/phost/j/net/pytalhost/joeslife/web/bundled-libs/:/srv/www/httpd/phost/j/net/pytalhost/joeslife/web/bundled-libs/Smarty/libs/:/srv/www/httpd/phost/j/net/pytalhost/joeslife/web/:') in /srv/www/httpd/phost/j/net/pytalhost/joeslife/web/include/functions.inc.php on line 43

Fatal error: Call to undefined function serendipity_smarty_init() in /srv/www/httpd/phost/j/net/pytalhost/joeslife/web/include/genpage.inc.php on line 32
I'm kinda lost here i have to say...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Which serendipity version are you using? It seems that something is trying to load the Smarty API, which is bundled with serendipity since 0.8, but it fails.

If you run pre- 0.8, you should definitely upgrade your s9y as fast as possible to 1.1 (look at the FAQ on www.s9y.org for upgrade instructions).

If you already run a recent s9y version, you should check if your include/functions_smarty.inc.php files exists?

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/
nuke01
Regular
Posts: 10
Joined: Fri Jan 05, 2007 3:36 pm

Post by nuke01 »

thank you for your help. I have now updated from 1.1-beta6 to 1.1 and now everything works fine. at least as fine as before...

thx a lot
Post Reply