coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: doyle on April 17, 2005, 09:05:22 PM

Title: Finally SMF and coppermine are one, but...
Post by: doyle on April 17, 2005, 09:05:22 PM
I finally got the two intergrated aftr 3 days of whaterness. however now i have a problem. i was fallowing the last instructions to sync the user groups. but there is something wrong

There was an error while processing a database query

And coppermine user list cant even find the page.

however i can log in an out on my SMF boards and it logs me in and out of Coppermine perfectly fine.

what else do i need to do?
Title: Re: Finally SMF and coppermine are one, but...
Post by: kegobeer on April 17, 2005, 09:59:15 PM
Enable debug mode and post the actual error message.
Title: Re: Finally SMF and coppermine are one, but...
Post by: doyle on April 17, 2005, 10:37:09 PM
okies



While executing query "SELECT ID_GROUP as usergroupid, groupName as title FROM `winterbr_smf1`.SMF_TABLE_PREFIXSMF_GROUP_TABLE" on 0

mySQL error: Table 'winterbr_smf1.SMF_TABLE_PREFIXSMF_GROUP_TABLE' doesn't exist


File: /home/winterbr/public_html/gallery/include/functions.inc.php - Line: 105



Notice: Constant smf_ already defined in /home/winterbr/public_html/gallery/bridge/smf.inc.php on line 106

Notice: Use of undefined constant SMF_TABLE_PREFIX - assumed 'SMF_TABLE_PREFIX' in /home/winterbr/public_html/gallery/bridge/smf.inc.php on line 378

Notice: Use of undefined constant SMF_GROUP_TABLE - assumed 'SMF_GROUP_TABLE' in /home/winterbr/public_html/gallery/bridge/smf.inc.php on line 378


Here is the debug info


USER:
------------------
Array
(
    [ID] => 34fdbbd4d97ae3b4335598116a8091a2
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
           
Title: Re: Finally SMF and coppermine are one, but...
Post by: Nibbler on April 18, 2005, 10:13:02 PM
Can you post the sections of the bridge file that you have changed ?
Title: Re: Finally SMF and coppermine are one, but...
Post by: doyle on April 19, 2005, 01:46:43 AM
these are the peices i edited




// Set this to the location of your Settings file:
$path = '/board/';


// database configuration
define('SMF_DB_NAME', 'winterbr_smf1');
// The name of the database used by the board
define('SMF_DB_HOST', 'localhost');
// The name of the database server
define('SMF_DB_USERNAME', 'winterbr_smf1');
// The username to use to connect to the database
define('SMF_DB_PASSWORD', '*********'); //[edit GauGau] Removed password! [/edit]
// The password to use to connect to the database

// The web path to your SMF Board directory
define('SMF_WEB_PATH', "http://www.winterbreeze.com/board");

// The Name of the Cookie used for SMF logon
define('SMF_COOKIE_NAME', 'SMFCookie10');

// Prefix for the database tables
define('hi', 'smf_'); // Table Prefix

// Names for the database tables
define('smf_', 'members'); // The members table
define('smf_', 'membergroups'); // The groups table

Title: Re: Finally SMF and coppermine are one, but...
Post by: Nibbler on April 19, 2005, 01:46:37 PM
Put everything below

// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //


back as it was.
Title: Re: Finally SMF and coppermine are one, but...
Post by: doyle on April 20, 2005, 03:01:29 AM
um thats like EVERYTHING. Everything in the manual i was told to edit i did and you want me to put it back the way it was?
Title: Re: Finally SMF and coppermine are one, but...
Post by: Nibbler on April 20, 2005, 07:05:00 PM
No, I was joking  ::)
Title: Re: Finally SMF and coppermine are one, but...
Post by: doyle on April 24, 2005, 09:56:17 PM
BAH XD so crual :D