Could cache be causing my renaming of admin folder fail?
Posted: Wed Feb 08, 2017 4:58 pm
We are using opencart v1.5.6 and heard that this product can be hacked easiliy, having one of the weakness in having a default admin folder that is suspect-able to hackers guessing passwords etc.
We have tried renaming the admin folder to something else, and modified the files
admin\config.php
admin\view\stylesheet\adsmart_search.css
admin\view\template\report\adv_customers.tpl
vqmod\install\index.php
to replace the name of the text "/admin"
I can do such modification on another opencart installation without problems.
However, after doing this on one of our sites, the website stall and strange behaviour happens, being unresponsive, rendering only the homepage can be displayed while the other parts not returning a normal webpage.
I suspect that my predecessor coworker installed a Page Cache module that may be affecting this. While I tried to click the Disable Cache button, the dialog box said "can't disable, status: /var/www/vhosts/[mydomain]/PE/index.php is not writeable (permissions).
After I used the command chmod a+w to the index.php file, it still fails.
I wonder, do I have to do a chmod a+w to the PE folder? Anyone has experience modifying the admin folder location?
We have tried renaming the admin folder to something else, and modified the files
admin\config.php
admin\view\stylesheet\adsmart_search.css
admin\view\template\report\adv_customers.tpl
vqmod\install\index.php
to replace the name of the text "/admin"
I can do such modification on another opencart installation without problems.
However, after doing this on one of our sites, the website stall and strange behaviour happens, being unresponsive, rendering only the homepage can be displayed while the other parts not returning a normal webpage.
I suspect that my predecessor coworker installed a Page Cache module that may be affecting this. While I tried to click the Disable Cache button, the dialog box said "can't disable, status: /var/www/vhosts/[mydomain]/PE/index.php is not writeable (permissions).
After I used the command chmod a+w to the index.php file, it still fails.
I wonder, do I have to do a chmod a+w to the PE folder? Anyone has experience modifying the admin folder location?