Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 2 [3]   Go Down

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

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
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: 82
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: 15764
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

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • 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: 1543
  • 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: 1543
  • 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: 200
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: 15764
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

MG

  • Contributor
  • Coppermine newbie
  • ***
  • Country: pl
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • om
Re: File Replacer for cpg1.5.x
« Reply #52 on: January 31, 2019, 08:12:07 pm »

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: File Replacer for cpg1.5.x
« Reply #53 on: March 15, 2019, 09:58:02 pm »

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

Page created in 0.022 seconds with 19 queries.