MySQl table errors on SMF integration MySQl table errors on SMF integration
 

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

MySQl table errors on SMF integration

Started by pbdoggie, November 19, 2005, 02:30:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pbdoggie

I am trying to bridge/integrate SMF 1.0.5 and CPG 1.3.5 and followed the tutorial.  However I get the following errors when installing CPG:
The following errors were encountered and need to be corrected first:

mySQL Error: Table 'smf_categories' already existson query ' CREATE TABLE smf_categories ( cid int(11) NOT NULL auto_increment, owner_id int(11) NOT NULL default '0', name varchar(255) NOT NULL default '', description text NOT NULL, pos int(11) NOT NULL default '0', parent int(11) NOT NULL default '0', thumb int(11) NOT NULL default '0', subcat_count int(11) NOT NULL default '0', alb_count int(11) NOT NULL default '0', pic_count int(11) NOT NULL default '0', stat_uptodate enum('YES','NO') NOT NULL default 'NO', PRIMARY KEY (cid), KEY cat_parent (parent), KEY cat_pos (pos), KEY cat_owner_id (owner_id) ) TYPE=MyISAM'

I tried deleting the tables via phpmyadmin and another table would give me the problem.
Fresh Fantastico install of SMF.  I uploaded CPG via ftp.  Changed the files for CPG per tutorial.  Using the same database info as SMF.

kegobeer

It looks like you are:

1.  Trying to install Coppermine with a bridge already enabled.  Bridge only after Coppermine is installed and working.
2.  Using the same table prefix for SMF and Coppermine.  They must be in the same database, but the table prefixes must be different, ie: smf10_ and cpg135_

Here's what you need to do:  Install SMF and get it working.  Install Coppermine and get it working.  After you complete those steps, then bridge Coppermine with SMF.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

pbdoggie

Quote from: kegobeer on November 19, 2005, 02:45:26 AM

2.  Using the same table prefix for SMF and Coppermine.  They must be in the same database, but the table prefixes must be different, ie: smf10_ and cpg135_

That's what I was doing wrong.

Thanks for the quick reply.

MIRROR

Just want to echo that i have followed this short discussion with interest and it will useful for my own integration with either SMF or phpBB. Thanks for the topic.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.21stcentury.roxr.com%2Fimages%2Fgraphic.jpg&hash=7ebf523c9828d28aa48211f093b87932c35a1001)