Page 1 of 1
Uprading from Version 3.0.3.1 fo Version 3.0.3.8 with a renamed Admin
Posted: Thu Oct 06, 2022 1:12 am
by p419
Hello All,
We're looking at upgrading from Version 3.0.3.1 to Version 3.0.3.8. Currently on PHP Version 7.4.30 & MySQL Version 10.2.44-MariaDB.
When we originally installed Open Cart we renamed our Admin folder, which has has worked without issue since we did it.
Will the OpenCart Upgrade script work with a renamed Admin folder?
Any help is appreciated. Thanks.
Re: Uprading from Version 3.0.3.1 fo Version 3.0.3.8 with a renamed Admin
Posted: Fri Oct 07, 2022 1:40 am
by straightlight
p419 wrote: ↑Thu Oct 06, 2022 1:12 am
Hello All,
We're looking at upgrading from Version 3.0.3.1 to Version 3.0.3.8. Currently on PHP Version 7.4.30 & MySQL Version 10.2.44-MariaDB.
When we originally installed Open Cart we renamed our Admin folder, which has has worked without issue since we did it.
Will the OpenCart Upgrade script work with a renamed Admin folder?
Any help is appreciated. Thanks.
OC 4 doesn't have a rename admin folder feature implemented (yet?). Earlier OC versions don't have this feature built-in either, unfortunately.
Re: Uprading from Version 3.0.3.1 fo Version 3.0.3.8 with a renamed Admin
Posted: Sat Oct 08, 2022 11:14 pm
by jrr
I've come to regret renaming the /admin directory to /NewAdminName - a few extensions don't like it and there have been other problems as a result.
So I'm planning on returning to /admin and use .htpasswd and .htaccess files to protect access and adjust the permissions too. Cpanel is one of the easier ways to do the password protecting of a directory, but it isn't hard to search for examples if one doesn't have Cpanel on one's domain host.
Here is one example...
https://tutorialsclass.com/htaccess-pas ... directory/ there are many...
Re: Uprading from Version 3.0.3.1 fo Version 3.0.3.8 with a renamed Admin
Posted: Sun Oct 09, 2022 2:18 am
by straightlight
jrr wrote: ↑Sat Oct 08, 2022 11:14 pm
I've come to regret renaming the /admin directory to /NewAdminName - a few extensions don't like it and there have been other problems as a result.
So I'm planning on returning to /admin and use .htpasswd and .htaccess files to protect access and adjust the permissions too. Cpanel is one of the easier ways to do the password protecting of a directory, but it isn't hard to search for examples if one doesn't have Cpanel on one's domain host.
Here is one example...
https://tutorialsclass.com/htaccess-pas ... directory/ there are many...
Take note that .htpassword is not the best solution to cover your admin folder with a password. Rather, you should use a reputable extension from the Marketplace to achieve this.
Re: Uprading from Version 3.0.3.1 fo Version 3.0.3.8 with a renamed Admin
Posted: Thu Oct 13, 2022 10:53 pm
by p419
straightlight wrote: ↑Fri Oct 07, 2022 1:40 am
OC 4 doesn't have a rename admin folder feature implemented (yet?). Earlier OC versions don't have this feature built-in either, unfortunately.
Thanks for the reply!
You mention that it doesn't have a "rename admin folder feature". I've already renamed my admin to something else, so will the upgrade script work or should I change the name back to Admin?
Re: Uprading from Version 3.0.3.1 fo Version 3.0.3.8 with a renamed Admin
Posted: Fri Oct 14, 2022 12:07 am
by johnp
I find this to be a good admin security solution. I also install a firewall which coves the whole OC installation:
https://www.opencart.com/index.php?rout ... n_id=21371