pIng
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Unknown column ‘category_nicename’…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
In reply to: Unknown column ‘category_nicename’…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
In reply to: Blocking Unregistered Spammers, Porn, GamblingI 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
In reply to: category functionsInstead 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
In reply to: How to add Category Icons?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
In reply to: Current category or post idInstead 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); ?>