Integrating With Land Down Under (LDU) - Page 2 Integrating With Land Down Under (LDU) - Page 2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Integrating With Land Down Under (LDU)

Started by byroman, November 04, 2005, 01:04:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

byroman

There is also a box called Path For Cookies.

Nibbler

Please provide a working login and re-read the instructions at the top of the bridge file.

byroman

Ok well I have already provided a working log in. In the box for path for cookies I have already placed a slash. What is going on here!

byroman

Quote from: byroman on November 05, 2005, 02:05:05 PM
Ok ive made one. Go to my gallery ( http://ib.crazygaming.net/cpg135/ ) and click on log in at the top. Then log in with this:

Username: Test Dummy
Password: Password

Nibbler

The correct username is 'test dummy' without capitals. The integration seems to be working fine, congratulations.

byroman

Quote from: Nibbler on November 05, 2005, 02:54:14 PM
The correct username is 'test dummy' without capitals. The integration seems to be working fine, congratulations.

??? Its not working fine for me!!!! When I log in it takes me back to my home page, so I paste the URL of my gallery into the adress bar to go back. I am logged in at my website, but not at the gallery!!! What is going on!!

kegobeer

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

byroman


byroman

Im starting to get frustrated with this. If it can not be integrayed with LDU properly then im going to stop wasting my time and fnd a new galery that will work for me.

Nibbler

Go to http://www.ib.crazygaming.net/cpg135/
Click login
Enter test account details
Pick a remember me period of a few hours
Click submit
Go to http://www.ib.crazygaming.net/cpg135/
You are now logged into the gallery and LDU.

Remember to be consistant with the www and there will be no issues.

byroman

This is all very confusing, but yes thanks now it is working.

Joachim Müller

ib.crazygaming.net is not the same as www.ib.crazygaming.net - sub-domains are different domains. Make sure to have all links use the domain part of the url with the starting www sub-domain or all without it. You mustn't have a mish-mash.
After having done this, I recommend setting up an .htaccess file that redirects all users accessing your site with the leading www to the url without the www or vice versa.

rickyspires

hello,

im trying to install coppermine with Land Down Under (LDU) and am having some problems.

could some one please look at what i have done is write or wrong for me..? then correct me.


my site is www.mysk8.com
coppermine is at www.mysk8.com/cpg142

my bridge ldu.inc.php file looks like this:

// URL of your ldu
$path = 'http://www.mysk8.com/';

// local path to your ldu config file
require_once('http://www.mysk8.com/datas/config.php');


// automatic configuration
define('PUNBB_DB_NAME', $cfg['mysk8']); // The name of the database used by the board
define('PUNBB_DB_HOST', $cfg['localhost']); // The name of the database server
define('PUNBB_DB_USERNAME', $cfg['mysk8']); // The username to use to connect to the database
define('PUNBB_DB_PASSWORD', $cfg['*********']); // The password to use to connect to the database






the init.inc.phpfile:

its odd because i know you say to just add the code  define('UDB_INTEGRATION', 'ldu'); in the forum post but the init.inc.php file for the new download of coppermine 1.4.2 seems to be missing the bit of code below:

// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');



so what do i need to do?

my init.inc.php file looks like this:

// Set UDB_INTEGRATION if enabled in admin
if ($CONFIG['bridge_enable'] == 1 && !defined('BRIDGEMGR_PHP')) {
    $BRIDGE = cpg_get_bridge_db_values();
} else {
  $BRIDGE['short_name'] = 'coppermine';
  $BRIDGE['use_standard_groups'] = 1;
  $BRIDGE['recovery_logon_failures'] = 0;
  $BRIDGE['use_post_based_groups'] = false;
}


define('UDB_INTEGRATION', 'ldu');


require_once 'bridge/' . UDB_INTEGRATION . '.inc.php';


is this ok??????


the error my site is giving is:

Coppermine critical error:
Unable to connect to PunBB database !

MySQL said:


many thanks..

ricky.

Nibbler

The file is designed for 1.3, it won't work with 1.4.

rickyspires

hello,

i can't seem to find the 1.3 download. could you please provide me with a url...

also, is it possible to update the bridge file or something to make 1.4.2 work?

thanks

ricky

:'(


rickyspires

thanks for that,

im getting there..

but i have another question. sorry.

im not sure if this is a question for u and not ldu but here goes.

if you go to www.mysk8.com/cpg135 you can see its there and if you click login it does take you back to the login page of ldu, but then once i login (as admin) it takes me back to the ldu index page and not coppermine. also when i return to coppermine after logging in, it doesn't show that i have logged in?

any ideas?

this is how my ldu.inc.php file looks
is this correct?

my site is www.mysk8.com
my coppermine is at www.mysk8.com/cpg135

Code:
// URL of your ldu
$path = 'http://www.mysk8.com/';

// local path to your ldu config file
require_once('../datas/config.php');



one more question:

how do i get it to show within my ldu skin and not on a new page, like they have done on this site: http://www.ashundar.com/plug.php?e=coppermine

sorry to keep bothering you.

thanks for all your help.

;D

Nibbler

If you want support with login issues always post a test user account.