Post by nghongkai » Mon Mar 04, 2019 7:53 pm

Hello, my opencart works beautifully, however after clicking the SAVE button in the add product page, i get this:
This page isn’t working www.xxxxxxxxx.com is currently unable to handle this request.
HTTP ERROR 500

Are there any ways to troubleshoot this issue?

Newbie

Posts

Joined
Mon Mar 04, 2019 7:48 pm

Post by OSWorX » Mon Mar 04, 2019 9:40 pm

Hello,

1. which OpenCart version is used
2. which additonal extensions are installed

Beside this, have you already checked the server log?

Forum Rules [en]: viewtopic.php?f=176&t=200480
Commercial Request: viewforum.php?f=88
Dedicated Support: https://dedicated.opencart.com/
Marketplace Support: https://www.opencart.com/index.php?rout ... rt/support
Documentation: http://docs.opencart.com/en-gb/extension/theme/

Image Image Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by nghongkai » Mon Mar 04, 2019 9:56 pm

Opencart Version 3.0.3.1
It's a clean version of opencart, no extension is installed.

I've checked the error log but nothing seems to be out of normal.

Newbie

Posts

Joined
Mon Mar 04, 2019 7:48 pm

Post by thekrotek » Mon Mar 04, 2019 10:30 pm

nghongkai wrote:
Mon Mar 04, 2019 9:56 pm
I've checked the error log but nothing seems to be out of normal.
Error 500 is a generic error and actual error message is ALWAYS saved in the log. Check again, maybe different log. Or enable displaying errors and try to save the product again.

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 OSWorX » Mon Mar 04, 2019 10:51 pm

nghongkai wrote:
Mon Mar 04, 2019 9:56 pm
I've checked the error log but nothing seems to be out of normal.
I have written Server log, not OpenCarts embedded internal log.
Because, such errors are normally not logged in the internal log due their nature.
And many users have not enabled the internal log ..

But the servers log is always available, simply goto your server panel.

Forum Rules [en]: viewtopic.php?f=176&t=200480
Commercial Request: viewforum.php?f=88
Dedicated Support: https://dedicated.opencart.com/
Marketplace Support: https://www.opencart.com/index.php?rout ... rt/support
Documentation: http://docs.opencart.com/en-gb/extension/theme/

Image Image Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by paulfeakins » Tue Mar 05, 2019 6:55 pm

thekrotek wrote:
Mon Mar 04, 2019 10:30 pm
Error 500 is a generic error and actual error message is ALWAYS saved in the log.
Not always, if it's an .htaccess error for example :)

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by thekrotek » Tue Mar 05, 2019 10:27 pm

paulfeakins wrote:
Tue Mar 05, 2019 6:55 pm
Not always, if it's an .htaccess error for example :)
Very unlikely, considering that the error occurs on product save.

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 letxobnav » Wed Mar 06, 2019 9:44 am

check if the product was saved then you know if the error occurred before, after or during the sql part.

Crystal Light Centrum Taiwan


Active Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm

Post by wrick0 » Wed Mar 06, 2019 4:27 pm

you might need to enable error_reporting in your php.ini file so you can see exactly what causes this

New member

Posts

Joined
Fri Jan 18, 2019 10:00 pm

Post by tingwing » Wed Jun 12, 2019 11:46 pm

I have exactly the same problem that 500 error show after clicking save button at the adding new product page,a clean installation of opencart3.0.3.1+journal3.
now i am trying to solve it ,if done ,I will come back to share the solution

the solution is to use phpmyadmin to execute the following sql command

ALTER TABLE oc_product_advertise_google CHANGE product_advertise_google_id product_advertise_google_id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT;
Last edited by tingwing on Fri Jun 14, 2019 8:35 am, edited 1 time in total.

my email :support@bestshop24h.com
my wechat:bestshop24h
my extension:https://www.opencart.com/index.php?rout ... estshop24h


Active Member

Posts

Joined
Tue Aug 02, 2016 9:01 pm

Post by tingwing » Thu Jun 13, 2019 10:37 am

if use opencart3.0.3.2,you will not have this bug of opencart3.0.3.1

my email :support@bestshop24h.com
my wechat:bestshop24h
my extension:https://www.opencart.com/index.php?rout ... estshop24h


Active Member

Posts

Joined
Tue Aug 02, 2016 9:01 pm

Post by deborah_jo » Sun Jun 30, 2019 1:57 pm

There’s a very simple way for you to find out what’s causing the 500 Internal Server Error.
If you encounter an error in your OpenCart site, simply go to your store files and edit your index.php file.
Use your favorite text editor and at the top of your index.php file, paste these this code snippet after the opening <?php line:

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

Save the file and go back to the store.
Refresh the page where you encountered the error.

Newbie

Posts

Joined
Sat Jun 29, 2019 10:01 pm

Post by Dreamvention » Mon Jul 01, 2019 4:11 pm

Access your database through phpMyAdmin or adminer. Move to oc_product_advertise_google table and add the AI (auto-increment) property ot it's id field.
If you still have difficulties, feel free to contact our support team through Contact Us form here: https://www.opencart.com/index.php?rout ... rt/contact

Many OpenCart users struggle to find quality extensions. We know how frustrating the need to fix the shop is just because of one poorly coded extension. We created quality OpenCart Extensions, tested by real developers and provide professional support.

AJAX QUICK CHECKOUT - #1 one-page checkout solution
VISUAL DESIGNER - Page builder for Opencart
View more extensions here

Tested by Shopunity.net


User avatar
Administrator

Posts

Joined
Sun Jun 17, 2012 7:04 pm
Location - Europe
Who is online

Users browsing this forum: No registered users and 7 guests