Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: Plugin FastEdit v11  (Read 4916 times)

0 Members and 1 Guest are viewing this topic.

rebro

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Plugin FastEdit v11
« 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:
Code: [Select]
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
Logged
My coppermine gallery is offline and I'm atm not allowed to bring it online.

Two hours of trial and error can save ten minutes of manual reading.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Plugin FastEdit v11
« Reply #1 on: July 28, 2010, 08:11:49 pm »

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

rebro

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Re: Plugin FastEdit v11
« Reply #2 on: July 29, 2010, 08:50:39 am »

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
Logged
My coppermine gallery is offline and I'm atm not allowed to bring it online.

Two hours of trial and error can save ten minutes of manual reading.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Plugin FastEdit v11
« Reply #3 on: July 29, 2010, 09:57:14 am »

The main difference between cpg1.4.x and cpg1.5.x is the use of Inspekt. Please have a look here. Maybe it's also useful to read the plugin development docs.
Logged

rebro

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Re: Plugin FastEdit v11
« Reply #4 on: July 30, 2010, 12:23:14 pm »

Thanks, i'll have a look at it.
Logged
My coppermine gallery is offline and I'm atm not allowed to bring it online.

Two hours of trial and error can save ten minutes of manual reading.
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.