Post by erik216 » Wed Sep 16, 2020 5:58 pm

My opencart suddenly display 500 error. But when I turn to Maintenance mode it is work.
So anyone can tell me what is the problem I am facing?

Newbie

Posts

Joined
Tue Sep 17, 2019 9:55 am

Post by khnaz35 » Wed Sep 16, 2020 6:03 pm

erik216 wrote:
Wed Sep 16, 2020 5:58 pm
My opencart suddenly display 500 error. But when I turn to Maintenance mode it is work.
So anyone can tell me what is the problem I am facing?
Have you change anything recently? Live site url?

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by erik216 » Wed Sep 16, 2020 6:17 pm

I can access website when I change to Maintenance mode. But when I turn of Maintenance mode. I can access website once time. But after load it again. It is same display 500 error

Newbie

Posts

Joined
Tue Sep 17, 2019 9:55 am

Post by erik216 » Wed Sep 16, 2020 6:18 pm

I did not change any setting

Newbie

Posts

Joined
Tue Sep 17, 2019 9:55 am

Post by khnaz35 » Wed Sep 16, 2020 6:25 pm

erik216 wrote:
Wed Sep 16, 2020 6:18 pm
I did not change any setting
Live site url? Is it the whole website throwing error of 500 or only certain pages?

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by thekrotek » Wed Sep 16, 2020 6:29 pm

Check your error log. Nobody will tell you anything by Error 500, it's just a generic error message.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by khnaz35 » Wed Sep 16, 2020 6:33 pm

thekrotek wrote:
Wed Sep 16, 2020 6:29 pm
Check your error log. Nobody will tell you anything by Error 500, it's just a generic error message.
could be Mod_security again ;) Which is why many people complaining around.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by erik216 » Thu Sep 17, 2020 8:43 am

2020-09-16 19:45:25 - PHP Warning: fread(): Length parameter must be greater than 0 in /home/websites/web-shop.xxx.com/content.20180822/system/library/cache/file.php on line 32
2020-09-16 19:45:28 - PHP Warning: fread(): Length parameter must be greater than 0 in /home/websites/web-shop.ks2020-09-16 22:25:06 - PHP Warning: fread(): Length parameter must be greater than 0 in /home/websites/web-shop.xxx.com/content.20180822/system/library/cache/file.php on line 32

The whole website down O0 :choke:

Newbie

Posts

Joined
Tue Sep 17, 2019 9:55 am

Post by erik216 » Thu Sep 17, 2020 8:43 am

anyone have idea how to solve it?

Newbie

Posts

Joined
Tue Sep 17, 2019 9:55 am

Post by thekrotek » Thu Sep 17, 2020 3:54 pm

Cache file size is wrong somehow, this is what this error says.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by ADD Creative » Thu Sep 17, 2020 6:27 pm

erik216 wrote:
Thu Sep 17, 2020 8:43 am
anyone have idea how to solve it?
Have you tried deleting the cache files in storage\cache?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by JNeuhoff » Thu Sep 17, 2020 9:09 pm

If I understand it correctly you get the Internal Error 500 on a frontend page. Please provide more details, e.g. OC version, extensions used, web theme. Also, what's in your server's error.log (ask your webhost for the relevant log entries)?

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 65 guests