Jump to content

An error occurred while linking object. product To categories


Recommended Posts

Hey people

 

i moved my prestashop from a server to another freshly installed, so, i'm having some issues, like this message displayed whenver i want to update a product...

 

An error occurred while linking object. product To categories

and that is quite annoying cause i can't upload images for new products i juste received...

 

does it come from a mysql strict mode activated?

Link to comment
Share on other sites

Well, for futher reference, this is the solution i found

  • Export your database through phpmyadmin, or whatever
  • Remove the first two queries, one will be about a strict mode in mysql, the second one i don't remember
  • remove the three last queries about encoding
  • make sure all what remains is about table structure and pure data injection
  • reinject your database in a newly created database, change your database name in presta settings
  • Brace yourself, you can now add products

 

just posting, hoping to restore faith in humanity

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...