forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: dunning72 on September 10, 2011, 11:29:50 pm

Title: Plugin Help Please
Post by: dunning72 on September 10, 2011, 11:29:50 pm
What does this mean? My site is not up. What plugin is the problem and how do I get it? Thank you.

While executing query "select * from cpg_plugins order by priority asc;" on 0

mySQL error: Table 'blo0734205505539.cpg_plugins' doesn't exist

-Mike
Title: Re: Plugin Help Please
Post by: Αndré on September 12, 2011, 01:54:59 pm
Quote
mySQL error: Table 'blo0734205505539.cpg_plugins' doesn't exist

Means: the required plugin table doesn't exist in your database (for whatever reason). If you have a backup, restore the table from there. If you have no backup, you can create that table with a tool like PHPMyAdmin:
Quote from: sql/schema.sql
#
# Table structure for table CPG_plugins
#
CREATE TABLE CPG_plugins (
  plugin_id int(10) unsigned NOT NULL auto_increment,
  name varchar(64) NOT NULL default '',
  path varchar(128) NOT NULL default '',
  priority int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (plugin_id),
  UNIQUE KEY name (name),
  UNIQUE KEY path (path)
) COMMENT='Stores the plugins';
# --------------------------------------------------------
Title: Re: Plugin Help Please
Post by: dunning72 on September 20, 2011, 04:27:19 am
I simply restored the database to an earlier time. The plugin was somehow missing. Thank you for the help. 8)
Title: Re: Plugin Help Please
Post by: Αndré on September 20, 2011, 10:13:02 am
Please
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.