Page 1 of 1

How to delete a plugin manually?

Posted: Fri Jan 05, 2007 3:42 pm
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

Posted: Fri Jan 05, 2007 4:40 pm
by judebert
Deleting the directory should do the job!

Posted: Sat Jan 06, 2007 2:30 am
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...

Posted: Sat Jan 06, 2007 1:02 pm
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

Posted: Sun Jan 07, 2007 3:35 pm
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