iltdevunit
Forum Replies Created
-
Forum: Plugins
In reply to: [wpDirAuth] Undefined index: wpDirAuthTOSI think I’ve found the problem. I added a custom error handler to my functions file. This was to hide an error somewhere else in the site. A bit of a dirty hack, but as it’s clearly affecting the rest of the site, so I’ll rethink this.
Sorry to trouble you!
Forum: Plugins
In reply to: [wpDirAuth] Undefined index: wpDirAuthTOSHi,
I’m using:
LAMP (Uniserver Zero) on a windows box
PHP 5.4.27, MSVC9 (Visual C++ 2008) x86 Architecture
Apache 2.4.9 hThe fatal error thing is very strange. I’ve had other strange, similar things happening across the site this week for no apparent reason 🙁
Forum: Plugins
In reply to: [Optimize Database after Deleting Revisions] Optimizer hangs indefinatelyFantastic!
I’ve tested the updated version and everything works perfectly.
Thanks Rolf.
Forum: Plugins
In reply to: [Optimize Database after Deleting Revisions] Optimizer hangs indefinatelyRuns fine for me without ‘Delete expired transients’ checked too 🙂
Forum: Plugins
In reply to: [Optimize Database after Deleting Revisions] Optimizer hangs indefinatelyHi Rolf,
Yes I restarted both MySQL and Apache. I too am running on a multisite.
Cheers.
Forum: Plugins
In reply to: [W3 Total Cache] 'W3 Total Cache: Default settings are in use' errorHmm, simply clicking on ‘save all settings’ further down the page cured it.
Strange.Forum: Plugins
In reply to: [Optimize Database after Deleting Revisions] Optimizer hangs indefinatelyIn phpMyAdmin, the above query returns instantly with zero rows and no errors.
Forum: Plugins
In reply to: [Optimize Database after Deleting Revisions] Optimizer hangs indefinatelyThis is the error I get in the apache log:
WordPress database error Out of sort memory, consider increasing server sort buffer size for query \r\n\t\t\t SELECTIDAS id, 'post' AS post_type,post_titleAS title,post_modifiedAS modified\r\n\t\t\t\t FROM kv5zet1n_3_posts\r\n\t\t\t\tWHEREpost_status= 'trash'\r\n\t\t\tUNION ALL\r\n\t\t\t SELECTcomment_IDAS id, 'comment' AS post_type,comment_author_IPAS title,comment_dateAS modified\r\n\t\t\t\t FROM kv5zet1n_3_comments\r\n\t\t\t\tWHEREcomment_approved= 'trash'\r\n\t\t\t ORDER BY post_type, UCASE(title)\t\t\r\n\t\t\t made by require_once('C:\\UniServerZ\\www\\kcwww\\wordpress\\wp-admin\\admin.php'), do_action('tools_page_rvg-optimize-db'), call_user_func_array, rvg_optimize_db, rvg_get_trash, referer: http://www.mysite.com/wp-admin/tools.php?page=rvg-optimize-db.phpI’ve upped the sort buffer size to 256K but it still falls over.
Forum: Plugins
In reply to: [W3 Total Cache] Multisite problemAh fixed it.
There’s a setting under the network options:Performance > General Settings > Miscellaneous
Then uncheck ‘Use single network configuration file for all sites.’
Hi,
Yes that works fine 🙂
Forum: Plugins
In reply to: [Widget Logic] unexpected ';' in widget_logic.phpThis caught me out too. In my case I had this in a widget logic:
is_page(123);It should be:
is_page(123)Some validation on the widget logic field would be a nice addition.
Forum: Plugins
In reply to: [Radio Buttons for Taxonomies] Custom post type support?I replaced remove_meta_box() with this:
public function remove_meta_box() { if (!is_wp_error($this->tax_obj) && isset($this->tax_obj->object_type)) { $post_types = array('custom_post_type_a','custom_post_type_b'); foreach($post_types as $post_type){ remove_meta_box( $this->taxonomy.'div', $post_type, 'side' ); } } }Of course all this will get blown away if the plugin is updated, so it’s not really a long term solution.
Forum: Plugins
In reply to: [Advanced post slider] Show the date ?Hi there,
Great plugin!
Is there any progress on adding the publish date as an option? I’m really keen for this feature.Thanks 🙂
Thanks for the suggestions 🙂
I came up with this to load the mcm functions on my custom profile page.
I added the following to my theme’s functions.php page.$post_id = url_to_postid( $_SERVER['REQUEST_URI'] ); $post = get_post($post_id); $slug = $post->post_name; if($slug=='my-account'){ if ( ! is_admin() ) { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); } if ( is_plugin_active( 'wp-media-category-management/wp-media-category-management.php' ) ) { require_once( ABSPATH.'wp-content\plugins\wp-media-category-management\include\wp-mcm-admin-functions.php' ); } }I’m open to suggestions 🙂