ive installed it and im getting this error Could not open phpBB2/config.php for inclusion

Comments

craigoneil’s picture

ive got it installed but i cant get in to phpbb Administration Panel

i get a page not found any help

celerityfm’s picture

A quick workaround to this problem is to rename the phpbb directory in the modules directory of your drupal installation - then you can go back into admin/settings and disable the phpbb module.

As to why you're getting "Could not open phpBB2/config.php for inclusion" I'm not sure... the best I've found so far to fix this is from Arne Kepp's site:

"If you get an error, that config.php cannot be included, create a copy of the forum and name the directory phpBB2. Configure (setting paths to phpBB2), then delete this directory."

I've tried creating a copy of the forum as instructed but it still didn't fix the error..

(EDIT)- Found this - I think this is the original discussion where this first cropped up... and for the record I'm using Drupal 4.7.

(EDIT++;)- k, the way I got it working was by patching phpbb.module ... again, totally not the proper way but... in phpbb.module try changing the two occurences of

include($phpbb_root_path.'config.php');

to

include('forum/config.php');

This despite having specified forum/ as the root path in settings.

Hope this helps a little or better yet, spurs discussion on the proper way to do this :P