Closed (fixed)
Project:
phpBB Forum Integration
Version:
6.x-2.0-beta12
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2010 at 22:24 UTC
Updated:
2 Nov 2010 at 13:20 UTC
I have a links problem. I can get the phpBB front page to show correctly within the Drupal block. But every single link adds the whole domain to the front of what it should be. So I get http://example.com/http://example.com/forums/viewforum.php?f=3
Could someone please assist?
Comments
Comment #1
WiZeR commentedanyone?
Comment #2
WiZeR commentedI would really appreciate some help here please. I've had so many problems and this looks like the last one. But I just can't work out what's going on. Everything else seems fine.
Comment #3
WiZeR commentedHi, help please?
Comment #4
alexp999 commentedWhat are your location settings in drupal for the phpbbforum module? Is the location server relative, or did you type the actual address in? And what do you have set in phpbb for the server settings? Are you using the module to provide a bridge or embed the forum? If you are embedding, have you setup the url aliases as per the install.txt file?
Your settings should look something like:
Drupal phpbbforum module:
phpbb root path:
/home/<server user>/public_html/forums/api location:
/modules/phpbbforum/includes/(or wherever the module is stored)phpbbapi:
phpbb_api.phpphpbb server settings:
Force url:
YesDomain name:
www.example.comScript path:
/forumsphpbb cookie settings
Cookie domain:
.example.com- Note the dot.Comment #5
WiZeR commentedHi thanks very much for your help. It was the internal phpBB3 settings that needed changing. I either missed this from the install instructions or they weren't there.
My forum now works but the theme is broken. I will post a new issue for that.
Cheers.
Comment #6
Marcus 78 commentedA bit of a noob at this. I´ve got the same problem.
How did you fix this problem?
Was it through editing Mysql settings or in a specific php file?
Comment #7
Marcus 78 commentedFYI
Fixed but Im gonna test this solution a bit more. It seem to work good.
I changed this line at row 78
$site_forum_url_lang = $site_forum_url = $base_url .'/'. $site_phpbb_page_lang;
to
$site_forum_url_lang = $site_forum_url = $site_phpbb_page_lang;
You will get som errors if you try to use the admin panel och searching for anybody in the pm section but you can fix it manually in the code
Might now be the best solution but it works.