annotation instalation error annotation instalation error
 

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]

Main Menu

annotation instalation error

Started by leeni, September 15, 2015, 03:08:19 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

leeni

Hello,
I tring install the annotation plugin. Put all dowloadid files on catalog, so I can see the plugin under plugin manager, but when I try to install them I got message - Critical Error Database Query Error occur.
version 1.5.38 and plugin v3.0

Is there some of files missing or am I missing something?

Thanks

Αndré

Please enable debug mode in the Coppermine config and try again to get an extended error message.

leeni

While executing query '


CREATE TABLE IF NOT EXISTS `pcan_plugin_annotate` (
  nid smallint(5) unsigned NOT NULL auto_increment,
  pid mediumint(8) unsigned NOT NULL,
  posx smallint(5) unsigned NOT NULL,
  posy smallint(5) unsigned NOT NULL,
  width smallint(5) unsigned NOT NULL,
  height smallint(5) unsigned NOT NULL,
  note text NOT NULL,
  user_id smallint(5) unsigned NOT NULL,
  PRIMARY KEY  (nid)
) TYPE=MyISAM  COMMENT='Contains the data for the annotate plugin'' in plugins/annotate/codebase.php on line 328

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE=MyISAM  COMMENT='Contains the data for the annotate plugin'' at line 11

Fail: /data01/virt49169/domeenid/www.ajatunnetus.ee/malestused/fotod/include/functions.inc.php - Row: 272

Αndré

In codebase.php, find and remove
TYPE=MyISAM  COMMENT='Contains the data for the annotate plugin'
and try to install again.

leeni

No such text on this file.
Quote from: Αndré on September 18, 2015, 08:31:35 PM
In codebase.php, find and remove
TYPE=MyISAM  COMMENT='Contains the data for the annotate plugin'
and try to install again.

Krys

Hello,

I would suggest to replace "TYPE" by "ENGINE", this keyword is deprecated since a long time now.

Αndré


leeni