Title: Categories dabatase error
Last modified: August 18, 2016

---

# Categories dabatase error

 *  [sweetiemo](https://wordpress.org/support/users/sweetiemo/)
 * (@sweetiemo)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/categories-dabatase-error/)
 * I was having problems deleting comments (sending referrers) so i looked on the
   forum and found a code that could help. I copied and pasted the code but it didnt
   work. I then wanted to removed the new code and past the old one but had no back
   up. I downloaded the latest version of wordpress (1.5, im using 1.2) and i lost
   my categories. How can i get them back? By the way, i changed the code in the
   admin_functions.php file (wp-admin folder). This is what it says:
 * Database error: [Erreur de syntaxe prï¿½s de ‘WHERE category_parent = 0 ORDER
   BY cat_name’ ï¿½ la ligne 1]
    SELECT cat_ID FROM WHERE category_parent = 0 ORDER
   BY cat_name
 * Do you think that if i got the 1.2 version back and paste it in my server it 
   would work? If so, where can i find the old version?
 * Thanks a lot! 🙂

Viewing 1 replies (of 1 total)

 *  Thread Starter [sweetiemo](https://wordpress.org/support/users/sweetiemo/)
 * (@sweetiemo)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/categories-dabatase-error/#post-151742)
 * anyone can help?

Viewing 1 replies (of 1 total)

The topic ‘Categories dabatase error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [sweetiemo](https://wordpress.org/support/users/sweetiemo/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/categories-dabatase-error/#post-151742)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
