I switched my admin.php to admin123.php and cleared cache, followed instructions directly on knowledge base.
Now when I go to mysite.com/admin.php it redirects me to this address
[url]http://mysite.com/admin123.php?dispatch=auth.login_form&return_url=admin123.php[/url]
Which returns a 404 error.
And when i go to mysite.com/admin123.php, it doesn’t redirect or anything, but still returns a 404 error.
So frustrated, any ideas what it could be?
Did you make changes in the config.local.php file as well?
[quote name=‘shadowbay’]I switched my admin.php to admin123.php and cleared cache, followed instructions directly on knowledge base.
Now when I go to mysite.com/admin.php it redirects me to this address
[url]http://mysite.com/admin123.php?dispatch=auth.login_form&return_url=admin123.php[/url]
Which returns a 404 error.
And when i go to mysite.com/admin123.php, it doesn’t redirect or anything, but still returns a 404 error.
So frustrated, any ideas what it could be?[/QUOTE]
In order to rename your admin script properly you should do the follwoing:
- Rename the “admin.php” file located in the root directory of your CS-Cart installation.
- Edit the “config.local.php” file (it is located in the same directory) by replacing the following line of the code:
$config[‘admin_index’] = ‘admin.php’;
with this one:
$config[‘admin_index’] = ‘admin8765.php’;
where admin8765.php is the new name given to the “admin.php” file.
- Save the file.
- Clean up the template cache. In order to do it open this link in your browser: http://www.your_domain.com/admin.php?cc where www.your_domain.com is the address of your store. Before cleaning the templates cache you should be logged in to the administration panel of your store.
Please note: the link to your administration panel will be changed from http://www.your_domain.com/admin.php to http://www.your_domain.com/admin8765.php where www.your_domain.com is the address of your store.
hope it helped
I am having this problem presently.
No offense intended shadowbay but if you can't
log in to the admin then how can you clear the cache ???
[quote name='termalert' timestamp='1413288258' post='194141']
I am having this problem presently.
No offense intended shadowbay but if you can't
log in to the admin then how can you clear the cache ???
[/quote]
Please try renaming the var/cache directory of your CS-Cart installation instead.