Don1968 Posted March 14 Share Posted March 14 (edited) Trying to help a friend with his website again. he received a call that a customer could not complete an order when I wen to login to his admin page the Dashboard jumps out to the website instead of the backend and gives a 404 error. The advanced--> Maintenance link also dumps to the same 404 page. I have tried to fallow some threads on here and nothing has worked. I am at a complete loss Edited March 14 by Don1968 Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 15 Share Posted March 15 (edited) Did this happen all of a sudden? If possible, examine the file, found in CubeCart's main folder, .htaccess. Make sure there exists these directives: ### Default store 404 page ### ErrorDocument 404 /index.php ## Override default 404 error document for missing page resources ## <FilesMatch "\.(gif|jpe?g|png|ico|css|js|svg)$"> ErrorDocument 404 "<html></html> </FilesMatch> ##### END CubeCart .htaccess ##### In CubeCart's administration folder, there should be another .htaccess file: ## Default store 404 page ErrorDocument 404 "<html></html> But as you describe it, you are able to get everywhere else in admin. Is that not the case? Edited March 15 by bsmither Quote Link to comment Share on other sites More sharing options...
Don1968 Posted March 15 Author Share Posted March 15 bsmither, Thank you for your response The batch of code below was missing but after adding it to the .htaccess file the symptoms are the same. The main dashboard page and the advance--> maintenance pages give the 404 error and everything else seems to be working inside the admin panel. I have yet to even look for the reason for the customer being unable to complete a sale. My guess is they are related. Thank you don ## Override default 404 error document for missing page resources ## <FilesMatch "\.(gif|jpe?g|png|ico|css|js|svg)$"> ErrorDocument 404 "<html></html> </FilesMatch> Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 15 Share Posted March 15 Your browser has Developer Tools (via F12). The Tools have a Network tab. The list of requests on the Network tab will show the response of each request - page, image, javascript file, css file, etc. For those that have a 404 result, it will help to positively identify what the exact request is that got the 404 response. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.