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?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


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.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


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 :)

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 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
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

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

Active Member

Posts

Joined
Fri Jan 18, 2019 10:00 pm
Location - 127.0.0.1 @ The Netherlands

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 extension:https://www.opencart.com/index.php?rout ... estshop24h
email :support@bestshop24h.com
site:http://www.bestshop24h.com


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 extension:https://www.opencart.com/index.php?rout ... estshop24h
email :support@bestshop24h.com
site:http://www.bestshop24h.com


Active Member

Posts

Joined
Tue Aug 02, 2016 9: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: Baidu [Spider] and 414 guests