(CPGPicdownload): v1.2 (CPGPicdownload): v1.2
 

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

Main Menu

(CPGPicdownload): v1.2

Started by jrvw, January 05, 2014, 05:13:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jrvw

Hi

Im using cpg15x  and this is my problem

I use this plugin for download but when clicking download I see this

Fatal error: Cannot redeclare cpgGetMicroTime() (previously declared in D:\xampp\htdocs\rotterdamcloud.tk\include\init.inc.php:25) in D:\xampp\htdocs\rotterdamcloud.tk\include\init.inc.php on line 27

How to fix this or an other tip about a plugin that I can use to download a content file from the site.

Please help me  this is the only problem that i got

gmc

I'm not finding any reference to this plugin name on the forum - or in the repository...
Can you provide a link to where you got this from? (download and/or thread in forum)

The error is attempting to include the CPG file 'include/init.inc.php' a second time - which tries to redefine the core CPG functions - the first encountered is cpgGetMicroTime - which flags the error.
Without looking at the plugin source - I can't see why.

Is the gallery accessible on the web?  the error messages show your 'D:' drive..
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

jrvw

Hi Greg

I think I got it because its a 1.4 version plugin that I got from coppermine plugins.
Maybe that's why its not working good,  but still strange because the other plugins it says its not for my version 1.5 and it doesn't say that with this plugin.

the plugin I got from = at line 21  >> http://coppermine-gallery.net/plugins.php?cpg_version=4&sort=category&submit=

Yes its say D: because my server is install at drive D:

En yes the gallery is online greg you can visit it by http://rotterdamcloud.tk

And I put the files also for guest so I can test it if its working for all members and guest


Thanks for the helping Greg

jrvw

Hi Greg

Is there no other plugin that I can use to let people download there content file.

If there is another one then the problem is also solved.

Because that the only thing bugging my right  now,  How to download it back or that people can download it from the site

Thanks Greg

gmc

Good chance a 1.4 plugin won't work with 1.5... (and I didn't think to look in 1.4 for it...)

You can try one of these - both located at:
http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/

Download resized
'Lets a user download different sized variations of the original image.'
http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_download_resized_v1.2.zip/download

Add Pic Downlink Link
'This plugin will add a download link to the picture page'
http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_download_link_v1.3.zip/download

See if either of these meet your needs - or may be something else at same location.
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

phill104

Another option would be this plugin - http://forum.coppermine-gallery.net/index.php/topic,74257.0.html

It allows you to download a complete album as a zip file. I have not tested to see if it works with Meta Albums, though I can see no reason why not. If it does the user can simply add all the images they want to download to their favourites then download that as a zip.
It is a mistake to think you can solve any major problems just with potatoes.