forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: dreams83 on March 09, 2007, 08:58:01 pm

Title: extra / in url after bridge
Post by: dreams83 on March 09, 2007, 08:58:01 pm
I have  cpg1.4 modpack by Stramm the latest version with the lastest cpg and after bridging it with phpbb 2.0.22 i get an extra / in the url

like after signing in i get the address like:

http://www.ehmongmusic.com//?sid=5c44c266dc023112731d746e974f461d

it works but just doesn't look right. It is suppose to be like that?


Thank You
Title: Re: extra / in url after bridge
Post by: nickfzx on March 09, 2007, 09:05:54 pm
nice site btw

it doesn't matter that the 2 slashes are there...you could have 6 slashes there and it would still work the same.

Looking at your site I think it is an issue with the login redirect url set by phpbb.

you may notice that the url when you hit login says:
http://www.ehmongmusic.com/forum/login.php?redirect=..//

try altering that.
Title: Re: extra / in url after bridge
Post by: Nibbler on March 09, 2007, 09:17:24 pm
Assuming this is not a modpack issue, you can remove the extra slash in bridge/phpbb2018.inc.php

Code: [Select]
$redirect = str_repeat('../', $levels) . trim($cpg['path'], '/') . '/';

Change it to

Code: [Select]
$redirect = str_repeat('../', $levels) . trim($cpg['path'], '/');
Title: Re: extra / in url after bridge
Post by: dreams83 on March 09, 2007, 09:34:59 pm
thank you

so if its not a problem i will just leave it be :-)
Title: Re: extra / in url after bridge
Post by: nickfzx on March 09, 2007, 09:37:09 pm
i am fairly sure if you just opened login.php in your forum folder, located the redirect url and removed one of the slashes at the end it would fix the problem.
Title: Re: extra / in url after bridge
Post by: Nibbler on March 09, 2007, 09:56:58 pm
No.
Title: Re: extra / in url after bridge
Post by: dreams83 on March 09, 2007, 11:26:04 pm
replaced the code and it works now.

Thank You