Updater
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Super Cache] Dynamic Caching does not work with latest update (1.4.1)I changed the constants which the old script was suggesting (DYNAMIC_OUTPUT_BUFFER_TAG, DYNAMIC_OB_TEXT) to something else and everything worked perfectly.
See below:
define( 'DYN_TAG', 'CONST_TAG' ); // Change this to a secret placeholder tag if ( DYN_TAG != '' ) { if (!function_exists(dynamic_output_buffer_test)) { function dynamic_output_buffer_test( $cachedata = 0) { if ( defined( 'DYN_OB_TEXT' ) ) return str_replace( DYN_TAG, DYN_OB_TEXT, $cachedata ); ob_start(); {do your thing here and you will get dynamic results} ob_end_clean(); if ( $cachedata === 0 ) { define( 'DYN_OB_TEXT', $text ); } else {return str_replace( DYN_TAG, $text, $cachedata );} } } add_cacheaction( 'wpsc_cachedata', 'dynamic_output_buffer_test' ); if (!function_exists(dynamic_output_buffer_init)) { function dynamic_output_buffer_init() { add_action( 'wp_footer', 'dynamic_output_buffer_test' ); } } add_cacheaction( 'add_cacheaction', 'dynamic_output_buffer_init' ); if (!function_exists(dynamic_output_buffer_test_safety)) { function dynamic_output_buffer_test_safety( $safety ) { if ( defined( 'DYN_OB_TEXT' ) ) {return 1;} else {return 0;} } } add_cacheaction( 'wpsc_cachedata_safety', 'dynamic_output_buffer_test_safety' ); }
Hello Tiguan! I don’t blame your plugin for it!!!
Exactly after writing my previous message, yesterday, i found my site infected by a virus that leaves a “Free Software Foundation” trace in my js files.
I don’t believe your plugin is responsible, instead your plugin helped me find the infection.
I cannot find anything about “Free Software Foundation” virus though in the web. Does anyone know something about that?
Dear Tiguan,
In most cases you are right, but in my case I hadn’t a caching plugin. Instead I found a virus inside my jquery.js file.Somehow my js includes inside wordpress was hacked, exactly after I installed Speed Booster Pack. I cannot imagine how this happened.
I have the same problem. The Booster pack removed ajax and the script below dissapeared completely. This is not the only change. I need to restore the default wp settings.
Any idea how?<script type=’text/javascript’ src=’https://[…..]/wp-includes/js/wp-ajax-response.min.js?ver=3.9.2′></script>
Forum: Plugins
In reply to: [WP Super Cache] Dynamic Caching does not work with latest update (1.4.1)I got some reports on the plugin log. Here they are:
07:54:29 / Supercache Late Init: add wp_cache_serve_cache_file to init 07:54:29 / Supercache Late Loader running on init 07:54:29 / wp_cache_get_cookies_values: /^wp-postpass|^comment_author_|^wordpress_logged_in_bfc8e68bc7a5dda64b9ab16e1b3172da/ Cookie detected: wordpress_logged_in_bfc8e68bc7a5dda64b9ab16e1b3172da 07:54:29 / wp-cache file exists: D:\WebSite Development\AllaboutMobile\Public_HTML\wp-content\cache\wp-cache-3d2417f590cc88dcbdd0eb0ddb8f329e.html 07:54:29 / Serving wp-cache dynamic file 07:54:29 / exit request 07:54:32 /wp-admin/admin-ajax.php Supercache Late Init: add wp_cache_serve_cache_file to init 07:54:33 /wp-admin/admin-ajax.php Supercache Late Loader running on init 07:54:33 /wp-admin/admin-ajax.php wp_cache_get_cookies_values: /^wp-postpass|^comment_author_|^wordpress_logged_in_bfc8e68bc7a5dda64b9ab16e1b3172da/ Cookie detected: wordpress_logged_in_bfc8e68bc7a5dda64b9ab16e1b3172da 07:54:33 /wp-admin/admin-ajax.php supercache dir: D:\WebSite Development\AllaboutMobile\Public_HTML/wp-content/cache/supercache/allaboutmobile.copy/wp-admin/admin-ajax.php/ 07:54:33 /wp-admin/admin-ajax.php No Super Cache file found for current URL: D:\WebSite Development\AllaboutMobile\Public_HTML/wp-content/cache/supercache/allaboutmobile.copy/wp-admin/admin-ajax.php/index.html 07:54:33 /wp-admin/admin-ajax.php In WP Cache Phase 2 07:54:33 /wp-admin/admin-ajax.php Setting up WordPress actions 07:54:33 /wp-admin/admin-ajax.php Not caching wp-admin requests.
Forum: Plugins
In reply to: [WP Super Cache] Dynamic Caching does not work with latest update (1.4.1)I find no errors on the cache log, but my php reports this:
[10-Aug-2014 07:41:59 UTC] PHP Warning: Parameter 1 to dynamic_output_buffer_test() expected to be a reference, value given in D:\WebSite Development\AllaboutMobile\Public_HTML\wp-includes\plugin.php on line 470
I am using 1.4.2 now but the problem continues.