forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: Manutjee on January 16, 2014, 08:58:00 pm

Title: File Move 1.2 > Fatal error; how do I solve this?
Post by: Manutjee on January 16, 2014, 08:58:00 pm
I need to organize my photogalleries, and recently have started to do so at one of my sites.
Someone at my host recommended using the File Move-plugin to move files, but I can't get it to work...
I am getting this fatal error;

Code: [Select]
Fatal error: Cannot redeclare cpgGetMicroTime() (previously declared in /home/teenwolf/public_html/photos/include/init.inc.php:25) in /home/teenwolf/public_html/photos/include/init.inc.php on line 27
Link to the error: http://teenwolfonline.org/photos/index.php?file=FileMove/plugin_config

I have no idea how to solve this, what this means, or where to look for.

I found the plugin here: http://forum.coppermine-gallery.net/index.php?topic=47565.0
And I am using the third link that is provided in the first post.
Title: Re: File Move 1.2 > Fatal error; how do I solve this?
Post by: gmc on January 17, 2014, 03:24:17 am
Can't see the error since I'm not logged in as admin...

But... if you look at the board the thread you referenced is in - it is a CPG 1.4 plugin thread - which would not be compatible with CPG 1.5.
You need V1.3 of the plugin - what you downloaded was 1.2...

Many current plugins can be found at:
http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/ (http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/)

FileMove 1.3 is included at:
http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_FileMove_v1.3.zip/download (http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_FileMove_v1.3.zip/download)

Using plugin Manager, uninstall the current plugin - delete the plugin folder, and replace with the 1.3 version.

That should get you working (as I currently have this plugin running with 1.5.26.)
Title: Re: File Move 1.2 > Fatal error; how do I solve this?
Post by: Αndré on January 17, 2014, 08:57:03 am
FileMove Plugin (managing the storage folder) for cpg1.5x (http://forum.coppermine-gallery.net/index.php/topic,67661.0.html)
Title: Re: File Move 1.2 > Fatal error; how do I solve this?
Post by: Manutjee on January 17, 2014, 01:33:05 pm
Solved!