Title: pIng's Replies | WordPress.org

---

# pIng

  [  ](https://wordpress.org/support/users/ping/)

 *   [Profile](https://wordpress.org/support/users/ping/)
 *   [Topics Started](https://wordpress.org/support/users/ping/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ping/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ping/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ping/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ping/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ping/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unknown column ‘category_nicename’…](https://wordpress.org/support/topic/unknown-column-category_nicename/)
 *  [pIng](https://wordpress.org/support/users/ping/)
 * (@ping)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/unknown-column-category_nicename/#post-102416)
 * HELP!
 * I’m an idiot. I have no clue.. all I know is that my admin moved our blogs to
   a new server.. and installed the latest WP drop.. and now we get this:
 * ————————–
    Database error: [Unknown column ‘post_date_gmt’ in ‘where clause’]
   SELECT DISTINCT * FROM wp_posts WHERE 1=1 AND post_date_gmt <= ‘2005-02-10 07:
   29:59’ AND (post_status = “publish”) GROUP BY wp_posts.ID ORDER BY post_date 
   DESC LIMIT 10
 * —————–
 * I know that my old DB had been customized by our host for me, but I don’t know
   what was done.
 * I just want help importing my sql data files (we dumped the data and structure
   to files) into my new install of WP.
 * Help?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unknown column ‘category_nicename’…](https://wordpress.org/support/topic/unknown-column-category_nicename/)
 *  [pIng](https://wordpress.org/support/users/ping/)
 * (@ping)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/unknown-column-category_nicename/#post-102415)
 * Almost related… I moved my blog to a new server by copying the db. I then copied
   all of the WP files in to the blog directory, changed the configuration to point
   to the new DB location.. and presto! It worked.. i thought.
 * One one of the blogs, I get an error when I try and post: Database error: [Unknown
   column ‘post_date_gmt’ in ‘field list’]
 * On both “moved” blogs, I get parsing errors on the rss feed pages.
 * Any ideas how I can get this fixed?
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Blocking Unregistered Spammers, Porn, Gambling](https://wordpress.org/support/topic/blocking-unregistered-spammers-porn-gambling/)
 *  [pIng](https://wordpress.org/support/users/ping/)
 * (@ping)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/blocking-unregistered-spammers-porn-gambling/#post-103233)
 * I got smacked this morning as well with about 100 comments in an hour. Stopped
   the bleeding by selecting to manually approve comments, then I inserted the code
   above and uploading. The spams immediately ceased allowing me to delete and get
   back to normal.
    Thanks for the great tips guys.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [category functions](https://wordpress.org/support/topic/category-functions/)
 *  [pIng](https://wordpress.org/support/users/ping/)
 * (@ping)
 * [22 years ago](https://wordpress.org/support/topic/category-functions/#post-47824)
 * Instead of using complex hack code, I chose to simply search the query string
   for the category number, then I’ve inserted it inline where needed to modify 
   image or css tags. I’m no PHP guy, but this works great for me and it’s one line
   of code:
    <?php echo($cat); ?>
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to add Category Icons?](https://wordpress.org/support/topic/how-to-add-category-icons/)
 *  [pIng](https://wordpress.org/support/users/ping/)
 * (@ping)
 * [22 years ago](https://wordpress.org/support/topic/how-to-add-category-icons/#post-35082)
 * Instead of using complex hack code, I chose to simply search the query string
   for the category number, then I’ve inserted it inline where needed to modify 
   image or css tags. I’m no PHP guy, but this works great for me and it’s one line
   of code:
    <?php echo($cat); ?>
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Current category or post id](https://wordpress.org/support/topic/current-category-or-post-id/)
 *  [pIng](https://wordpress.org/support/users/ping/)
 * (@ping)
 * [22 years ago](https://wordpress.org/support/topic/current-category-or-post-id/#post-41252)
 * Instead of using complex hack code, I chose to simply search the query string
   for the category number, then I’ve inserted it inline where needed. I’m no PHP
   guy, but this works great for me and it’s one line of code:
    <?php echo($cat);?
   >

Viewing 6 replies - 1 through 6 (of 6 total)