yesterday I noticed that my specials page isn't working anymore https://www.ergospel.be/shop/index.php? ... ct/special... It gives a 500 error. Since this is not a page a look at every day, i realy have no idea how long it has been like this and therefore no clue where to start looking for the answer to why this happened. I have looked at the error log, but it doesn't show in there. All of my other pages seem to be working just fine.
Any clues on how to find out what causes it? Any logical reasons you can think of?
I am working on opencart 3.0.2.0 with journal theme.
With black friday coming up in a few weeks... I am in trouble.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
My question is, when the error log doesn't show the problem, is ther something else I can do or look at?
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Hi Jen,jenniferergospel wrote: ↑Sun Nov 03, 2019 11:00 pmYes, that is what i did.
My question is, when the error log doesn't show the problem, is ther something else I can do or look at?
Try adding this at the top of your index.php file.
Code: Select all
<?php
error_reporting(E_ALL);
ini_set("display_errors" , 1);
https://thekrotek.com/support/reporting-issues
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
I will try your suggestions.
Oh dear Mr Krotek you know you shouldn't state something as fact unless you are 100% sure it is undisputedly true ... and even then be careful!
And you are wrong here, it is possible that a 500 Internal Server Error doesn't log anything to any of the main PHP or OpenCart logs if the error comes from the web server itself. You can test this by making a syntax error in your .htaccess and boom, 500 error, nothing in logs.
So although there is usually something in the logs 99% of the time, it is possible this one comes from .htaccess or something like mod_security if there really is nothing in any of the logs.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
I always omit .htaccess errors, of course, because they're very rare. In most cases, like in 99.9% of them, people miss the main log, which is usually in the HOME directory, which is the parent directory for your store. There're usually at least 3 error logs out there and in the very, very, very rare cases your error isn't in one of them.paulfeakins wrote: ↑Mon Nov 04, 2019 7:49 pmOh dear Mr Krotek you know you shouldn't state something as fact unless you are 100% sure it is undisputedly true ... and even then be careful!
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
It's possible mod_security is set to show a 500 error when it detects something suspicious (perhaps code injection) too.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Thank you for your input

factual he is right, even htaccess errors are logged, just in the Apache error log itself.Errors are always logged
Granted, most have no access to that but you could still ask your host.
And no sane person would deliberately set a 500 error in mod security.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Not even factually I'm afraid, it's quite possible for an error not to be logged in any file anywhere depending on settings, so it's entirely possible there is no Apache log either.
Usually it's 404 but I've seen 500. The idea is to confuse the attempted hacker.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Code: Select all
it's quite possible for an error not to be logged in any file anywhere depending on settings, so it's entirely possible there is no Apache log either.
Code: Select all
Usually it's 404 but I've seen 500. The idea is to confuse the attempted hacker.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Users browsing this forum: No registered users and 5 guests