• Sorry for my English

    One day we had a fatal error with WP-super-cache.
    It stopped working the website and it showed a message like this:

    WP-Cache Config Sample File See wp-cache.php for author details. */ $cached_direct_pages = array( ); //Added by WP-Cache Manager $wpsc_save_headers = 0; //Added by WP-Cache Manager $wpsc_last_post_update = 1506077718; //Added by WP-Cache Manager $wp_cache_home_path = '/'; //Added by WP-Cache Manager $wp_cache_preload_on = 1; //Added by WP-Cache Manager $wp_cache_preload_taxonomies = 0; //Added by WP-Cache Manager $wp_cache_preload_email_volume = 'many'; //Added by WP-Cache Manager $wp_cache_preload_email_me = 0; //Added by WP-Cache Manager $wp_cache_preload_interval = 0; //Added by WP-Cache Manager $wp_cache_preload_posts = 'all'; //Added by WP-Cache Manager $wp_cache_mobile_groups = ''; //Added by WP-Cache Manager $wp_cache_mobile_prefixes = 'w3c , w3c-, acs-, alav, alca, amoi, audi, avan, benq, bird, blac, blaz, brew, cell, cldc, cmd-, dang, doco, eric, hipt, htc_, inno, ipaq, ipod, jigs, kddi, keji, leno, lg-c, lg-d, lg-g, lge-, lg/u, maui, maxo, midp, mits, mmef, mobi, mot-, moto, mwbp, nec-, newt, noki, palm, pana, pant, phil, play, port, prox, qwap, sage, sams, sany, sch-, sec-, send, seri, sgh-, shar, sie-, siem, smal, smar, sony, sph-, symb, t-mo, teli, tim-, tosh, tsm-, upg1, upsi, vk-v, voda, wap-, wapa, wapi, wapp, wapr, webc, winw, winw, xda , xda-'; //Added by WP-Cache Manager $wp_cache_refresh_single_only = 0; //Added by WP-Cache Manager $wp_cache_make_known_anon = 0; //Added by WP-Cache Manager $wp_cache_mod_rewrite = 0; //Added by WP-Cache Manager $wp_cache_front_page_checks = 0; //Added by WP-Cache Manager $wp_cache_mfunc_enabled = 0; //Added by WP-Cache Manager $wp_supercache_304 = 0; //Added by WP-Cache Manager $wp_cache_no_cache_for_get = 0; //Added by WP-Cache Manager $wp_cache_disable_utf8 = 0; //Added by WP-Cache Manager $cache_time_interval = '600'; //Added by WP-Cache Manager $cache_schedule_type = 'interval';...

    To try to solve the problem and access the website with guarantees, via ftp rename the wp-super-cache directory to disable it.

    The website ran smoothly.

    Today with more time I have been keeping an eye on the subject, which may have failed …
    I’m not sure why I’m not an expert in php …

    But … curious that the file: wp-cache-config.php contained the following code:

    0000 0000 0000 0000 0057 502d 4361 6368
    6520 436f 6e66 6967 2053 616d 706c 6520
    4669 6c65 0a0a 5365 6520 7770 2d63 6163
    6865 2e70 6870 2066 6f72 2061 7574 686f
    7220 6465 7461 696c 732e 0a2a 2f0a 0a24
    6361 6368 6564 5f64 6972 6563 745f 7061
    6765 7320 3d20 6172 7261 7928 2020 293b
    202f 2f41 6464 6564 2062 7920 5750 2d43
    6163 6865 204d 616e 6167 6572 0a24 7770
    7363 5f73 6176 655f 6865 6164 6572 7320
    3d20 303b 202f 2f41 6464 6564 2062 7920
    5750 2d43 6163 6865 204d 616e 6167 6572
    0a24 7770 7363 5f6c 6173 745f 706f 7374
    5f75 7064 6174 6520 3d20 3135 3036 3037
    3737 3138 3b20 2f2f 4164 6465 6420 6279
    2057 502d 4361 6368 6520 4d61 6e61 6765
    720a 2477 705f 6361 6368 655f 686f 6d65
    5f70 6174 6820 3d20 272f 273b 202f 2f41
    6464 6564 2062 7920 5750 2d43 6163 6865
    204d 616e 6167 6572 0a24 7770 5f63 6163
    6865 5f70 7265 6c6f 6164 5f6f 6e20 3d20
    313b 202f 2f41 6464 6564 2062 7920 5750
    2d43 6163 6865 204d 616e 6167 6572 0a24
    7770 5f63 6163 6865 5f70 7265 6c6f 6164
    5f74 6178 6f6e 6f6d 6965 7320 3d20 303b
    202f 2f41 6464 6564 2062 7920 5750 2d43
    6163 6865 204d 616e 6167 6572 0a24 7770
    5f63 6163 6865 5f70 7265 6c6f 6164 5f65
    6d61 696c 5f76 6f6c 756d 6520 3d20 276d
    616e 7927 3b20 2f2f 4164 6465 6420 6279
    2057 502d 4361 6368 6520 4d61 6e61 6765

    Thus until line 343.

    My solution, or test to see if it could re-activate the plugin was:

    Go to the “wp-cache-config-sample.php” file and copy the code to the “corrupt (wp-cache-config.php)” file.

    Well, it worked.

    Someone can tell me that it may have happened to re-write the file wp-cache-config.php

    And, have I done well with my solution?

    Many thanks!!

    Miquel.

The topic ‘Fatal mistake.’ is closed to new replies.