| Author |
Message |
guillem
Beginner


Joined: Oct 09, 2006 Posts: 3
|
Posted: Thu Oct 12, 2006 4:37 am Post subject: cgi-system trouble in a fresh integration |
|
|
I just installed phpbb plus gallery2. Both work by their own, but as well as I install the integration some problems appear.
I installed the forum in the root folder and the gallery in a folder called "galeria". I'm using gallery2 and phpbb 2.0.19.
In the gallery page linked from the forum, all the URL (including images) have a string like mysite/cgi-system/whatisthere instead of mysite/whatisthere. I tried to change the phpb_root_path in gallery2.php to "", "/" and also I tried to move my forum to /foro and set the path to foro/, but it didn't work.
Does anybody know how can I fix that problem? I tried to search in this forum, but I wasn't able to find anything concluding. Is there any thread talking about that?
Thank you all[/i] |
|
| Back to top |
|
|
AdBot
|
| Post subject: cgi-system trouble in a fresh integration |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Thu Oct 12, 2006 6:41 am Post subject: Re: cgi-system trouble in a fresh integration |
|
|
what are your integration settings? _________________
 |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Thu Oct 12, 2006 6:41 am Post subject: Re: cgi-system trouble in a fresh integration |
|
|
what are your integration settings? _________________
 |
|
| Back to top |
|
|
guillem
Beginner


Joined: Oct 09, 2006 Posts: 3
|
Posted: Thu Oct 12, 2006 10:04 am Post subject: Re: cgi-system trouble in a fresh integration |
|
|
URL path to the gallery2 directory: /galeria/
URL path to gallery2.php: /gallery2.php
Full file path to embed.php: /home/.fleur/polloskin/polloskin.com/galeria/embed.php
Active Admin ID: 2
UTF-8 Translation: Enable
Do you mean that?
I forgot to say that I'm in a shared host by Dreamhost.
Thx dari |
|
| Back to top |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1047
|
Posted: Thu Oct 12, 2006 11:43 am Post subject: Re: cgi-system trouble in a fresh integration |
|
|
1. I think your settings look ok
2. Leave phpbb_root_path the way it was (./) you shouldn't need to change that
3. Try commenting out this code in gallery2.php
Code: › /*
$template->assign_block_vars('switch_phpbb_base', array(
'PHPBB_BASE' => strtolower(substr($_SERVER['SERVER_PROTOCOL'], 0, strpos($_SERVER['SERVER_PROTOCOL'], '/'))) . '://' . $_SERVER['HTTP_HOST'] . substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/') + 1))
);
*/ |
|
| Back to top |
|
|
guillem
Beginner


Joined: Oct 09, 2006 Posts: 3
|
Posted: Thu Oct 12, 2006 12:57 pm Post subject: Re: cgi-system trouble in a fresh integration |
|
|
It seems now is working.
Thank you very much jettyrat  |
|
| Back to top |
|
|
blaize
Beginner


Joined: May 11, 2004 Posts: 11
|
Posted: Sun Oct 29, 2006 9:10 pm Post subject: Re: cgi-system trouble in a fresh integration |
|
|
guillem wrote: › It seems now is working.
Thank you very much jettyrat 
I'm on dreamhost too and had to apply this fix so thanks too.
blaize |
|
| Back to top |
|
|
|
|
|
|
|