When i try to delete a user in phpbb3.0.5 i get this error:
Fatal error: Call to undefined function user_delete() in /usr/home/username/domains/domain.com/public_html/forum/includes/acp/acp_users.php on line 196

When i change the username in drupal, it just makes a new account in phpbb3, althouh drupal says 'user data for is synced to phpbb

i labeld this as critical cause i can't delete users and or change nicknames..

Comments

demon326’s picture

Priority: Critical » Normal

*bump* realy want to have this fixed..

CosminCH’s picture

The same error is in includes/functions_user.php as well.

PHP Fatal error: Cannot redeclare user_delete() (previously declared in ./modules/user/user.module:1497) in ./forum/includes/functions_user.php on line 586 .

My site is dead, because of that error, if phpbbforum is installed.

Using latest versions of Drupal, pbpBBForum integration module and phpBBforum.

vb’s picture

I do not have this issue. It seems something wrong with your functions_user.php or with the patch

You can download and try my changed phpBB3 files from
http://vgb.org.ru/files/phpBB-embed-3.0.5-files.zip

take functions_user.php or even all files from the archive and replace your files.

demon326’s picture

@CosminCH ; like VB says, you're file is not updated..

@VB; i tested it on my localhost, it sees a new drupal username as a new user when you login with the new username in drupal.. it makes a new acc in phpbb3..

so lets say the username is test in both systems;
1) go to the acp of drupal and select test, change the username to test2
2) login with test2 and it makes a new account in phpbb3 instead of changing the account name there..
3) the phpbb3 delete error only ocurse when i use the the edited functions_user.php in the includes folder...

contact me if you need more information..

CosminCH’s picture

@demon326 Sorry, I get now a similar error:

PHP Fatal error: Call to undefined function module_load_include() in ./modules/phpbbforum/phpbbforum.module on line 73.

The site is still dead. I don't know if it makes any difference: I am using Drupal 5, I had to change the version number in your module.

vb’s picture

Drupal 5 is not supported in this version of the module with a simple change of the version constant.
I will make a D5 beta release within 2 weeks.

CosminCH’s picture

Thank you for the answers, I'm looking forward for the 5.0 version.

CosminCH’s picture

The 5.0 version works as expected, thx !

demon326’s picture

Sorry to bump this, but i want to know if there will be something done on that delete error in phpbb? the username change problem is no disarter..

vb’s picture

Users are deleted in phpbb through admin interface, which is not embedded at the moment due to a lot of work needed.
I cannot sync this.
Now I can only recommend to delete users through drupal. It works.

teidbuc’s picture

Hello vp,

I have this problem in deleting users from the drupal admin panel.
The problem in delete users in Drupal, is that there I found only a subset of user, indeed the one that at least once logged into drupal. New users never accessed Drupal I cannot find (the ones I need to cancel....spam isers)

Any idea how to solve this problem ? The new beta7 version can help me ?

Thanks

fitzkarraldo’s picture

Hi,
I have a similar problem, I suppose.

I have the latest version of phpbbforum module (6.x-2.0-beta7). If I change the username in the Drupal interface, when the user logs in drupal it receives the following message (italian version):
Unable to create new phpBB user: test2 error: Il nome utente inserito non è corretto, fai un altro tentativo. Se il problema persiste contatta un Amministratore.

Any idea? Is the username change supported?

demon326’s picture

Version: 6.x-2.0-beta5 » 6.x-2.0-beta7

sub, i can comfirm the same thing you have, it just does not sync and whants to create a new user...

fizk’s picture

Status: Active » Closed (fixed)