Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Problem with SMF bridging  (Read 4640 times)

0 Members and 1 Guest are viewing this topic.

dukhunter99

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 53
    • Fun Factor Photo Booth
Problem with SMF bridging
« on: April 05, 2005, 04:52:02 am »

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:
Code: [Select]
// 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

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Posts: 126
    • 森林之原
Re: Problem with SMF bridging
« Reply #1 on: April 05, 2005, 10:13:16 am »

did you chmod everything correctly?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Problem with SMF bridging
« Reply #2 on: April 05, 2005, 02:39:41 pm »

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

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 53
    • Fun Factor Photo Booth
Re: Problem with SMF bridging
« Reply #3 on: April 05, 2005, 02:45:34 pm »

I'm using version 1.3

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Problem with SMF bridging
« Reply #4 on: April 05, 2005, 02:48:40 pm »

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.
Logged
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

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 53
    • Fun Factor Photo Booth
Re: Problem with SMF bridging
« Reply #5 on: April 05, 2005, 07:04:34 pm »

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

  • Guest
Re: Problem with SMF bridging
« Reply #6 on: April 05, 2005, 07:08:48 pm »

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

dukhunter99

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 53
    • Fun Factor Photo Booth
Re: Problem with SMF bridging
« Reply #7 on: April 05, 2005, 10:03:22 pm »

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
« Last Edit: April 05, 2005, 10:20:05 pm by dukhunter99 »
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.