Problem with SMF bridging Problem with SMF bridging
 

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

Problem with SMF bridging

Started by dukhunter99, April 05, 2005, 04:52:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dukhunter99

Hello,

I attempted to bridge my smf board to coppermine. I believe that I followed the directions according to the manual but I'm getting errors. This is what it said:

Notice: Undefined offset: 7 in /home/bestd2/public_html/photogallery/bridge/smf.inc.php on line 73

Notice: Undefined offset: 7 in /home/bestd2/public_html/photogallery/bridge/smf.inc.php on line 77

Warning: main(/Settings.php): failed to open stream: No such file or directory in /home/bestd2/public_html/photogallery/bridge/smf.inc.php on line 77

Fatal error: main(): Failed opening required '/Settings.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bestd2/public_html/photogallery/bridge/smf.inc.php on line 77

This is how I modified the code in smf.inc.php:
// database configuration
define('SMF_DB_NAME','bestd2_smf'); // The name of the database used by the board
define('SMF_DB_HOST','localhost'); // The name of the database server
define('SMF_DB_USERNAME','XXXXXX'); // The username to use to connect to the database
define('SMF_DB_PASSWORD','XXXXXX'); // The password to use to connect to the database

// The web path to your SMF Board directory
define('SMF_WEB_PATH', "http://www.best-guns.com/sportsmansforum");

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

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

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


Can someone tell me what I did wrong?

CapriSkye

did you chmod everything correctly?

kegobeer

What version of Coppermine are you using?
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

dukhunter99


kegobeer

Have you considered upgrading to 1.3.2?  Depending on how your server is configured, you may not be able to include/require a file if you use a url instead of a relative path.  The 1.3.2 version uses a relative path, which is why I recommend upgrading.
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

dukhunter99

O.K.,

I've decided to completely start over. I've removed my old version of coppermine and smf and am installing clean versions. I'm installing coppermine 1.3.2 as KegoBeer suggested. Now it says in order to inegrate the two, you need to have them both in the same database. Should I create a database in Cpanel first and then install both cpg and smf in the database or let smf create the database for me and them configure coppermine to that database?
Or is there a better way. i'm definetly open for suggestions ;)

Nibbler

Doesn't make any difference. Be sure to specify an actual path as SMF_WEB_PATH.

dukhunter99

#7
When you say specify right path, do you mean the database name. I've set the database name.

Would this work O.K.

bestd2_smfcopp