File Replacer for cpg1.5.x - Page 3 File Replacer for cpg1.5.x - Page 3
 

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

File Replacer for cpg1.5.x

Started by Αndré, July 07, 2009, 03:34:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Αndré

Plugin version 1.7 attached to initial post.

netb

When for instance try to replace a png file with a jpg it messes up, the file which is uploaded stays with the name of the old file and its file type (png).

Αndré

That's intended. Maybe I'll add an option to update the file name.

Sunflowergirl

Hi, i love this plugin and use it on some of my galleries.
i just started a new gallery and wanted to use it but i can't. i can upload it but i can't install it.
I only get the "Critical error
There was an error while processing a database query" message. do you have any idea what that could be?

phill104

To diagnose such a message we would need to see the debug output. Simple enable debug in the Coppermine config for the admin group then try and install. When you see your error message just below will be all the details of exactly which database error is occurring. If you could cut and paste that here we should be able to help further.
It is a mistake to think you can solve any major problems just with potatoes.

Sunflowergirl

ok, here are the details:

While executing query 'INSERT INTO cpg15x_plugins (name, path, priority) VALUES ('File replacer', 'file_replacer', 2)' in include/plugin_api.inc.php on line 448

mySQL error: Duplicate entry 'File replacer' for key 'name'

Joe Carver

Does it already show as an installed plugin in either your plugin manager or database?

Are you using a preexisting DB for the new gallery?

Sunflowergirl

it's in the plugin manager but i can't install it.
the gallery is hosted through a fansite host, so i think it's on a preexisting DB but i'm not sure about it.

Joe Carver

Use phpMyAdmin to:

  • Back up the database
  • In the _plugins table find the row with the plugin and delete the row.

Sunflowergirl

Thank you Joe for you help! it works now :)

VolkerF

Hallo

Gibt es die Möglichkeit den Replacer für die Galleryversion 1.6 umzuschreiben, ich würde ihn gern weiter nutzen.

Danke Volker

Αndré

Quote from: VolkerF on August 21, 2017, 11:40:32 AM
Hallo

Gibt es die Möglichkeit den Replacer für die Galleryversion 1.6 umzuschreiben, ich würde ihn gern weiter nutzen.

Danke Volker

Please only use English outside the language specific support boards.

Have you already tested if the current version works with cpg1.6.x?

MG

Attached polish lang file
Forum Vbulletin 4.1.11  / Portal vBadvanced CMPS v4.2.0, bridged with CPG 1.5.46, cpmfetch 2.0.0

Αndré

Thank you for your contribution. I just added it to the plugin repositories and also released an updated version of the cpg1.6.x version of the plugin.