Download & Extend

Fatal error: Cannot redeclare user_delete()

Project:phpBB Forum Integration
Version:6.x-2.0-rc6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,

I just installed this module, I go to "phpBBforum settings" , I write the phpbb path, I save change and just after a write screen appear with this error message:

Fatal error: Cannot redeclare user_delete() (previously declared in /opt/lampp/htdocs/drupal/modules/user/user.module:1599) in /opt/lampp/htdocs/forum/includes/functions_user.php on line 586

I'm using phpbb 3.0.5.

Thanks

Comments

#1

Assigned to:Jarode» Anonymous

My website is on a local server.

#2

After 18 days, no answer yet...
Does someone can help me please ?

#3

Have you read INSTALL.txt in module's root directory?
Have you completed the steps described there? Especially the patching step.

#4

i did all the instruction in readme ... but still got this error

#5

I had the same error, until I applied the patch.

#6

I copied functions_user.php from ../sites/all/modules/phpbbforum/contrib/phpbbdrupal/root/includes to my forum/includes directory - simple fix.

#7

Status:active» reviewed & tested by the community

#8

Status:reviewed & tested by the community» closed (fixed)

You need to install the phpBB3 Drupal Bridge MOD before installing the Drupal module.

#9

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

I installed the bridge mod before installing the Drupal module and am getting the following error:

Fatal error: Cannot redeclare user_delete() (previously declared in /var/www/dev/modules/user/user.module:1637) in /var/www/dev/phpbb3/includes/functions_user.php on line 603
  • Running Drupal 6.22 Pressflow
  • I installed phpBB3 v 3.0.10
  • I then installed Automod and uploaded the bridge for v 3.0.10
  • Cleared phpBB3 cache
  • Cleared Drupal caches
  • I then installed the phpbbforum ( v 6.x-2.0-rc6) module and activated
  • Went to Site Admin > phpbbforum settings and set paths

Notes:

  • There is no INSTALL.txt file, it's README.txt
  • Found no patch files in 3.0.10 bridge or module 2.0-rc6

Any help appreciated...

#10

Skidz, did you do all the required configuration in phpBB that's mentioned in the README.txt?

#11

Yes. Unless I missed something, but I checked twice.

#12

Ok. Found the problems:

First, you should not recommend using automod to install the bridge. It doesn't copy all of the files. Going through the manual setup worked properly.

Secondly, I finally found the patch files. Right where the documentation said they were. Perhaps if documentation could be written a little more clearly it would help others who'll go through this in the future.

I now have something functional, although I'm not sure user sync is working yet. Working on that...

#13

Skidz, good work!

Installing the bridge with automod works for most people. I'm not sure why it didn't work for you.