magdy
February 12, 2019, 12:00am
1
Dear All,
I installed CS-Cart in the following root:
/public_html/trial123
so the homepage domain is www.ondustrial.com/trial123
and admin panel domain is www.ondustrial.com/trial123/admin.php and this worked properly
when I renamed admin.php to startup123.php and new admin panel domain became
www.ondustrial.com/trial123/startup.php I only accessed the first page of admin panel but when I
tried to access any other page in admin panel like settings, browser told me page not found error 404.
please advise what can I do?
attached screen shots
regards
Magdy Galal
result when trying to acces any page.jpg
first page of admin panel.jpg
imago
February 12, 2019, 12:00am
2
Try www.ondustrial.com/trial123/startup123.php
magdy
February 12, 2019, 12:00am
3
Dear imago,
ok, this link will direct me to the first page of admin panel, but the problem is I can't go to any other page in the admin panel like attached second photo.
Did you make corresponding changes in the config.local.php file?
https://docs.cs-cart.com/4.9.x/install/security.html
magdy
February 12, 2019, 12:00am
5
I have already changed access permission for config.local.php but problem still exists
do you mean another change?
imago
February 12, 2019, 12:00am
6
do you mean another change?
You should have this
$config['admin_index'] = 'startup123.php';
magdy
February 13, 2019, 12:00am
8
You should have this
$config['admin_index'] = 'startup123.php';
Dear Imago,
you mean that I should change this line inside config.local.php file?
magdy
February 13, 2019, 12:00am
9
Sorry, I don't understand what do you mean.
imago
February 13, 2019, 12:00am
10
Dear Imago,
you mean that I should change this line inside config.local.php file?
No, you should have this line there.
Sorry, I don't understand what do you mean.
Did you read the instruction carefully?
Open config.local.php file and replace
$config['admin_index'] = 'admin.php';
with
$config['admin_index'] = 'startup123.php';