ianatkins
Forum Replies Created
-
Forum: Installing WordPress
In reply to: index wont loadI’d delete the .htaccess file, login to your admin and update your permalink structure.
Forum: Installing WordPress
In reply to: Hacked – Latest VersionThe yak_product tables are from YAK Shopping cart plugin, so nothing to worry about.
http://ww.wp.xz.cn/extend/plugins/yak-for-wordpress/Your database file might be big due to wordpress saving any revisions to posts/pages?
Ian.
Forum: Installing WordPress
In reply to: Hacked – Latest VersionHello,
The yak_product_detail table is not a default table in wordpress, but might be associated with a plugin.
Your best bet is to try and restore your sql backup using a mysql client, rather than the browser.
Try mysqlyog or navicat. Log into your database using one of these programmes (or similar). Then I’d take another backup of what it online, then delete it and restore from one of your previous backups.
Which version of wordpress are you currently using, it might be an idea to update it?
Hope it helps.
Ian.
Forum: Fixing WordPress
In reply to: Images Don’t Automatically Go Into Gallery?You have to save in draft the new page before uploading pictures. After you save it, everything goes in gallery.
This is the solution.
Forum: Everything else WordPress
In reply to: Support/Mentors/Welcome WagonI’ve found wordpress to be already be running a friendly, accessible and useful community. All the above sound good, but perhaps a little overkill, just keep doing what your doing!
Thanks.
Forum: Fixing WordPress
In reply to: Images Don’t Automatically Go Into Gallery?I also have this problem intermittently.
Running wordpress 2.8 windows hosting.
Has this been listed as a bug / any news?
Forum: Themes and Templates
In reply to: Displaying Archives by month, excluding a category<ul> <li><h2>Archives</h2></li> <?php $querystr = "SELECT YEAR(post_date) AS 'year', MONTH(post_date) AS 'month' , count(ID) as posts FROM $wpdb->posts INNER JOIN $wpdb->term_relationships ON($wpdb->posts.ID = $wpdb->term_relationships.object_id) INNER JOIN $wpdb->term_taxonomy ON($wpdb->term_relationships.term_taxonomy_id = $wpdb->term_taxonomy.term_taxonomy_id) WHERE $wpdb->term_taxonomy.term_id != 12 AND $wpdb->term_taxonomy.parent != 12 AND $wpdb->term_taxonomy.taxonomy = 'category' AND $wpdb->posts.post_status = 'publish' AND $wpdb->posts.post_type = 'post' GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESC"; $years = $wpdb->get_results($querystr); foreach ( (array) $years as $year ) { $url = get_month_link( $year->year, $year->month ); $date =mysql2date('F o', $year->year.'-'.$year->month, $translate = true); echo get_archives_link($url, $date, 'html','<li>',' (' . $year->posts .')</li>'); } ?> </ul>To code messed up above.