I do not know, if this is a bug or configuration problem:

The symptoms:

  • When I use phpbbforum in a frame everything works fine, except that the real path "/path/to/phpbb/index.php" instead of "phpbbforum" is used.
  • When I use phpbbforum inside Drupal page the generated links should look like "mydomain.de/phpbbforum/..." but look like "mydomain.de/de/phpbbforum/..."
  • When I use phpforum inside a frame "phpbbforum" is not recognized as a valid path

My Configuration:

* Clean URLs
* Force Server URL
* Latest patches for phpBB 3.0.6

Comments

Lemontonic’s picture

P.S.:
Just downgraded to Beta 8 without any further configuration changes:
Now my sites works perfectly like expected
=> Proof that there is a bug in Beta 9

filiptc’s picture

Title: Problem with path mapping » Path mapping issues in beta9
Priority: Normal » Critical

Can confirm this at 100%. Looking into a quick fix right now although vb would be quicker since it's his code. CRITICAL!

filiptc’s picture

Status: Active » Needs review

Ok. Try this if you're having this issue:

Comment out lines 62,63 and 64 of phpbbforum.module:

...

//  if ($language->prefix){
//    $site_phpbb_page_lang = $language->prefix .'/'. $site_phpbb_page;
//  }

...

As everything that is done sloppily and as a quick fix, a warning: it might eat your baby.

charlieobrian’s picture

In Drupal language settings you can define what are the prefixes for the used languages. If you are only using one language, go there and empty the prefix line.

filiptc’s picture

Status: Needs review » Fixed

So this is not a bug?

charlieobrian’s picture

I only use one language so this is an easy "fix".

If you use several languages you have to check it how it works..

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.