Jump to content

Categories SQL Error - Unable to create categories


Recommended Posts

I have been unable to edit categories in my Prestashop since yesterday.  Everything was working perfectly until I uploaded a CSV file and accidentally overwrote my home & root categories.  

 

My store is new so I was comfortable with dumping my entire installation and installed Prestashop in a new directory & database but it is still doing the same thing.

 

I am at a loss.  I don't understand how a completely new install is still resolving to the old issue - I've cleaned all files from folders with my hosting service as well.

 

I've attached a screenshot of the error I'm getting as well as a screenshot of what my Catalog module looks like.  Very empty :)

 

Thanks to anyone that can assist me with this.

 

post-817017-0-41502300-1405312470_thumb.jpg

 

post-817017-0-34292500-1405312471_thumb.jpg

Edited by perfect2design (see edit history)
Link to comment
Share on other sites

Thank you both for your reply! When I went back into the SQL tables, the ps_category table was blank (no rows). I had backed everything up when I first started building my store so I was able to recreate the table & it works now. I'm not fluent in SQL but pick up on "how to's" pretty quickly - thankfully. I'm guessing I over wrote the table when I did the upload & had a new category (my own) for IDS 1 & 2. Ugh - I'm such a Prestashop newbie ;) I WON'T be making THAT mistake again!

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