Advanced search  

News:

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

Pages: 1 2 [3]   Go Down

Author Topic: File Replacer for cpg1.5.x  (Read 47348 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15415
Re: File Replacer for cpg1.5.x
« Reply #40 on: April 10, 2013, 02:35:05 pm »

Plugin version 1.7 attached to initial post.
Logged

netb

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81
Re: File Replacer for cpg1.5.x
« Reply #41 on: April 04, 2014, 01:15:19 am »

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).
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15415
Re: File Replacer for cpg1.5.x
« Reply #42 on: April 04, 2014, 10:30:11 am »

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

Sunflowergirl

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: File Replacer for cpg1.5.x
« Reply #43 on: April 25, 2014, 10:22:40 pm »

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?
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4482
    • Windsurf.me
Re: File Replacer for cpg1.5.x
« Reply #44 on: April 25, 2014, 10:38:11 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Sunflowergirl

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: File Replacer for cpg1.5.x
« Reply #45 on: April 26, 2014, 12:07:29 am »

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'
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1498
  • aka 'i-imagine'
    • Home Page
Re: File Replacer for cpg1.5.x
« Reply #46 on: April 26, 2014, 12:48:40 am »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: File Replacer for cpg1.5.x
« Reply #47 on: April 30, 2014, 09:37:18 pm »

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.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1498
  • aka 'i-imagine'
    • Home Page
Re: File Replacer for cpg1.5.x
« Reply #48 on: May 01, 2014, 12:56:27 am »

Use phpMyAdmin to:
  • Back up the database
  • In the _plugins table find the row with the plugin and delete the row.

Sunflowergirl

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: File Replacer for cpg1.5.x
« Reply #49 on: May 08, 2014, 09:33:37 pm »

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

VolkerF

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Posts: 179
Re: File Replacer for cpg1.5.x
« Reply #50 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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15415
Re: File Replacer for cpg1.5.x
« Reply #51 on: August 21, 2017, 07:39:57 pm »

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?
Logged
Pages: 1 2 [3]   Go Up
 

Page created in 0.018 seconds with 22 queries.