forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: rebro on July 28, 2010, 11:59:29 am
-
Hello *,
i've installed the FastEdit Plugin. Whenever I try to change a keyword nothing happens.
As Administrator I get the following error message
Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /var/www/coppermine/include/init.inc.php:27) in /var/www/coppermine/include/init.inc.php on line 29
The lines in init.inc.php are:
25: function cpgGetMicroTime()
26: {
27: list($usec, $sec) = explode(' ', microtime());
28: return ((float)$usec + (float)$sec);
29: }
Any idea whats wrong?
Unortunaly the gallery is offline, so I can't give you access.
If you need any other sites please ask.
greets
rebro
-
I assume that you're using a plugin that was designed for cpg1.4.x and has to ported to cpg1.5.x before you can use it.
-
Hi André,
thanks for your reply.
Is there a manual page how to port a plugin from 1.4.x to 1.5.x?
greets
rebro
-
The main difference between cpg1.4.x and cpg1.5.x is the use of Inspekt. Please have a look here (http://documentation.coppermine-gallery.net/en/dev_superglobals.htm). Maybe it's also useful to read the plugin development docs (http://documentation.coppermine-gallery.net/en/dev_plugins.htm).
-
Thanks, i'll have a look at it.