Delete error in phpbb+ username change..

demon326 - June 12, 2009 - 20:25
Project:phpBBforum Integration module
Version:6.x-2.0-beta7
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

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..

#1

demon326 - June 21, 2009 - 14:53
Priority:critical» normal

*bump* realy want to have this fixed..

#2

CosminCH - June 22, 2009 - 14:18

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.

#3

vb - June 22, 2009 - 18:20

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.

#4

demon326 - June 22, 2009 - 19:30

@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..

#5

CosminCH - June 22, 2009 - 20:21

@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.

#6

vb - June 22, 2009 - 20:30

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.

#7

CosminCH - June 22, 2009 - 21:51

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

#8

CosminCH - July 5, 2009 - 13:15

The 5.0 version works as expected, thx !

#9

demon326 - July 12, 2009 - 10:58

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..

#10

vb - July 12, 2009 - 11:53

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.

#11

teidbuc - September 8, 2009 - 09:56

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

#12

sub - November 2, 2009 - 10:36

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?

#13

demon326 - November 3, 2009 - 15:19
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...

 
 

Drupal is a registered trademark of Dries Buytaert.