Well, I had a little difficulty installing XDB CMS, but it turned out it as because I hadn't read the instructions. X|
Anyway, so, now it's mostly working alright, but I can't create new users. when accessing the Users page, I get the following set of errors:
Warning: Missing argument 4 for add_user() in
.../ce-int/home/library.php on line 3108
Warning: Missing argument 5 for add_user() in
.../ce-int/home/library.php on line 3108
Warning: Missing argument 6 for add_user() in
.../ce-int/home/library.php on line 3108
Warning: Missing argument 7 for add_user() in
.../ce-int/home/library.php on line 3108
Warning: Missing argument 8 for add_user() in
.../ce-int/home/library.php on line 3108
Warning: Missing argument 9 for add_user() in
.../ce-int/home/library.php on line 3108
I've surmised that there are things missing in library.php, but I have absolutely zero experience with PHP, so I'm not sure just exactly what is missing from those lines. perhaps I've simply done something obvious wrong? the install instructions are rather vague...
Thanks,
--
Jesse Crawford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't think you've got something wrong - I've been updating the system in line with the new versions of PHP5 and MySQL. One of those jobs is to alter some of the fundimental libraries - looks like I've missed one... sorry about that.
As a quick workaround, I think the program _should_ add the user into the internal database (so the user will appear within the rest of the security system, however, it doesn't actually create the user properly under MySQL. To get around this problem for the time being, and provided you've got access to the mysql program:
enter 'mysql -u UserName' (which is the mysql user that you can currently log in with (you might need to use '-p' as well, it'll then prompt you for a password...
Then enter:
grant all privileges on xdbcms.* to NewUserName@localhost identified by 'NewUserNamePassword';
this command should create the new user within MySQL, and allow them to log into xdbcms.
Hope that gets around your problem for the time being - I'm in the process of performing some updates - and I'll add this one to the list....
All the best
Carl.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I had a little difficulty installing XDB CMS, but it turned out it as because I hadn't read the instructions. X|
Anyway, so, now it's mostly working alright, but I can't create new users. when accessing the Users page, I get the following set of errors:
Warning: Missing argument 4 for add_user() in
.../ce-int/home/library.php on line 3108
Warning: Missing argument 5 for add_user() in
.../ce-int/home/library.php on line 3108
Warning: Missing argument 6 for add_user() in
.../ce-int/home/library.php on line 3108
Warning: Missing argument 7 for add_user() in
.../ce-int/home/library.php on line 3108
Warning: Missing argument 8 for add_user() in
.../ce-int/home/library.php on line 3108
Warning: Missing argument 9 for add_user() in
.../ce-int/home/library.php on line 3108
I've surmised that there are things missing in library.php, but I have absolutely zero experience with PHP, so I'm not sure just exactly what is missing from those lines. perhaps I've simply done something obvious wrong? the install instructions are rather vague...
Thanks,
--
Jesse Crawford
Hi Jesse,
I don't think you've got something wrong - I've been updating the system in line with the new versions of PHP5 and MySQL. One of those jobs is to alter some of the fundimental libraries - looks like I've missed one... sorry about that.
As a quick workaround, I think the program _should_ add the user into the internal database (so the user will appear within the rest of the security system, however, it doesn't actually create the user properly under MySQL. To get around this problem for the time being, and provided you've got access to the mysql program:
enter 'mysql -u UserName' (which is the mysql user that you can currently log in with (you might need to use '-p' as well, it'll then prompt you for a password...
Then enter:
grant all privileges on xdbcms.* to NewUserName@localhost identified by 'NewUserNamePassword';
this command should create the new user within MySQL, and allow them to log into xdbcms.
Hope that gets around your problem for the time being - I'm in the process of performing some updates - and I'll add this one to the list....
All the best
Carl.