Page 1 of 1

Internal Server Erro 500

Posted: Fri Jun 07, 2019 11:00 pm
by Limerick_Dude
Hi Guys,

Out of no where I am suddenly getting this error when I go to checkout. OC version 3.0 running on shared hosting.

Any ideas?

Thanks,
LD

Re: Internal Server Erro 500

Posted: Sat Jun 08, 2019 1:50 am
by rpmb
Shared hosting.

I would check with your host to see if they have updated anything such as PHP version.

Re: Internal Server Erro 500

Posted: Sat Jun 08, 2019 2:20 am
by thekrotek
Error 500 is a generic error. Check the error log or set Display Errors to Yes in store settings to see the actual message.

Re: Internal Server Erro 500

Posted: Sat Jun 08, 2019 4:25 am
by Limerick_Dude
with regard to the PHP version on shared hosting we have a second store on the same hosting and it's fine.

I'm fairly new to opencart how do I turn on the logging you mention?

Re: Internal Server Erro 500

Posted: Sat Jun 08, 2019 4:30 am
by thekrotek
Limerick_Dude wrote:
Sat Jun 08, 2019 4:25 am
I'm fairly new to opencart how do I turn on the logging you mention?
Display Errors option in the main store settings.

Re: Internal Server Erro 500

Posted: Sat Jun 08, 2019 4:32 am
by Limerick_Dude
@thekrotek - how do I do that?

Re: Internal Server Erro 500

Posted: Sat Jun 08, 2019 6:36 am
by Limerick_Dude
added the error logging and now get this

Fatal error: Cannot redeclare ModelCheckoutOrder::getOrderProductIds() in /home/wo2drvs5/ocartdata_tpm/storage/modification/catalog/model/checkout/order.php on line 11

Re: Internal Server Erro 500

Posted: Sat Jun 08, 2019 6:40 am
by thekrotek
Limerick_Dude wrote:
Sat Jun 08, 2019 6:36 am
added the error logging and now get this

Fatal error: Cannot redeclare ModelCheckoutOrder::getOrderProductIds() in /home/wo2drvs5/ocartdata_tpm/storage/modification/catalog/model/checkout/order.php on line 11
Congratulations, you've installed one of the modifications TWICE (most likely). Or maybe (less likely) two different modifications add the same function to the same file.

Re: Internal Server Erro 500

Posted: Sat Aug 24, 2019 1:40 pm
by johnsmlam
thank you sir
your answer is perfect and my check out page works again