WP-e-Commerce and W3-Total-Cache integration problem [closed]

W3 Total Cache is a very advanced plugin that has built in ways to handle almost any situation. To exclude a page from being cached use one of the following commands below: define(‘DONOTCACHEPAGE’, true); Disables page caching for a given page. define(‘DONOTCACHEDB’, true); Disables database caching for given page. define(‘DONOTMINIFY’, true); Disables minify for a … Read more

Writing a view count with w3 total cache

This won’t work if page caching is enabled, I would recommend creating an ajax request which calls this function instead. e.g. add_action( “wp_ajax_nopriv_view_count”, ‘view_count’ ); add_action( “wp_ajax_view_count”, ‘view_count’ ); function view_count(){ update_post_meta($_GET[‘id’], ‘view_count’, $count++); } (then create an ajax call in JS which passes through the page id to this counting function) Ajax shouldn’t be … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)