Dit forumbericht is verwijderd
Aantal antwoorden: 10Re: "Invalid user" when creating new user
Ciao Pietro,
take a look at MDL-60824: please, update your 3.4 with the latest weekly available in https://download.moodle.org/releases/latest/ when the issue will be closed... hopefully starting from this weekend.
HTH,
Matteo
Dit forumbericht is verwijderd
Re: "Invalid user" when creating new user
Another user having same issue:
https://moodle.org/mod/forum/discuss.php?d=361951#p1459576
I just installed a fresh 3.4+ the other day and have no such error?!!!!????
CentOS 7, PHP 7.0.18, MySQL 5.6.38
no such problems in adding user manually.
$release = '3.4+ (Build: 20171116)'; // Human-friendly version name
$version = 2017111300.01; // 20171113 = branching date
Is yours an upgrade or frresh install? Upgrade from what version and how?
Did you finish taking the tour ... that should pop-up when first visiting admin side or the front page after logging on IF using boost theme.
Have/Use any custom blocks on front page? Have/use a custtom theme?
Kinda a stretch, but there is a new line in config.php that might come into play:
'dbcollation' => '',
What does your's say?
When you run the following from moodlecode/admin/cli/
php mysql_compressed_rows.php -i
What does it say?
????? Strange!!!
'spirit of sharing', Ken
Hi Ken,
it depends on having custom profile fields too.
HTH,
Matteo
Ahhhhh Soooooo!
Is there a tutorial on how to read/interpret a stack trace? :|
Now that I have looked at that again can figure out that is did hint at that - guess it would help to have some true programming experience with Moodle, huh.
Thanks, Matteo!
'spirit of sharing', Ken
Hi Ken,
unfortunately there's no "good" tutorial but common sense, experience and a bit of luck too: the more the code is structured the more the stack trace could give you hints at first glance.
Exceptions should give you the final reason for the failure and going back into the traced file/method names could give you an idea of the context creating that failure then you need to move into the code of that version to do the first insights, at least to create the steps to reproduce it.
Here, the first glance is a user id set to -1, that raises the invalid user error.
The rest of the story has been well told (and fixed!) by David in the issue above.
HTH,
Matteo
Thanks, Matteo. Hmmm .... looking for an 'easier button' isn't possible (to be expected really). Ouch ... the combo of 'common sense, experience, and ... luck' .... well, I can get plenty of #2 there but sometimes lack 'common sense' (server 'common sense' isn't human) ... and of recent, no so 'lucky' in some cases.
So troubleshooting is a never ending journey. But all that is what makes 'server life' more interesting, huh!
'spirit of sharing', Ken
So troubleshooting is a never ending journey. But all that is what makes 'server life' more interesting, huh!
Same here!
Just installed the latest weekly fix as per your instructions and well ...... Its now working!!!!!
Thanks so Much!