Jump to content

6.4.2 dashboard gives 404


Don1968

Recommended Posts

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 by Don1968
Link to comment
Share on other sites

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 by bsmither
Link to comment
Share on other sites

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>
Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...