Made the change in that line, noticed it when you pointed it out
But got a new error message now for the next line:
Message: syntax error, unexpected ';'
Filename: controllers/Administrator.php
Line Number: 48
So I sorted that one out and get yet another error message:
First
Message: Undefined property: Administrator::$session
Second
Message: Call to a member function userdata() on null
So found that session could be added in autoload.php or as
Code:
$this->load->library('session');
in Administrator.php.
So I did that modification and now I just get directed to [::1]/Website/home if I try to get to localhost/Website/administrator.
Still no luck to reach the administratorpage,, or if it is supposed to load only if I log in through the orinary login with a admin user and pass, which I dont have, and there is no separate Admin backend.