Welcome Guest, Not a member yet? Register   Sign In
Help revive codeigniter 2.x project
#6

Made the change in that line, noticed it when you pointed it out Smile

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.
Reply


Messages In This Thread
Help revive codeigniter 2.x project - by Ricke - 02-25-2018, 06:45 AM
RE: Help revive codeigniter 2.x project - by Ricke - 02-26-2018, 07:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB