coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: Kim de B on July 24, 2008, 02:20:05 AM

Title: [Solved]: Plugin install problem
Post by: Kim de B on July 24, 2008, 02:20:05 AM
I'm trying to install Final Extract, but seem to be caught in some kind of error loop.

I installed an earlier version of the plug in through my FTP, then deleted it when I saw a later version was available.

(I can't use the Admin upload, as my downloads get automatically unzipped.)

Unfortunately, I deleted the first version from my Plugins folder through my FTP, rather than use the uninstall function in Admin.

When I uploaded the new version to the Plugins folder through the FTP, it blows up my gallery. I get the following message:

Critical error
There was an error while processing a database query

So somehow I've screwed things up.  How do I fix this?

Thanks!


Title: Re: Plugin install problem
Post by: Joachim Müller on July 24, 2008, 07:00:29 AM
Quote from: Kim de B on July 24, 2008, 02:20:05 AM
Critical error
There was an error while processing a database query
That's a generic error message. To see what actually goes wrong, enable debug_mode. As you found out by yourself, you shouldn't have deleted the plugin using your FTP app, but you should have uninstalled it using coppermine's plugin manager. Now you'll have to fiddle with the database to disable the old plugin manually: use a tool like phpMyAdmin, browse coppermine's plugins table and disable the record for the leftover plugin. If you're not sure what you're doing, make a backup of your database (dump) first.
Title: Re: Plugin install problem
Post by: François Keller on July 24, 2008, 07:17:27 AM
QuoteNow you'll have to fiddle with the database to disable the old plugin manually
you probably have old plugin's table in your database that must been delete after desabling manualy the plugin and befor intalling the new plugin.
Title: Re: Plugin install problem
Post by: Kim de B on July 24, 2008, 02:18:35 PM
Thanks, guys, that did it.  That's the first time I've used phpMyAdmin, but it was easy enough to find what I was looking for and delete it, thanks to you.

I just re-installed the Final Extract plug in, and all is well.

Thanks again for the support.