forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: djboxny on May 30, 2004, 10:59:04 am

Title: SMF Intergration Problem
Post by: djboxny 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?
Title: Re: SMF Intergration Problem
Post by: Joachim Müller 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
Title: Re: SMF Intergration Problem
Post by: Nibbler on May 30, 2004, 05:33:07 pm
Try putting a / at the start of your path.
Title: Re: SMF Intergration Problem
Post by: djboxny 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
Title: Re: SMF Intergration Problem
Post by: jack 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.
Title: Re: SMF Intergration Problem
Post by: djboxny 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;
Title: Re: SMF Intergration Problem
Post by: djboxny on May 31, 2004, 02:27:46 am
anyone please?
Title: Re: SMF Intergration Problem
Post by: jack on May 31, 2004, 02:46:11 am
you've missed off a ' before the last semi-colon
Title: Re: SMF Intergration Problem
Post by: djboxny 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]
Title: Re: SMF Intergration Problem
Post by: jack on May 31, 2004, 02:54:46 am
No, it Should be :-


$path = '/home/djbox/www/board';
Title: Re: SMF Intergration Problem
Post by: djboxny on May 31, 2004, 02:59:13 am
Umm i thought u said to take the ' off?
Title: Re: SMF Intergration Problem
Post by: jack on May 31, 2004, 03:01:16 am
No, I said you had missed it off.
Title: Re: SMF Intergration Problem
Post by: djboxny 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?.
Title: Display uploader name below the thumbnail
Post by: djboxny 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
Title: Re: SMF Intergration Problem
Post by: Joachim Müller 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.