Post by shopmasterChris » Thu Oct 18, 2018 11:07 pm

I installed the downloaded software onto the webserver hosting my site, and setup went just fine. It did have some errors setting up the shop at first so I double checked the information and then submitted again and it worked. I was able to login fine into the admin portal and everything looks good.
However, whenever I go to the actual shop, it gives me a 500 Internal Server error. There is no real explanation as to why, even when I check the raw server files, the answer isn't really conclusive. Any help would be appreciated.

Also... is there a certain version of PHP that we need to be running on our server to use this software?


Posts

Joined
Thu Oct 18, 2018 11:01 pm

Post by ADD Creative » Fri Oct 19, 2018 6:16 am

PHP 5.4 is the minimum for 3.0.2.0. So should work fine on 5.6 or 7+. Do you see anything in the error logs in storage/logs or in your PHP error_log?

www.add-creative.co.uk


Expert Member

Posts

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

Post by shopmasterChris » Mon Oct 22, 2018 11:54 pm

I am getting this error description in my raw log files when I try to load the shop:

- - [18/Oct/2018:00:23:02 -0400] "GET /shop/ HTTP/1.1" 500 519 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0"

Other than that not much else information. The URL is: https://tstwoc.com/shop

As for PHP error logs, where do I get those from? I'm running PHP 5.6.


Posts

Joined
Thu Oct 18, 2018 11:01 pm

Post by ADD Creative » Tue Oct 23, 2018 6:53 pm

Use <?php phpinfo(); ?> to see if the PHP error log is switched on and the location.

www.add-creative.co.uk


Expert Member

Posts

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

Post by shopmasterChris » Wed Oct 24, 2018 11:58 am

ADD Creative wrote:
Tue Oct 23, 2018 6:53 pm
Use <?php phpinfo(); ?> to see if the PHP error log is switched on and the location.
I did that and it did show me that the logs were turned on. I looked at the error logs but it didn't show anything related to the Shop location or anything specific to it. Just some errors on my Wordpress blog w/ a plug-in issue.
Should I just delete the shop and load from scratch?


Posts

Joined
Thu Oct 18, 2018 11:01 pm

Post by ADD Creative » Wed Oct 24, 2018 6:23 pm

If you do not have any data you want to keep, deleting and reinstalling may solve your issue.

www.add-creative.co.uk


Expert Member

Posts

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

Post by shopmasterChris » Fri Oct 26, 2018 1:44 pm

ADD Creative wrote:
Wed Oct 24, 2018 6:23 pm
If you do not have any data you want to keep, deleting and reinstalling may solve your issue.
I looked online a little and found an old post that suggested this:
By removing the php.ini file , it may conflict the server config , remove it and it will be intialized auto again !

So I deleted the php.ini file from the main folder where open cart was installed and that got rid of the 500 error! So thank you for your help.

But.... I'm wondering if I need that file and getting rid of it may only be a temporary solution... What do you think?


Posts

Joined
Thu Oct 18, 2018 11:01 pm

Post by ADD Creative » Sat Oct 27, 2018 6:19 am

It depends on the server's PHP setup. You could look an the php.ini and compare the setting to the results of <?php phpinfo(); ?>. You could also comment out each line of the php.ini and put the back one by one to find out which line causes the problem.

www.add-creative.co.uk


Expert Member

Posts

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

Post by WebguruInfosystems » Tue Oct 30, 2018 2:38 pm

There are two config files. One on root and another under admin folder. Please check config.php file on root folder. Also check your .htaccess file.

WebGuru Infosystems Pvt. Ltd.
Opencart Development
www.webguru-india.com


User avatar

Posts

Joined
Mon Oct 22, 2018 2:40 pm

Post by Chiamaka » Wed Feb 16, 2022 11:46 pm

Hi, when I try to place an order via the shop. I get an Internal Server Error when I try to checkout. I don't know what the issue is please assist.

Newbie

Posts

Joined
Mon Feb 07, 2022 4:33 pm

Post by ADD Creative » Thu Feb 17, 2022 1:17 am

Chiamaka wrote:
Wed Feb 16, 2022 11:46 pm
Hi, when I try to place an order via the shop. I get an Internal Server Error when I try to checkout. I don't know what the issue is please assist.
You need to check you server / PHP error logs to find out what the error is.

www.add-creative.co.uk


Expert Member

Posts

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

Post by by mona » Thu Feb 17, 2022 1:24 am

In addition to the good advice above

A 500 error is a general undefined error.

OC version - theme - any checkout modules installed ?
New installation, working fine before installing one page checkout?
Link to your site?
Have you asked your service provider?

Without information no one can really assist with it does not work.

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
Who is online

Users browsing this forum: No registered users and 419 guests