Post by dave_999 » Thu Aug 15, 2024 10:33 pm

I have taken advice from a previous post and I am testing opencart-3.0.4.0 instead of opencart-4.0.2.3
When I try to buy the iMac - Guest checkout > Continue > Enter billing details > Continue > Accept flat rate delivery > Continue > Accept Cash on Delivery & Agree to T&Cs > Continue > Confirm order - I get "Internal server error"
Any thoughts?

Newbie

Posts

Joined
Fri Aug 09, 2024 12:28 pm

Post by by mona » Thu Aug 15, 2024 10:52 pm

Error 500 is a general server error.
https://www.siteground.co.uk/kb/interna ... error_500/
You need to check your server logs.

You can also open your root index.php file add the below code in the file and save it to shows you the error instead of Internal Server Error Popup

Code: Select all

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
Remember to remove this after you are done debugging as it is a security risk.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by dave_999 » Fri Aug 16, 2024 12:03 am

Thanks for your suggestion, I added the code snippet and now get more info as you suggested. I have attached a screen shot of the first part as I don't seem to be able to copy and paste. Does that give enough info?

https://www.sorbaskarst.com/error-1.jpg

Newbie

Posts

Joined
Fri Aug 09, 2024 12:28 pm

Post by by mona » Fri Aug 16, 2024 12:41 am

It is a start, but you need to use google a bit more.
Most of these issues have been resolved before, Opencart is a platform, you use many different parameters - like host, browser, extensions, internet provider - You need to learn to check your error logs also - ask your host and they will tell you how to get them.

A couple of posts that should help
viewtopic.php?t=183683
viewtopic.php?t=223468

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by paulfeakins » Mon Aug 19, 2024 11:42 pm

dave_999 wrote:
Thu Aug 15, 2024 10:33 pm
"Internal server error"
Any thoughts?
Check your error logs: https://www.antropy.co.uk/blog/opencart ... locations/

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JNeuhoff » Tue Aug 20, 2024 12:07 am

So what's your website URL? Is it the https://www.sorbaskarst.com/opencart ? And what's your OpenCart version? 3.0.4.0 or 4.0.2.3 or what?
And what's your PHP version?

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: Amazon [Bot] and 3 guests