IPB log in redirect problem! IPB log in redirect problem!
 

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

IPB log in redirect problem!

Started by Z32, August 28, 2004, 10:18:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Z32

I have just bridged Coppermine 1.3.0 with IPB 1.3 and thought i had done all the edits correctly, but obviously missed something along the way. I am having a redirect problem after logging in.  After entering my user name and password (im the admin) on the coppermine page to login, i am being redirected to (in my case) the portal of my board.  It doesn't keep me in the gallery. 

I am using Invision Power Board v1.3.1 Final and Coppermine 1.3.0

Joachim Müller

I'm not sure the bridging with ipb does support redirect back to coppermine (afaik only phpbb does). For all other bbs apps, you're recommended to add a link in your bbs' navigation (and in your case one to your portal page as well). Maybe someone who aczually uses ipb can shed some light on this: does ipb support redirect back to coppermine once a user has logged in?

Joachim

Z32

Thanks for the reply,

I cant even get the admin options to come up on the coppermine page because when i log in, it takes me back to the portal as i stated above. When i go back to the coppermine page im still not logged in, so how can i do any adminstration on coppermine??

Thats why i thought it was something i had done wrong as opposed to what you had posted in your reply.

Joachim Müller

when going back to your coppermine page using the "back" button of your browser, make sure to refresh the coppermine page (refresh button in your browser). If this still doesn't help, post a link to your bbs, to your coppermine install and a test user account (non-admin) of your bbs.

Joachim

Z32

Just tried what you mentioned above but still doing the same. Is it ok to PM you the link and log in details?

Joachim Müller

No, unless you have a very valid reason for such privacy. It's OK to post an adult link, as long as issue a warning together with the link. As I requested a non-admin test user there will no harm be done, and you can safely delete the test user account once the issue is solved.

Joachim

Z32

#6
Thanks,
I do have a valid reason on one of my boards so i wont be posting the details for that, but here are the log in deatails for my other site which i have also bridged CPG with IPB and has the exact same problems.

**Details removed


Joachim Müller

when using the login link from your coppermine install and filling in the account data, you're being sent to http://www.plateshed.com/forum/index.php?http://www.plateshed.com/members_gallery/ . This obvioulsy doesn't exist, which hints on a falsely set up bridging. Post your modifications of the brdige file (replace the password with asterisks).

Joachim

Z32

Here's the section modified in the bridge - invisionboard.inc.php

// database configuration
define('IB_DB_NAME', 'my_db_name'); // The name of the database used by the board
define('IB_BD_HOST', 'localhost'); // The name of the database server
define('IB_DB_USERNAME', '*****'); // The username to use to connect to the database
define('IB_DB_PASSWORD', '*****'); // The password to use to connect to the database

// The web path to your Invision Board directory
// In this example http://yoursite_name.com/ivboard/
define('IB_WEB_PATH', './forum/');

Joachim Müller

OK, appears to be correct. What do you have set up in coppermine config for "Target address for the 'See more pictures' link in e-cards" ? It is mandatory the link points to http://www.plateshed.com/members_gallery/, not http://www.plateshed.com/members_gallery/index.php?

Joachim

P.S. Any special reason for adding a question mark to your URLs? The question mark is used to delimit the actual domain/folder/file from the query bit of the URL, it is not needed when no query is being passed over.
P.P.S. You're free to change (or even remove/replace) the site logo in your template, but it looks kind of unfair to me to wipe out the coppermine logo and add your slogan instead. I'd prefer you remove it completely, as it suggests you don't like coppermine

Z32

Thanks for all ur help...much appreciated.

I was just being stupid with the logo but will be replacing it before i allow my members to use CPG. No one has accessed that page yet.

The question marks? I have no idea why they appear at the end of the url's. It's always been like that. I think it's an IPB thing unless someone can tell me otherwise?

As far as the settings in CPG and changing the target address, i cant access the admin options in CPG to be able to make the changes you noted above. Do i have to run CPG as standalone again then re-bridge?


Joachim Müller

either disable bridging by re-inserting the double slashes in init.inc.php, log in to the standalone, change config, re-enable bridging by removing the double slashes in front of  the ibf entry, or use a tool like phpMyAdmin to access your database directly, browse the coppermine config table and change the target address there (look for "ecards_more_pic_target").

Joachim

Z32

#12
Hi there GauGau

I did afresh install and re-did all my edits, uploaded, and it now allows me to login as Admin...however, there are still 2 problems:
1. When you login from CPG, you still get redirected back to the forum page and it displays 2 urls in the address bar; and
2. When you click on Admin Tools, and error message comes up...

While executing query "SELECT aid, category, IF(name IS NOT NULL, CONCAT('(', name, ') ',title), CONCAT(' - ', title)) AS title FROM cpg130_albums AS a LEFT JOIN ibf_members AS u ON category = (10000 + id) ORDER BY category, title" on

mySQL error: Column: 'title' in field list is ambiguous

File: /var/www/html/members_gallery/include/functions.inc.php - Line: 110


Joachim Müller

Quote from: Z32 on August 30, 2004, 11:20:34 AM
1. When you login from CPG, you still get redirected back to the forum page and it displays 2 urls in the address bar; and
How do you set up a redirect in IPB? I simply don't know the answer, 'cause I don't know the software. Maybe this is related to your usage of the questionmark in each URL, I'm not sure.

Quote from: Z32 on August 30, 2004, 11:20:34 AM
2. When you click on Admin Tools, and error message comes up...

While executing query "SELECT aid, category, IF(name IS NOT NULL, CONCAT('(', name, ') ',title), CONCAT(' - ', title)) AS title FROM cpg130_albums AS a LEFT JOIN ibf_members AS u ON category = (10000 + id) ORDER BY category, title" on

mySQL error: Column: 'title' in field list is ambiguous

File: /var/www/html/members_gallery/include/functions.inc.php - Line: 110
This is a well known issue (and well documented)  - a bug from cpg1.3.0. You should upgrade to cpg1.3.2 (and yes, this issue is not related and should not be discussed in this thread, as we have a "one question per thread" policy).

Joachim

Z32

Joachim,

Thanks for all your help. I have done the upgrade and it's all working perfectly. The double url problem is now solved (somehow). I have also skinned CPG to match the rest of my IPB and it intergrates perfectly. Love the software, with just some config'n to do now!

Thanks again.