Followed all installation instructions carefully, when entering the path to phpBB in the modules settings I get a blank white screen and can no longer get back into the settings.

This is not a memory issue.

any ideas?

Comments

problue solutions’s picture

I removed everything and started again using the 6.x-dev version of the module, same problem.

My phpBB3 installation is using the same database as drupal, could this be a problem?

also when looking for support I found a post saying to copy a file called functions_user.php, this file does not exist in any directory when the module is unpacked, does this just relate to an earlier version of the module?

vb’s picture

>My phpBB3 installation is using the same database as drupal, could this be a problem?
I did not test. I'd recommend to start playing with 2 separate db.
>functions_user.php
it is for 1.0 version. For 2.0 you must patch a lot of functions. Read INSTALL.txt.
You can download already patched files from http://vgb.org.ru/files/phpBB-embed-3.0.4-files.zip
That is all that I can do for you. WSOD is not the module question but your mistakes.

Grizz’s picture

functions_user.php is in the phpbb folder includes

You only have to restore the original file if you are upgrading from 6.1x to 6.x-2 of the module

In 6.1x, there is/was a functions_user.php file in the module that had to replace the one in phpbb

using the 6.x-dev version upgrade to 6.x-1.04, and you will need to swap/copy files as in directions in the install.txt file

OR

upgrade to 6.x-2.0-alpha9, and follow the directions in the install.txt file

Grizz

lol... VB....if I knew you was here replying at the same time, I would of left all be.

problue solutions’s picture

I did follow the INSTALL.TXT very carefully, and copied all files and patched as required.

I was simply asking what functions_user.php related to as I had seen it being mentioned a lot but could not find anything about it in install.txt.

Like i said, I have done this twice now and I can assure you that I followed all instructions very carefully, so the WSOD is not due to 'my mistakes'.

I will try using 2 separate databases, if that doesn't work then there is any issue somewhere.

I should add that I am doing this with a new fresh installation of drupal with no other contribs and a new installation of phpBB3, so there can be nothing else interfering.

problue solutions’s picture

Using 2 separate databases solved the problem. Connection and authentication working now.

However I have another problem, step 8 of install.txt says the following:

8) Setup link to phpbbforum page.

1. Try link http://example.com/phpbbforum

2. If page phpbbforum is not found, Go to Administer › Site configuration > Performance

Clear cached data

http://mysite.com/phpbbforum is displaying a 404 - page not found (with or without www and even after clearing cache).

3. Go to Administer › Site building > Menus > Navigation
See Menu item with blank title in state (Disabled)
You may enable it if you do not want phpbbforum in Primary links

If you enable it your forum page will be with title.
Reset will help to remove the page title if you disable it back.

4. Go to Administer › Site building › Menus › Primary links
Enter Menu item phpbbforum.

Main page and link to phpBB in page is

phpbbforum

Enabling the navigation link as described does not display any link on the menu.

The new forum posts block appears but the links to the posts are displaying 404 - not found.

I do not have clean URLs turned on because I'm using Lighttpd, could this cause these problems?

problue solutions’s picture

It would appear this is to do with clean URLs, I can only use iFrame and have to manually create the link to the forum.

Grizz’s picture

Lighttpd don't think it would be the problem, disable it and take a look.

section 8 of install.txt towards bottom>>>>> It works with or without Clean URLs enabled.

Did you activate the phpBBforum: Hidden authentication block?

2 databases are not needed. I'm running D6, phpbbforum/phpbb, gallery2, phpfreechat, and multi-play gaming on the same database.

If your site in online, post a url.

problue solutions’s picture

Just to clarify, the module is installed and working, the only issue is with the clean URLs but I can work around this by using the iFrame method and creating my links to the forum manually.

the problem is, the URL that phpbbforum tries to use is:

http://www.mysite.com/phpbbforum

on my site it needs to be:

http://www.mysite.com/index.php?q=phpbbforum

oh and the reason I cant just turn clean URLs on is because Lighttpd servers don't support it.

Defenestrator-1’s picture

Lighttpd actually can be made to support clean URLs, though it's a bit more complicated since there's no direct equivalent of Apache's "test if file/folder exists". I created (expanding upon what I'd found for base Drupal) the following set of rules to get Drupal cleanURLs and phpbbforum working together:

url.rewrite-final = (
  "^/system/test/(.*)$" => "/index.php?q=system/test/$1",
  "^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2",
  "^/([^.?]*)$" => "/index.php?q=$1",
   "^/rss.xml" => "/index.php?q=rss.xml",
  "^/phpbbforum/(.*).php\?(.*)$" => "/index.php?q=phpbbforum/$1.php&$2",
  "^/phpbbforum/(.*)$" => "index.php?q=phpbbforum/$1"
)
}

The first three rules are the ones needed to make clean URLs work on Drupal as a whole, and the rss one is for, of course, RSS.
The next one down rewrites the initial ? to a & for URLs with parameters
The next one is for phpbb URLs that don't have any parameters.

It's probably not the world's cleanest solution, but so far it's working for me.

mannejkumar’s picture

Title: WSOD when updating phpBB path in phpbbforum module settings » url alias for phpbbforum module
Category: bug » support

i installed phpbbforum module in my website.its working fine.now i want to insert url aliases for phpbbforum in drupal
.
this is my website http://www.eprlabs.com/forums

when i visit forum it is displaying url as http://www.eprlabs.com/forums/viewforum.php?f=3

but i need this one as /forums/embeddedbasics

like that.can any one help me?
thanks in advance

fizk’s picture

Status: Active » Closed (fixed)