Create user from my regiester page, conflict with phpbb (2 posts)

  1. slpixe
    Posted 7 years ago #

    Hey, I have been trying to sort out a centralised login system for my site, I was considering using LDAP, but I can't be bothered with that anymore, so I have so far added a phpbb user add to my register page, which I have just finished getting working.

    Which was simply to include the register php page, and run the function with the information being passed through.

    When I have tried the same with WP, I first found a simple add user function, which I tried, and it was asking for register, so I added that, and then config, which I have added..

    (btw I was using this for help originally - http://wordpress.org/support/topic/118488

    Now I get a conflict with "make click-able" from pbpbb, and now wordpress trying to use it. . I think.

    Here's the error message I get.

    Fatal error: Cannot redeclare make_clickable() (previously declared in /*****/public_html/forum/includes/functions_content.php:615) in /*****/public_html/info/wp-includes/formatting.php on line 687

    Is there any way around this or any suggestions?

    Thanks in advance

  2. Callum Macdonald
    Posted 6 years ago #

    Did you ever find a solution?

    The clash is because both WordPress and phpBB define a function called make_clickable(), so the second time it is defined, php dies.

    The alternative I'm looking at is copying the functions I need from phpBB into WordPress and then manually inserting entries into the database. Very hacky, not very future proof, but it'll work.

    Cheers - Callum.

Topic Closed

This topic has been closed to new replies.

About this Topic