• Installed the plug-in, Turned caching on and the following script appeared at the top on every webpage on my site:

    define('WP_CACHE', true); //Added by WP-Cache Manager define( 'WPCACHEHOME', '/home/fm3mobil/public_html/harmonicfundservices/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager

    Pretty lame! No warnings or anything. Do I need to change settings elsewhere?

    Looking at wp-config, this was inserted before <?php. For the time being, I have removed this script. What does this mean for the plug-in? Do I need to do something else for the plug-in to work properly?

    https://www.ads-software.com/plugins/wp-super-cache/

Viewing 5 replies - 1 through 5 (of 5 total)
  • That’s the wordpress config file, it’s just turning on the caching functionality and telling wp where to store the cached files. You do want your site cached right? If you never want anything modified in the configuration file, the .htaccess file or the db, then don’t install plugins.

    Thread Starter MHJP

    (@mhjp)

    Thanks for responding.

    But I guess my message is not clear… that message appeared at the top of every page of my live website. I don’t think that’s supposed to happen to have caching on. The question is:

    where should that line go in the wp-config file? WP-cache inserted in the very beginning of the file before <?php

    Anyone else have this problem? What is the solution?

    Thanks, again. M

    Oh I see, yeah that’s not normal, I should have read your post more carefully. It must not have found whatever it’s looking for (1st comment block ? – maybe an older WP install ?) You can put it at the top of the config file just under the top comment block like this:

    /**
    ..
     * @package WordPress
     */
    
    define( 'WPCACHEHOME', '/server-path/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager
    define('WP_CACHE', true); //Added by WP-Cache Manager
    
    // ** MySQL settings - You can get this info from your web host ** //

    Hope that helps…

    I am having this issue as well and do not know how to fix it. My coding skills are non existent. Help would be greatly appreciated.

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Hi @speclt24,

    If it is the same issue, you can edit the wp-config.php file via FTP. Your hosting provider can provide you with additional details on how to access your site via FTP.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Script message on top of all pages!!’ is closed to new replies.