Alright I've done my homework, I've searched the forums, chances are with all the topics I'm sure I missed someting however, but I'm going to ask for help.
First I'm getting the fatal error thing, no this is not about that, I found the fix in some topic, followed the instructions, found that the problem is that I'm running IPB 2, and so after I replace the line of code everything works fine except one thing.
When I click login, it says getanimed.comhttp cannot be found. Now I know for a fact it is the bridge that is causing the trouble because when I turn ipb's line into comments in init.inc.php it works fine. And no that is not a mispelling, it comes out as getanimed.comhttp
My installation is located at http://www.getanimed.com/coppermine/
Debug doesn't seem to reveal much, as it seem it's the page the login page is linked too...yes my sql tables and user names are correct.
EDIT:mm I just noticed this is in the wrong forum...please move it...
In the bridge file you are asked for the path to your forum. Please put in the path to your forum, not the url.
hmm I read an article on that earlier...and I tried it and it didn't work..it works now...strange..kind of
first it does work, but after you login it stays on the ipb board page, and you have to revisit the copermine page, and second on firefox it doesn't work at all(I used IE in the other one)you can login onto the forums via the coppermine thing, and then it seems normal, but when you go back to coppermine it hasn't logged yourself in....its not my cookies...I've checked...
Test user and password, please.
user
t3st
pw
test
thanks.
http://www.getanimed.com/coppermine/
The referer doesn't work, but I"m logged in perfectly in your forum and your gallery. You should delete your cookies and try again. Also, remember that http://www.yoursite.com is not the same as http://yoursite.com when dealing with cookies.
So what should I edit? I didn't touch ipb's cookies so I left the cookie settings in the file alone...
Delete the cookies from your browser cache, log into your forum, then go to your gallery and see if you are logged in. Once that works, then worry about the referer.
Turns out you were right...thanks! I had to clear the cookies...now how do I fix the referer?
Looks like the redirect url isn't correct. Open up the invisionboard.inc.php, look for
$target = 'index.php?&act=Login&CODE=00';
and change to
$target = 'index.php?act=Login&CODE=00';
I don't know if that will fix the referer problem, but it needs to be corrected.
While you're in there, change
$target = 'index.php?&act=Login&CODE=03';
to
$target = 'index.php?act=Login&CODE=03';
and
$target = 'index.php?&act=Reg&CODE=00';
to
$target = 'index.php?act=Reg&CODE=00';
Basically, change ?&act to ?act wherever you find it.
The first one made the page turn give an error..
Parse error: parse error, unexpected T_STRING in /home/zerorave/public_html/getanimed-com/coppermine/bridge/invisionboard.inc.php on line 28
EDIT: so did the other edits...
What exactly did you change? Removing & should not cause an error almost 200 lines above it.
You should have this:
// Register
function udb_register_page()
{
$target = 'index.php?act=Reg&CODE=00';
udb_redirect($target);
}
// Login
function udb_login_page()
{
$target = 'index.php?act=Login&CODE=00';
udb_redirect($target);
}
// Logout
function udb_logout_page()
{
$target = 'index.php?act=Login&CODE=03';
udb_redirect($target);
}
Hmm I think I had some bad php code...so what I did was I reuploaded the file to start all over..the problem was that the saved file was before I made the fatal error fix...I know it involves replacing a piece of php code..the forum url is a path..but now I need to refix the fatal error thing...how do I fix it?
Download a new copy of Coppermine from our site, extract the invision bridge file, apply my changes and any bridge specific changes you already applied, and upload it.
The thing is that I can't find the fatal error fix anymore...just alot of topics that don't seem to answer what I'm looking for...
The fixes you posted (those two posts) were already in the file, I didn't need to change anything...I found the fix again..fixed it...so all that's left is the referrer...I don't know what the code you asked me to replace was but I guess that wasn't it...
Without seeing exactly how your bbs handles the redirect, I can't give you any more help. Maybe Nibbler can offer some advice.
*bump* is there no solution?
thanks
post the needed details!
*points up*
The referrer is not working properly, after I click login in coppermine it sends me to ipb to login, I do and then it just sends me to the board home page, not that coppermine installation. It's obvious there's some thing wrong as the url shows it...
http://www.getanimed.com/forum/index.php?http://getanimed.com/coppermine/index.php
The test account is still valid...
user: t3st
pw: test
any more info?
http://forum.coppermine-gallery.net/index.php?topic=17684.0
I know you're probably too busy to read all of the posts in this topic already but they were actually up there...
Quote from: ZeRoRaVeN on September 13, 2005, 04:02:30 AM
user
t3st
pw
test
thanks.
http://www.getanimed.com/coppermine/
I realized that you have posted link, username and password, but you haven't posted your changes in the bridge file as suggested in the thread I refered to:
Quote from: Nibbler on May 06, 2005, 10:04:34 PM
Please post a link to your site, a test user account, and what you have changed in the bridge file.
::)
There's really no significat change besides the required ones...
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation //
// ------------------------------------------------------------------------- //
/// database configuration
define('IB_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/');
// ------------------------------------------------------------------------- //
// You can keep the default values below if your installation is standard
// ------------------------------------------------------------------------- //
// The prefix for the Invision Board cookies
define('IB_COOKIE_PREFIX', ''); // The prefix used for board cookies
// Prefix and names for the database tables
define('IB_TABLE_PREFIX', 'ibf_'); // The prefix used for the DB tables
define('IB_USER_TABLE', 'members'); // The members table
define('IB_SESSION_TABLE', 'sessions'); // The sessions table
define('IB_GROUP_TABLE', 'groups'); // The groups table
// Group definitions (default values used by the board)
define('IB_VALIDATING_GROUP', 1);
define('IB_GUEST_GROUP', 2);
define('IB_MEMBERS_GROUP', 3);
define('IB_ADMIN_GROUP', 4);
define('IB_BANNED_GROUP', 5);
define('IB_SUPER_MODERAORS', 6);
define('IB_1337_MEMBERS', 7);
The only big change I really made was adding the define('IB_1337_MEMBERS', 7);
it doesn't seem like much...thanks...