We've just recently made our cart 'Live' on a secure server. Today was the first full day of operation. Most seems to be working as it should, with one exception.
When I click to view the contents of the cart, I get the attached error message Http error 500. I've been able to check out completely, just not view the cart contents.
Any thoughts on where to look?
Http-500-error.jpg
Most 500 errors are server-side errors. There are lots of reasons why your site might be serving a 500 error, but these are the most common:
- Permissions Error. In most cases, a 500 Internal Server Error is due to an incorrect permission on one or more files or folders. In most of those cases, an incorrect permission on a PHP and CGI script is to blame. These should usually be set at 0755 or 0777 for folders and 644 or 666 for files (it depends on your server configuration).
- PHP Timeout
- Error in .htaccess. While not as common, be sure to check that your site's .htaccess file is properly structured.
check your php error_log file for related errors.
Wow! Thanks for that - both Martfox and EZ.
To Martfox - I have to ask if it would be wise to open a ticket to have tech support look at the permissions of the files & folders. Although I'm familiar with changing permissions of both, I don't have a clue as to what the permissions should be and which files & folders I need to be looking at.
How would I know if the htaccess file is properly structured?
To EZ - Where will I find the php error_log file?
Wow! Thanks for that - both Martfox and EZ.
To Martfox - I have to ask if it would be wise to open a ticket to have tech support look at the permissions of the files & folders. Although I'm familiar with changing permissions of both, I don't have a clue as to what the permissions should be and which files & folders I need to be looking at.
How would I know if the htaccess file is properly structured?
To EZ - Where will I find the php error_log file?
You may find the exact instructions for the permissions overhere https://docs.cs-cart.com/4.7.x/install/nginx.html
If PM me temporary access, our specialists can check the issue
Wow! Thanks for that - both Martfox and EZ.
To Martfox - I have to ask if it would be wise to open a ticket to have tech support look at the permissions of the files & folders. Although I'm familiar with changing permissions of both, I don't have a clue as to what the permissions should be and which files & folders I need to be looking at.
How would I know if the htaccess file is properly structured?
To EZ - Where will I find the php error_log file?
The location of the error_log is server/php_config dependent. Generally it is is the root of your store. But you should be able to access via your hosting admin panel.