coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: phpbbguy on August 06, 2005, 12:00:22 AM

Title: fixed
Post by: phpbbguy on August 06, 2005, 12:00:22 AM
hey,
i have set up the coppemine i think i have also integrated it with my phpbb forum , but when i try to login or register from the coppermine it says cannot finf file, i think that it is a problem with the redirection

in phpbb is installed in the root but it is in another folder could this be a problem "www.mydomain.com/phpbb2.xxx/phpbb"

could it be with the  cpg_redir.php  file i created

or

should i change the :

<?php
if (!$_SERVER['HTTP_HOST']) {
  $cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  $cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>


to  "www.mydomain.com/phpbb2.xxx/phpbb" instead of "Location: http://".$cpg_host.$cpg_path);[/b]"


please help, thanks in advance
Title: Re: HELP PLEAE I BEG YOU!!
Post by: Nibbler on August 06, 2005, 12:06:57 AM
You have the wrong setting for your phpbb web path in your bridge file. Make sure it is an actual path. Posting a link to your gallery would help.
Title: fixed
Post by: phpbbguy on August 06, 2005, 03:33:02 AM
fixed
Title: Re: HELP PLEAE I BEG YOU!!
Post by: Nibbler on August 06, 2005, 04:58:59 PM
Get your forum working properly first, then start thinking about integration.
Title: Re: HELP PLEAE I BEG YOU!!
Post by: kegobeer on August 06, 2005, 07:21:29 PM
And then take a peek at the Coppermine documentation - bridging is explained in section 5.
Title: Re: HELP PLEAE I BEG YOU!!
Post by: phpbbguy on August 06, 2005, 10:01:22 PM
my forum is workiing well , its integrating it with coppermine that i am having trouble with, i would apprciate help with this, thank you.
Title: Re: HELP PLEAE I BEG YOU!!
Post by: kegobeer on August 06, 2005, 10:48:09 PM
In your phpbb directory you've renamed index.php to index200.php and I have no idea why you would do that.  You should rename it back to index.php and update your links, otherwise you'll have a lot more work getting the bridge to work.  You also leave your webiste wide open to attacks - I can see your directory listing.  Browsing directly to http://www.9jaconnect.com/phpBB-2.0.16/phpBB2/index200.php redirects me to the installer, and a 404 error message, so it doesn't appear your forum is correctly installed.

Regarding the bridge: have you read the documentation like I recommended?  I'm only asking because I see your cpg_redir.php file isn't in your phpbb directory.
Title: fixed
Post by: phpbbguy on August 06, 2005, 11:23:01 PM
i had to rename the index to index200 becaue i have another home page other than the phpbb and it taking over my homepage when i left it as index.
how can i rename it to index and and still have another homepage?

and when you say brdge file do you mean to place the cpg_redir.php file in the phpbb folder? cause thats where i put it.? please get back to me, thanks.
Title: Re: HELP PLEAE I BEG YOU!!
Post by: kegobeer on August 06, 2005, 11:44:37 PM
You only have one "homepage" - index.php or index.html on the root of your website.  Subdirectories can have index.php or index.html in them and not affect your "homepage".  You have index.php in your Coppermine directory and it doesn't adversely impact your website.  If you rename index200.php to index.php and your root index.php changes, you have larger issues.
Title: fixed
Post by: phpbbguy on August 08, 2005, 11:40:09 PM
the thing is that coppermine actually has integrated with my phpbb forum because the user groups have be integrated the only thing is the login redirection and register , where exactly do i have to put the cpg_redir.php file, is it in the phpbb folder, and because my phpbb is 2 levels deep, that is "phpbb2.16/pbpBB2"  do i have to change any setup file to look for the phpBB folder in another folder or that does not matter, thanks.
Title: Re: HELP PLEAE I BEG YOU!!
Post by: Nibbler on August 09, 2005, 12:11:56 AM
You need to have bridging enabled for me to see what the problem is.
Title: Re: HELP PLEAE I BEG YOU!!
Post by: phpbbguy on August 09, 2005, 12:24:49 AM
its enabled
Title: Re: HELP PLEAE I BEG YOU!!
Post by: Nibbler on August 09, 2005, 12:36:05 AM
The forum you have here - http://www.9jaconnect.com/phpBB-2.0.16/phpBB2/ is not installed. You have to have that working first before you can bridge to it.
Title: fixed
Post by: phpbbguy on August 09, 2005, 05:32:15 AM
fixed
Title: Re: HELP PLEAE I BEG YOU!!
Post by: kegobeer on August 09, 2005, 08:38:15 PM
yoursite.com/index.php is not the same as yoursite.com/phpBB-2.0.1.6/phpBB2/index.php.  Do you have some strange redirect going on?  That would explain why you had to rename your index.php file to something else.
Title: fixed
Post by: phpbbguy on August 09, 2005, 08:50:59 PM
well i dont have a clue, is there a problem and how can i fix this,thanks.
Title: Re: HELP PLEAE I BEG YOU!!
Post by: kegobeer on August 09, 2005, 10:02:41 PM
There isn't much we can do about the way your host configured your account.  I would start by asking them about the strange redirect.