Thank you
If getIdentity returns the name of the user correctly, then i do not think there is a problem with auth instance itself. However, there
is some kind of problem with the percistent auth storage container that holds the aditional info. Lets begin troubleshooting this problem by posting file that does the actual authentication (in my example AuthenticationController.php) and see if the lines
| Code: |
$identity = $authAdapter->getResultRowObject();
$authStorage = $auth->getStorage();
$authStorage->write($identity);
|
do their job properly. That is the section that stores the role info into the auth's storage. All the data that is passed from the DB into auth storage takes a form of an object inside getStorage(), hence if there is a problem transmiting role info from the DB table into authStorage, the object will be null.
I had a number of donation requests, actually. However, i am slightly skeptical for two reasons. First, is that my video releases have not been very consistent lately so I do not want donators to waste their money on unpredictable work. Secondly, I want to emphasize that I do this purely out of love for the community with no desire for anything in return. That said, making these videos on just 1Gb of RAM on a slightly damaged motherboard is rather frustrating (i need a number of applications running that are when put together use up well over 1Gb) and i
do often begin to think how a donation button could possibly help against that.
I havent come up with a conclusive decision on that one yet.