Jump to content

[Solved] I cannot add or update a product in PS1.7.5.1


Web75000

Recommended Posts

php version you are using ?

See here the server requirements you need. If you used PS 1.6. before than you need to upgrade also your server requirements:

https://www.prestashop.com/forums/topic/884856-best-server-settings-for-prestashop-17-tested-in-production/

If requirements php version, database version, bcrypt are upgraded as needed and you are still having the problem, than activate debug mode and read/correct the errors that are written:

https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/

Link to comment
Share on other sites

  • 5 weeks later...

I found the reason and the solution of the problem.

The Problem:

When i checked the response of the request i found this error "step1_categories_tree:This value is not valid.",  so i checked my Database, exactly  the table ps_category_shop,  than i did not find the root category(id_category=1).

sql query to check "Select * from ps_category_shop where id_category<3"

The solution:

INSERT INTO `ps_category_shop`(`id_category`, `id_shop`, `position`) VALUES (1,1,0)
INSERT INTO `ps_category_shop`(`id_category`, `id_shop`, `position`) VALUES (1,2,0)

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...