Zeruell / ppx-raidplaner

Automatically exported from code.google.com/p/ppx-raidplaner
0 stars 0 forks source link

MyBB Binding not working #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hello,
I've just installed the latest raidplaner 0.98 and the hotfix 0.98a.
I disabled the manual registration and filled the bindings for MyBB.
It gives me the list of usergroup that I use on my forum I select the users for 
members and raid leaders and then it create the config.mybb thing:
        define("MYBB_BINDING", true);
    define("MYBB_DATABASE", "*alright*");
    define("MYBB_USER", "*alright*");
    define("MYBB_PASS", "*alright*");
    define("MYBB_TABLE_PREFIX", "mybb_");
    define("MYBB_MEMBER_GROUPS", "10,9,8");
    define("MYBB_RAIDLEAD_GROUPS", "4,11,16");

Everything goes right till i try to login.

I get this error when i try to login without using the admin/*password* of the 
main account:

Database connection error

SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using 
password: NO)

it's strange because i never set the "root" user anywhere and it should try to 
connect with the password that I set as it did to get the usergroups (missing 
include_once ?).

Looks like it is able to create the config file but can't import the users 
because I checked in phpmyadmin and the raidplaner_User only contain the admin.

Thanks for any further help and for your awesome raidplaner :)

Original issue reported on code.google.com by genesisg...@gmail.com on 28 Sep 2013 at 8:51

GoogleCodeExporter commented 9 years ago
I found the problem, it's in "lib\private\bindings\vanilla.php"

Line 19:
replace: return defined("VANILLA_BINDING") && MYBB_BINDING;

by: return defined("VANILLA_BINDING") && VANILLA_BINDING;

it seems to be working now

Original comment by genesisg...@gmail.com on 29 Sep 2013 at 4:01

GoogleCodeExporter commented 9 years ago
Confirmed. I already had it fixed in the 1.0.0 branch.

Original comment by arne.cl...@gmail.com on 30 Sep 2013 at 7:32

GoogleCodeExporter commented 9 years ago

Original comment by arne.cl...@gmail.com on 20 Oct 2013 at 7:56