phpBBforum settings

Events happening in the community are now at Drupal community events on www.drupal.org.
nybegynner's picture

When I try to gone to "phpBBforum settings" in Drupal, I get this warning: call_user_func_array(): First argument is expected to be a valid callback, 'phpbbforum_admin_settings' was given in /hsphere/local/home/drupal/ubercart.drupal.no/includes/form.inc on line 218.

I have tried to followed this guide "\phpbbforum-5.x-1.x-dev\phpbbforum\contrib\phpbbdrupal\install.xml" Waht to do now?
I'm using Drupal 5.7 and phpBB3

Comments

Things go better

nybegynner's picture

Now I have done little bit more. Now I get this:

Error locating /hsphere/local/home/drupal/ubercart.drupal.no/phpBB3/phpbb_api.php. Please fix your settings!
Unable to connect to the phpBB database. Please fix your settings!

And yes, I know that I have to copy all the api-file to root and "includes", but then I get White Screen of Death.
And I know also that I have to modified phpbb_api.php, but not to put what code.
This are the code I have to put somewhere in the file, but where?
my full url are here"

3) Include phpbb_api.php in your php code.

require_once(dirname(__FILE__) .'/phpbb_api.php');

Advanced

1) Move phpbb_api.php, phpbb_api_subs.php, phpbb_api_recent.php
to directory of your choice.
2) Define global $phpbb_boarddir; and set it to phpbb root.
4) Include phpbb_api.php in your php code.

global $phpbb_root_path;
$phpbb_root_path = 'path to your phpbb root';
require_once ('path to your directory' .'/phpbb_api.php');

I will be verry greatfull for help.

Drupal i Norge - (DiN)
Ole Martin
http://www.drupal.no

Hi Ole Martin,you had me

arkepp's picture

Hi Ole Martin,

you had me confused there for a moment :) You're talking about http://drupal.org/project/phpbbforum , which I had not heard of until you mentioned it now. This group was created to support http://drupal.org/project/phpbb , a completely different project.

I'm trying out phpBB now

nybegynner's picture

OK, sorry for that, but now you know about the other one. Just now i'm trying out phpbb also. I came to this point there I have to go to my DB and Tweak Drupal's user sequence. I know that I maby should do this first. phpBB3 are ok and the module phpbb are installed so I have to find out this last point . I'm not sure how to yet. Just now I have this message:
"user warning: Table 'drupal_l10n.phpbb_users' doesn't exist query: SELECT user_unread_privmsg FROM phpbb_users WHERE user_id = 1 in /hsphere/local/home/drupal/ubercart.drupal.no/includes/database.mysql.inc on line 172."
So I have to make one bookpage about this module too ;-) on our site.

Drupal i Norge - (DiN)
Ole Martin
http://www.drupal.no

So does

arkepp's picture

So does drupal_l10n.phpbb_users exist? (drupal_l10n is the database, phpbb_users is the table)

Prefix_

nybegynner's picture

I was seeking around for what I have done wrong. In configuration.inc I found it. There you have prefix "phpbb_" but I had "phpbb1_" Now I can see my forumpost I made befor. When I loging in I get this : (The superuser is never logged into phpBB). How to synchronize drupal and phpBB? When I try to create a new user I get this message, but only when I try to make the first acont

Query failed: 0 INSERT INTO phpbb1_users (`user_id`,`group_id`,`username`,`username_clean`,`user_password`,`user_regdate`,`user_email`,`user_options`,`user_lang`,`user_timezone`,`user_sig`,`user_lastpage`,`user_permissions`,`user_from`,`user_aim`,`user_yim`,`user_msnm`,`user_jabber`,`user_website`,`user_occ`,`user_interests`) VALUES(1002,2,'tester1','tester1','4b4b703015a29c090b53c8e562a54e46',1202488440,'post@fxxxxxx.no','853','nb',0,'','','','','','','','','','','')

But after the second new user it was no message :-) Happy me
It's seem that everything without Private messages" are ok, this give me a white screen

Drupal i Norge - (DiN)
Ole Martin
http://www.drupal.no

Any chance someone snuck in

arkepp's picture

Any chance someone snuck in and registered user 1002 before you installed the module completely? Have a look in the database, see who has uid 1002

Re white pages: Enable the PHP error log in php.ini and have a look there, white pages usually mean out of memory or something like that. May also say in the Apache error log.

There was no 1002, only

nybegynner's picture

There was no 1002, only 1001, 1003 osv. but I deleted them all.
But I have userid 1 = Anonymous, and admin like userid 2.

I logged in again but still the message (The superuser is never logged into phpBB)

I have 120mb memory

Drupal i Norge - (DiN)
Ole Martin
http://www.drupal.no

See the documentation, that

arkepp's picture

See the documentation, that message is intentional, you should not be using the superuser on a day-to-day basis.

I'm only concerned about the white page when you view your inbox, and you'll have to look at the error log for that. 120mb is nothing if the program is in an infinite loop, not that I know of any in this context.

Nothing worked out, so I

nybegynner's picture

Nothing worked out, so I want to start from scratch. But if I want remove the module, which databasetable to remove? I deaktivated the module, but still my phpBB3-forum are going to Drupal for log in.

Drupal i Norge - (DiN)
Ole Martin
http://www.drupal.no

It's designed to not modify

arkepp's picture

It's designed to not modify the database in either application, apart from the user id increment, so there aren't any tables to remove.

The login is probably caused by the .htaccess file in phpBB's directory. For testing though, I recommend you really start from scratch.

phpbb

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: