Plugin wont install Plugin wont install
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Plugin wont install

Started by Halfhidden, January 26, 2008, 06:19:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Halfhidden

Hi Everyone. I wanted to play flash movies in Coppermine, so I downloaded Nibbler's Filetype Editor Plugin (« Last Edit: March 09, 2006, 02:32:01 PM by Nibbler »)
I used the plugin manager to upload the plugin and I checked through FTP that the file had been installed and unpacked. I refreshed the page of the Plugin installer and then clicked on the install (i). Then I get this error

Critical error
There was an error while processing a database query
I cannot get this plugin to install..... I guess I've missed a critical point at some point..... any chance someone could steer me in the correct direction?

Regards,
Steff

Joachim Müller

Enable debug_mode to see the actual erro rmessage.

Halfhidden

Hi I got this.....
While executing query "insert into cpg14x_plugins (name, path,priority)  values ("Filetypes editor","filetypes_editor",1);" on 0

mySQL error: Duplicate entry 'Filetypes editor' for key 2

does this tell you anything?

Nibbler

Means the plugin is already installed.

Halfhidden

OK... I'm cool with that but the plugin manager says its not installed... Shall I just ignore this and carry on then?

Nibbler

You could delete the Filetypes editor entry from the plugins table using phpmyadmin and then run the install again.

Halfhidden

Thanks... I think I would prefer to do that.
Thanks for all your support again..... I am learning ... but not fast enough it seems  :P

Halfhidden

I've just looked in Mysql and cannot find any new entry's only the native entrys for Coppermin, PPHP and Slimstats.

Nibbler

You need to look in the plugins table in the coppermine database. If you are not sure what you are doing then don't mess with the database atall.

Halfhidden

I understand what you're saying.... If you're sure the plugin is installed I'll leave it at that
But the only entries I could find were these:
plugin_id     int(10)      No             
name    varchar(64)    No          
path    varchar(128)    No          
priority    int(10)    No     0     


Thanks again.
Regards,
Steff

Nibbler

That's the structure of the table, not its contents. To see inside the table you have to click on 'browse'.

Halfhidden

Ok... Nibbler. I think you're right I should wait until I've learned enough about Mysql before I continue, or I'm likely to delete working tables and down with that database it goes...
Anyway, you've been kind enough to explain to me what the error was about and now I'm simply wasting your time.
I'll continue with the plugin as it is and hope it works :)

Thanks again for all the help!
Regards,
Halfhidden

Halfhidden

Ok... you knew I'd come back.... I've continued with the rest of the installation of the article by rphMedia "    
Another FLV Player " and I'm assuming that once your mode was up and running I would be able to access it through the admin panel... but cannot. I need to inatall "flv     application/x-shockwave-flash     movie     Flash Player" and then its all working... so I guess the plugin hasn't installed properly.... any guidance would be appreciate.
I have tried to remove the plugin and then reinstall it but get the same error.

Regards,
Steff

Nibbler

What happens when you try to access the filetypes manager? Is the menu option there?

Halfhidden


Nibbler

Delete the entry and install again.


DELETE FROM cpg14x_plugins WHERE path = 'filetypes_editor' LIMIT 1

Halfhidden

Nibbler.... you're a genius

Thanks so much for your patients> I deleted the entry in Mysql and the plugin manager allowed the plugin to install straight away.

I really do appreciate your help.
Regards,
Steff