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]   Go Down

Author Topic: Plugin FastEdit v11  (Read 6120 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: 15764
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: 15764
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.04 seconds with 19 queries.