This is actually a posting from the devhome forum. I am having the exact same problem and I thought someone here could help since some of you have authlib up and running.
"Having a bit of a problem with line 211 in backend.php. (function is_logged)
If I leave this line alone:
if ($hash != $session_vars[1]) {
return false;
Then it blows up with an "Warning: Undefined offset: 1 in backend.php on line 211
If I set $session_vars[0], then it doesn't exactly error out, but it does tell me;
Error : You need to login to request this page
Any chance you can help me correct the error of my ways?"
another post:
" I am having the exact same problem. The script is on my computer and I am using MySQL. However, when I upload all the files to f2s and test them out there, it works just fine. Both pretty much have the same configuration (save for database and password), but only the one on the f2s server works properly. Could it be something with the way our localhosts are configured?"
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is actually a posting from the devhome forum. I am having the exact same problem and I thought someone here could help since some of you have authlib up and running.
"Having a bit of a problem with line 211 in backend.php. (function is_logged)
If I leave this line alone:
if ($hash != $session_vars[1]) {
return false;
Then it blows up with an "Warning: Undefined offset: 1 in backend.php on line 211
If I set $session_vars[0], then it doesn't exactly error out, but it does tell me;
Error : You need to login to request this page
Any chance you can help me correct the error of my ways?"
another post:
" I am having the exact same problem. The script is on my computer and I am using MySQL. However, when I upload all the files to f2s and test them out there, it works just fine. Both pretty much have the same configuration (save for database and password), but only the one on the f2s server works properly. Could it be something with the way our localhosts are configured?"
Thanks.