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: SMF Intergration Problem  (Read 4946 times)

0 Members and 1 Guest are viewing this topic.

djboxny

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
    • Latin Videos and much More
SMF Intergration Problem
« on: May 30, 2004, 10:59:04 am »

Well this is wat i did.  I tuk the "//" out then in the smf.inc.php i change the SMF Brige php file to.

// Set this to the location of your Settings file:
$path = 'home/djbox/www/board/Settings.php';

also the gallery and the board are in the same databse as said in the readme.  Now i get this error when i try to go to the Gallery @ www.latinspot/gallery/


Notice: Undefined offset: 7 in /home/www/latinspot/gallery/bridge/smf.inc.php on line 70

Notice: Undefined offset: 7 in /home/www/latinspot/gallery/bridge/smf.inc.php on line 74

Warning: main(/Settings.php): failed to open stream: No such file or directory in /home/www/latinspot/gallery/bridge/smf.inc.php on line 74

Fatal error: main(): Failed opening required '/Settings.php' (include_path='.:/usr/local/lib/php') in /home/www/latinspot/gallery/bridge/smf.inc.php on line 74


No clue on wats going on?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: SMF Intergration Problem
« Reply #1 on: May 30, 2004, 05:07:41 pm »

You are meant to enter the path (folder) in which your settings file resides, so try
Code: [Select]
// Set this to the location of your Settings file:
$path = 'home/djbox/www/board';
GauGau
Logged

Nibbler

  • Guest
Re: SMF Intergration Problem
« Reply #2 on: May 30, 2004, 05:33:07 pm »

Try putting a / at the start of your path.
Logged

djboxny

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
    • Latin Videos and much More
Re: SMF Intergration Problem
« Reply #3 on: May 30, 2004, 08:39:17 pm »

OK looks like that fixed the settings folder problem.   But now i get this error



Parse error: parse error in /home/www/latinspot/gallery/bridge/smf.inc.php on line 47

Fatal error: Call to undefined function: udb_authenticate() in /home/www/latinspot/gallery/include/init.inc.php on line 182
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
Re: SMF Intergration Problem
« Reply #4 on: May 30, 2004, 09:18:54 pm »

So the path line should look like this now :-

$path = '/home/djbox/www/board';

if you put the extra / anywhere else on the line, you would get an error like what you have.
Logged
Please do not contact me for support directly - instead: post on this board!

djboxny

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
    • Latin Videos and much More
Re: SMF Intergration Problem
« Reply #5 on: May 30, 2004, 10:12:42 pm »

this is the smf.inc.php script.  i am still getting that dam error


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

djboxny

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
    • Latin Videos and much More
Re: SMF Intergration Problem
« Reply #6 on: May 31, 2004, 02:27:46 am »

anyone please?
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
Re: SMF Intergration Problem
« Reply #7 on: May 31, 2004, 02:46:11 am »

you've missed off a ' before the last semi-colon
Logged
Please do not contact me for support directly - instead: post on this board!

djboxny

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
    • Latin Videos and much More
Re: SMF Intergration Problem
« Reply #8 on: May 31, 2004, 02:53:22 am »

dammm i am going crasy.  my gallery are visited by thousans of people everyday i can't seem to get it to work.  i attaches both the smf.inc.php and the init.inc.php

heres wat i did and removed " '  " from the smf script

also the gallery is in a different database then the board.  but on the same dedicated server.  www.latinspot.com/board/ www.latinspot.com/videos-files/

// Modify the value below according to your Board installation               //
// ------------------------------------------------------------------------- //

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

// Comment this out if you want to default user's group to 'Registered'
// rather than using Post Count based groups.
define('USE_POST_GROUPS', 1);

// Set the names of implied groups here
define('CM_ADMIN_GROUP_NAME', 'Administrators');
define('CM_MEMBERS_GROUP_NAME', 'Registered');
define('CM_GUEST_GROUP_NAME', 'Anonymous');
define('CM_BANNED_GROUP_NAME', 'Banned');
define('CM_GMOD_GROUP_NAME', 'Global Moderators');

[attachment deleted by admin]
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
Re: SMF Intergration Problem
« Reply #9 on: May 31, 2004, 02:54:46 am »

No, it Should be :-


$path = '/home/djbox/www/board';
Logged
Please do not contact me for support directly - instead: post on this board!

djboxny

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
    • Latin Videos and much More
Re: SMF Intergration Problem
« Reply #10 on: May 31, 2004, 02:59:13 am »

Umm i thought u said to take the ' off?
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
Re: SMF Intergration Problem
« Reply #11 on: May 31, 2004, 03:01:16 am »

No, I said you had missed it off.
Logged
Please do not contact me for support directly - instead: post on this board!

djboxny

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
    • Latin Videos and much More
Re: SMF Intergration Problem
« Reply #12 on: May 31, 2004, 03:02:23 am »

OK guys u guys are the best thanks alot.  Hope others can be help by this topic.  ANyways everything seems to be fine but am i suppost to see all the gallery users in the Board.  Beacause the gallery has benn installed this 1 year but u just installed the Board 2 days ago.  so as u may know the board only has 1 User with is me the Admin.  Now is there any more steps needed

so the board can have all the Users from the gallery?.
« Last Edit: May 31, 2004, 03:30:52 am by djboxny »
Logged

djboxny

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
    • Latin Videos and much More
Display uploader name below the thumbnail
« Reply #13 on: May 31, 2004, 07:10:13 am »

for some reason after intergratin the names of the Uploaders is not showing in the last Uplload page or nowere.  this is happening after i successfully intergrated CPG with SMF. now all i need is a Intergration from SMF to CPG so my old CPG users can log in too



No Problem
« Last Edit: May 31, 2004, 08:53:55 am by djboxny »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: SMF Intergration Problem
« Reply #14 on: May 31, 2004, 07:35:23 am »

Creating all users that used to exist in coppermine standalone (without bbs integration) in SMF as well can be done, although it requires some skills with php and mySQL. There is currently no conversion script available. I recommend you ask your users to re-register. If you don't want that, you'll have to register for them (might take some time, depending on the size of your community) or not use smf integration.

GauGau

P.S. Merged two of your posting dealing with the same issue. Please don't double-post.
P.P.S. You were already told: there's no support for cpg1.3.0 yet, as it's still beta. Please stop posting cpg1.3.0 support requests.
« Last Edit: May 31, 2004, 07:51:49 am by GauGau »
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.