failed to rename the admin folder (URGENT)
Posted: Fri Feb 03, 2017 10:28 am
Hi fellows!
We studied on the web, and many sources advised us to change the default admin of opencart 1.5.6 to a new path for security reasons (such as avoiding hackers trying to guess password).
As such, yesterday we tried to change the admin folder from /admin to /xxxxxxxxxxx7, then modified 3 files /admin/config.php , /admin/view/stylesheet/adsmart_search.css and /admin/view/template/report/adv_customers.tpl to have the /admin text replaced with /xxxxxxxxxxx7
After the change, we can see the admin login screen at the new url [oursite].hk/xxxxxxxxxxx7
However if we try to login as admin, the normal admin screen does not show up, it just returns us to the same admin login screen
I wonder if you have a clue why this is not working…Could a restart of our host help the system to back to normal? We have already tried to undo the changes but it still doesn't work!
Also, now when someone tries to click the login link on our opencart homepage, the screen goes blank with the error message
Fatal error: Call to a member function get() on a non-object in /var/www/vhosts/[myhost].hk/PE/index.php on line 113
Thank you
We studied on the web, and many sources advised us to change the default admin of opencart 1.5.6 to a new path for security reasons (such as avoiding hackers trying to guess password).
As such, yesterday we tried to change the admin folder from /admin to /xxxxxxxxxxx7, then modified 3 files /admin/config.php , /admin/view/stylesheet/adsmart_search.css and /admin/view/template/report/adv_customers.tpl to have the /admin text replaced with /xxxxxxxxxxx7
After the change, we can see the admin login screen at the new url [oursite].hk/xxxxxxxxxxx7
However if we try to login as admin, the normal admin screen does not show up, it just returns us to the same admin login screen
I wonder if you have a clue why this is not working…Could a restart of our host help the system to back to normal? We have already tried to undo the changes but it still doesn't work!
Also, now when someone tries to click the login link on our opencart homepage, the screen goes blank with the error message
Fatal error: Call to a member function get() on a non-object in /var/www/vhosts/[myhost].hk/PE/index.php on line 113
Thank you