I recently updated my Magento to 1.9.3.8.
Now, I have a HTTP ERROR 500 in a specific case.
I got an error when the following three conditions are met:
- URL : base_url/checkout/cart OR base_url/checkout/onepage
- Compiler state is enabled
- User is logged
I have nothing into Magento log (system.log or exception.log).
Nothing else into server logs (/var/log/httpd/error_log) or (mysite/logs/error_log).
My observations
After some deep research in the magento code, I think the error is in includes / src / __ checkout.php.
I can solve it with a bad trick. Update lib/Varien/autoload.php at line 105
static public function registerScope($code)
{
if($code != "checkout")
{
self::$_scope = $code;
if (defined('COMPILER_INCLUDE_PATH')) {
@include_once COMPILER_INCLUDE_PATH . DIRECTORY_SEPARATOR . self::SCOPE_FILE_PREFIX.$code.'.php';
}
}
else
{
//DO NOTHING
}
}
Someone else has the same error ? Or a real solution ?
I found nothing about this error and I don't understand why I have it. I never modify Magento core checkout files.
If this question is reporting to an already open subject, my apologize, I didn't find it.