Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • Thread Starter samnasr

    (@samnasr)

    so removing it will not adversely affect my site correct? and that should solve the issue?

    Thread Starter samnasr

    (@samnasr)

    yep such file exists and here is the code

    <?php
    // @codingStandardsIgnoreFile
    /**
     * Advanced cache stub.
     *
     * @since 150422 Rewrite.
     */
    namespace WebSharks\CometCache\Pro;
    
    use WebSharks\CometCache\Pro\Classes;
    
    if (!defined('WPINC')) {
        exit('Do NOT access this file directly.');
    }
    if (!defined('COMET_CACHE_PLUGIN_FILE')) {
        /*
         * Plugin file path.
         *
         * @since 140725 Reorganizing class members.
         *
         * @var string Absolute server path to CC plugin file.
         */
        define('COMET_CACHE_PLUGIN_FILE', WP_CONTENT_DIR.'/plugins/comet-cache-pro/comet-cache-pro.php');
    }
    if (!defined('COMET_CACHE_AC_FILE_VERSION')) {
        /*
         * Comet Cache AC file version.
         *
         * @since 161226 Adding AC file version.
         *
         * @var string Plugin version when AC file was built.
         */
        define('COMET_CACHE_AC_FILE_VERSION', '170220');
    }
    if (defined('WP_DEBUG') && WP_DEBUG) {
        if ((include_once(dirname(COMET_CACHE_PLUGIN_FILE).'/src/includes/stub.php')) === false) {
            return; // Unable to find stub. Fail softly w/ PHP warning.
        }
    } elseif ((@include_once(dirname(COMET_CACHE_PLUGIN_FILE).'/src/includes/stub.php')) === false) {
        return; // Unable to find stub. Fail softly.
    }
    if (defined('WP_DEBUG') && WP_DEBUG) {
        if ((include_once(dirname(COMET_CACHE_PLUGIN_FILE).'/src/includes/functions/wp-cache-postload.php')) === false) {
            return; // Unable to find postload function(s). Fail softly w/ PHP warning.
        }
    } elseif ((@include_once(dirname(COMET_CACHE_PLUGIN_FILE).'/src/includes/functions/wp-cache-postload.php')) === false) {
        return; // Unable to find postload function(s). Fail softly.
    }
    Classes\AdvCacheBackCompat::zenCacheConstants();
    Classes\AdvCacheBackCompat::zcRequestVars();
    Classes\AdvCacheBackCompat::browserCacheConstant();
    
    if (!defined('COMET_CACHE_PRO')) {
        /*
         * Comet Cache Pro flag.
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_PRO', IS_PRO);
    }
    if (!defined('COMET_CACHE_ENABLE')) {
        /*
         * Is Comet Cache enabled?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_ENABLE', '1');
    }
    if (!defined('COMET_CACHE_DEBUGGING_ENABLE')) {
        /*
         * Is Comet Cache debugging enabled?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_DEBUGGING_ENABLE', '1');
    }
    if (!defined('COMET_CACHE_ALLOW_CLIENT_SIDE_CACHE')) {
        /*
         * Allow browsers to cache each document?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         *
         * @note If this is a <code>FALSE</code> (or an empty) value; Comet Cache will send no-cache headers.
         *    If <code>TRUE</code>, Comet Cache will NOT send no-cache headers.
         */
        define('COMET_CACHE_ALLOW_CLIENT_SIDE_CACHE', '0');
    }
    if (!defined('COMET_CACHE_GET_REQUESTS')) {
        /*
         * Cache <code>$_GET</code> requests w/ a query string?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_GET_REQUESTS', '0');
    }
    if (!defined('COMET_CACHE_IGNORE_GET_REQUEST_VARS')) {
        /*
         * Ignore <code>$_GET</code> request query vars?
         *
         * @since 161119 First documented version.
         *
         * @var string A regular expression; else an empty string.
         */
        define('COMET_CACHE_IGNORE_GET_REQUEST_VARS', '/(?:utm_[^\/]*?)/i');
    }
    if (!defined('COMET_CACHE_CACHE_404_REQUESTS')) {
        /*
         * Cache 404 errors?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_CACHE_404_REQUESTS', '0');
    }
    if (!defined('COMET_CACHE_CACHE_NONCE_VALUES')) {
        /*
         * Cache HTML containing nonce values?
         *
         * @since 160103 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_CACHE_NONCE_VALUES', '0');
    }
    if (!defined('COMET_CACHE_CACHE_NONCE_VALUES_WHEN_LOGGED_IN')) {
        /*
         * Cache HTML containing nonce values for Logged-In Users?
         *
         * @since 160103 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_CACHE_NONCE_VALUES_WHEN_LOGGED_IN', '1');
    }
    if (!defined('COMET_CACHE_FEEDS_ENABLE')) {
        /*
         * Cache XML/RSS/Atom feeds?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_FEEDS_ENABLE', '0');
    }
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_WHEN_LOGGED_IN')) {
        /*
         * Cache logged-in users?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>; or <code>postload</code>.
         */
        define('COMET_CACHE_WHEN_LOGGED_IN', '0');
    }
    /*[/pro]*/
    if (!defined('COMET_CACHE_DIR')) {
        /*
         * Directory used to store cache files; relative to <code>WP_CONTENT_DIR</code>.
         *
         * @since 140422 First documented version.
         *
         * @var string Absolute server directory path.
         */
        define('COMET_CACHE_DIR', WP_CONTENT_DIR.'/'.'cache/comet-cache/cache');
    }
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_UA_INFO_DIR')) {
        /*
         * Directory used to store UA info; relative to <code>WP_CONTENT_DIR</code>.
         *
         * @since 161221 Mobile-adaptive salt.
         *
         * @var string Absolute server directory path.
         */
        define('COMET_CACHE_UA_INFO_DIR', WP_CONTENT_DIR.'/'.'cache/comet-cache/ua-info');
    }
    /*[/pro]*/
    if (!defined('COMET_CACHE_MAX_AGE')) {
        /*
         * Cache expiration time.
         *
         * @since 140422 First documented version.
         *
         * @var string Anything compatible with PHP's {@link \strtotime()}.
         */
        define('COMET_CACHE_MAX_AGE', '14 days');
    }
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_MAX_AGE_DISABLE_IF_LOAD_AVERAGE_IS_GTE')) {
        /*
         * Cache expiration disabled if load average is >= to this.
         *
         * @since 151002 Adding support for load average check.
         *
         * @var string Cache expiration disabled if load average is >= to this.
         */
        define('COMET_CACHE_MAX_AGE_DISABLE_IF_LOAD_AVERAGE_IS_GTE', '');
    }
    /*[/pro]*/
    if (!defined('COMET_CACHE_EXCLUDE_HOSTS')) {
        /*
         * Host exclusions.
         *
         * @since 160706 Adding host exclusions.
         *
         * @var string A regular expression; else an empty string.
         */
        define('COMET_CACHE_EXCLUDE_HOSTS', '');
    }
    if (!defined('COMET_CACHE_EXCLUDE_URIS')) {
        /*
         * URI exclusions.
         *
         * @since 140422 First documented version.
         *
         * @var string A regular expression; else an empty string.
         */
        define('COMET_CACHE_EXCLUDE_URIS', '');
    }
    if (!defined('COMET_CACHE_EXCLUDE_CLIENT_SIDE_URIS')) {
        /*
         * Client-side URI exclusions.
         *
         * @since 151220 Adding support for client-side URI exclusions.
         *
         * @var string A regular expression; else an empty string.
         */
        define('COMET_CACHE_EXCLUDE_CLIENT_SIDE_URIS', '');
    }
    if (!defined('COMET_CACHE_EXCLUDE_REFS')) {
        /*
         * HTTP referrer exclusions.
         *
         * @since 140422 First documented version.
         *
         * @var string A regular expression; else an empty string.
         */
        define('COMET_CACHE_EXCLUDE_REFS', '');
    }
    if (!defined('COMET_CACHE_EXCLUDE_AGENTS')) {
        /*
         * HTTP user-agent exclusions.
         *
         * @since 140422 First documented version.
         *
         * @var string A regular expression; else an empty string.
         */
        define('COMET_CACHE_EXCLUDE_AGENTS', '/(?:w3c_validator)/i');
    }
    if (!defined('COMET_CACHE_404_CACHE_FILENAME')) {
        /*
         * 404 file name (if applicable).
         *
         * @since 140422 First documented version.
         *
         * @var string A unique file name that will not conflict with real paths.
         *    This should NOT include the extension; basename only please.
         */
        define('COMET_CACHE_404_CACHE_FILENAME', '----404----');
    }
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_VERSION_SALT')) {
        /*
         * Version salt.
         *
         * @since 140422 First documented version.
         *
         * @var mixed Any scalar value; e.g. string, integer, boolean;
         *    or a PHP expression that results in a scalar value.
         */
        define('COMET_CACHE_VERSION_SALT', '');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_MOBILE_ADAPTIVE_SALT')) {
        /*
         * Mobile-adaptive salt.
         *
         * @since 161221 Mobile-adaptive salt.
         *
         * @var string Set this to a <code>+</code> delimited string containing any of these tokens: <code>os.name + device.type + browser.name + browser.version.major</code>.
         * There is an additional token (<code>browser.version</code>) that contains both the major and minor versions, but this token is not recommended due to many permutations.
         * There is an additional token (<code>device.is_mobile</code>) that can be used stand-alone; i.e., to indicate that being mobile is the only factor worth considering.
         */
        define('COMET_CACHE_MOBILE_ADAPTIVE_SALT', 'os.name + device.type + browser.name');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_MOBILE_ADAPTIVE_SALT_ENABLE')) {
        /*
         * Mobile-adaptive salt enable?
         *
         * @since 161221 Mobile-adaptive salt.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_MOBILE_ADAPTIVE_SALT_ENABLE', '0');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_ENABLE')) {
        /*
         * Enable HTML compressor?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_HTMLC_ENABLE', '0');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_WHEN_LOGGED_IN')) {
        /*
         * Enable HTML compressor when logged in?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_HTMLC_WHEN_LOGGED_IN', '0');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_CSS_EXCLUSIONS')) {
        /*
         * CSS exclusions for the HTML compressor.
         *
         * @since 140422 First documented version.
         *
         * @var string A regular expression; else an empty string.
         */
        define('COMET_CACHE_HTMLC_CSS_EXCLUSIONS', '/(?:id\=\'rs\-plugin\-settings\-inline\-css\')/i');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_JS_EXCLUSIONS')) {
        /*
         * JS exclusions for the HTML compressor.
         *
         * @since 140422 First documented version.
         *
         * @var string A regular expression; else an empty string.
         */
        define('COMET_CACHE_HTMLC_JS_EXCLUSIONS', '/(?:\.php\?)/i');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_URI_EXCLUSIONS')) {
        /*
         * URI exclusions for the HTML compressor.
         *
         * @since 160222 First documented version.
         *
         * @var string A regular expression; else an empty string.
         */
        define('COMET_CACHE_HTMLC_URI_EXCLUSIONS', '');
    }
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_CACHE_EXPIRATION_TIME')) {
        /*
         * Cache expiration time for the HTML compressor.
         *
         * @since 140422 First documented version.
         *
         * @var string Anything compatible with PHP's {@link \strtotime()}.
         */
        define('COMET_CACHE_HTMLC_CACHE_EXPIRATION_TIME', '14 days');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_CACHE_DIR_PUBLIC')) {
        /*
         * Public cache directory for the HTML compressor.
         *
         * @since 140422 First documented version.
         *
         * @var string Absolute server directory path.
         */
        define('COMET_CACHE_HTMLC_CACHE_DIR_PUBLIC', WP_CONTENT_DIR.'/'.'cache/comet-cache/htmlc/public');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_CACHE_DIR_PRIVATE')) {
        /*
         * Private cache directory for the HTML compressor.
         *
         * @since 140422 First documented version.
         *
         * @var string Absolute server directory path.
         */
        define('COMET_CACHE_HTMLC_CACHE_DIR_PRIVATE', WP_CONTENT_DIR.'/'.'cache/comet-cache/htmlc/private');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_COMPRESS_COMBINE_HEAD_BODY_CSS')) {
        /*
         * Compress/combine <code><head></code> and <code><body></code> CSS?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_HTMLC_COMPRESS_COMBINE_HEAD_BODY_CSS', '1');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_COMPRESS_COMBINE_HEAD_JS')) {
        /*
         * Compress/combine <code><head></code> JS?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_HTMLC_COMPRESS_COMBINE_HEAD_JS', '1');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_COMPRESS_COMBINE_FOOTER_JS')) {
        /*
         * Compress/combine <code><!--footer-scripts--></code>?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_HTMLC_COMPRESS_COMBINE_FOOTER_JS', '1');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_COMPRESS_COMBINE_REMOTE_CSS_JS')) {
        /*
         * Compress/combine remotely hosted CSS/JS files?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_HTMLC_COMPRESS_COMBINE_REMOTE_CSS_JS', '1');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_COMPRESS_INLINE_JS_CODE')) {
        /*
         * Compress inline <code><script></code> tags?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_HTMLC_COMPRESS_INLINE_JS_CODE', '1');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_COMPRESS_CSS_CODE')) {
        /*
         * Compress CSS code after combining files?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_HTMLC_COMPRESS_CSS_CODE', '1');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_COMPRESS_JS_CODE')) {
        /*
         * Compress JS code after combining files?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_HTMLC_COMPRESS_JS_CODE', '1');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_COMPRESS_HTML_CODE')) {
        /*
         * Compress the resulting HTML code?
         *
         * @since 140422 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_HTMLC_COMPRESS_HTML_CODE', '1');
    }
    /*[/pro]*/
    /*[pro strip-from="lite"]*/
    if (!defined('COMET_CACHE_HTMLC_AMP_EXCLUSIONS_ENABLE')) {
        /*
         * Enable automatic AMP exclusions?
         *
         * @since 161221 First documented version.
         *
         * @var string|integer|boolean A boolean-ish value; e.g. <code>1</code> or <code>0</code>.
         */
        define('COMET_CACHE_HTMLC_AMP_EXCLUSIONS_ENABLE', '1');
    }
    /*[/pro]*/
    $GLOBALS[GLOBAL_NS.'_advanced_cache']  = new Classes\AdvancedCache();
    $GLOBALS[GLOBAL_NS.'__advanced_cache'] = &$GLOBALS[GLOBAL_NS.'_advanced_cache'];
    
    if (!isset($GLOBALS['zencache__advanced_cache'])) {
        $GLOBALS['zencache_advanced_cache']  = &$GLOBALS[GLOBAL_NS.'_advanced_cache'];
        $GLOBALS['zencache__advanced_cache'] = &$GLOBALS[GLOBAL_NS.'_advanced_cache'];
    }
    if (!isset($GLOBALS['quick_cache__advanced_cache'])) {
        $GLOBALS['quick_cache_advanced_cache']  = &$GLOBALS[GLOBAL_NS.'_advanced_cache'];
        $GLOBALS['quick_cache__advanced_cache'] = &$GLOBALS[GLOBAL_NS.'_advanced_cache'];
    }
    Thread Starter samnasr

    (@samnasr)

    hi there i deactivate each plugin one by one and purged all after each deactivation the message is still there!

    here is the report showing only lightspeed on : Please advise

    Server Variables
    SERVER_SOFTWARE = LiteSpeed
    DOCUMENT_ROOT = /home/ezchoice/public_html
    X-LSCACHE = on
    LSWCP_TAG_PREFIX = f62

    Wordpress Specific Extras
    wordpress version = 4.9.2
    siteurl = https://ezchoicefinancial.com
    home = https://ezchoicefinancial.com
    home_url = https://ezchoicefinancial.com
    locale = en_US
    active theme = Avada
    active plugins = array (
    3 => ‘litespeed-cache/litespeed-cache.php’,
    )

    LSCache Plugin Options
    version = 1.8.2
    radio_select = 1
    purge_upgrade = true
    cache_priv = true
    cache_commenter = true
    cache_rest = true
    cache_page_login = true
    timed_urls =
    timed_urls_time =
    cache_favicon = true
    cache_resources = true
    mobileview_enabled = false
    mobileview_rules =
    cache_uri_priv =
    cache_object = false
    cache_object_kind = false
    cache_object_host = localhost
    cache_object_port = 11211
    cache_object_life = 360
    cache_object_persistent = true
    cache_object_admin = false
    cache_object_db_id = 0
    cache_object_user =
    cache_object_pswd =
    cache_browser = false
    cache_browser_ttl = 2592000
    login_cookie =
    check_advancedcache = true
    use_http_for_https_vary = false
    debug = 0
    admin_ips = 127.0.0.1
    debug_level = false
    log_file_size = 3
    heartbeat = true
    debug_cookie = false
    collaps_qs = false
    log_filters = false
    public_ttl = 604800
    private_ttl = 1800
    front_page_ttl = 604800
    feed_ttl = 0
    403_ttl = 3600
    404_ttl = 3600
    500_ttl = 3600
    purge_by_post = A.F.H.M.PGS.PGSRP.PT.T
    excludes_uri =
    excludes_qs =
    excludes_cat =
    excludes_tag =
    instant_click = false
    css_minify = true
    css_combine = true
    css_combined_priority = false
    css_http2 = true
    css_exclude =
    js_minify = true
    js_combine = true
    js_combined_priority = false
    js_http2 = true
    js_exclude =
    optimize_ttl = 604800
    html_minify = true
    optm_qs_rm = false
    optm_ggfonts_rm = false
    optm_css_async = true
    optm_js_defer = true
    optm_emoji_rm = false
    optm_excludes =
    optm_exclude_jquery = true
    optm_ggfonts_async = false
    optm_max_size = 1.2
    optm_rm_comment = false
    cdn = false
    cdn_ori =
    cdn_exclude =
    cdn_remote_jquery = 0
    cdn_cloudflare = false
    cdn_cloudflare_email =
    cdn_cloudflare_key =
    cdn_cloudflare_name =
    cdn_cloudflare_zone =
    media_img_lazy = true
    media_img_lazy_placeholder =
    media_iframe_lazy = false
    media_img_optm_cron_off = false
    media_img_webp = true
    media_img_webp_only = false
    media_img_exif = false
    media_img_webp_lossless = false
    hash = AUcMu2ScY2ro50EB2yXO0ectMrY2zJrK
    nocache_cookies =
    nocache_useragents =
    crawler_include_posts = true
    crawler_include_pages = true
    crawler_include_cats = true
    crawler_include_tags = true
    crawler_excludes_cpt =
    crawler_order_links = date_desc
    crawler_usleep = 500
    crawler_run_duration = 400
    crawler_run_interval = 600
    crawler_crawl_interval = 302400
    crawler_threads = 3
    crawler_load_limit = 1
    crawler_domain_ip =
    crawler_custom_sitemap =
    crawler_cron_active = false
    esi_enabled = false
    esi_cached_admbar = true
    esi_cached_commform = true
    litespeed-cache-cdn_mapping = array (
    0 =>
    array (
    ‘url’ => false,
    ‘inc_img’ => false,
    ‘inc_css’ => false,
    ‘inc_js’ => false,
    ‘filetype’ => ‘.aac
    .css
    .eot
    .gif
    .jpeg
    .js
    .jpg
    .less
    .mp3
    .mp4
    .ogg
    .otf
    .pdf
    .png
    .svg
    .ttf
    .woff’,
    ),
    )

    /home/ezchoice/public_html/.htaccess contents:
    # BEGIN LSCACHE
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    <IfModule LiteSpeed>
    RewriteEngine on
    CacheLookup on
    RewriteRule .* – [E=Cache-Control:no-autoflush]
    RewriteRule min/\w+\.(css|js) – [E=cache-control:no-vary]

    ### marker CACHE RESOURCE start ###
    RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php – [E=cache-control:max-age=3600]
    ### marker CACHE RESOURCE end ###

    ### marker FAVICON start ###
    RewriteRule favicon\.ico$ – [E=cache-control:max-age=86400]
    ### marker FAVICON end ###

    ### marker WEBP start ###
    RewriteCond %{HTTP_ACCEPT} “image/webp”
    RewriteRule .* – [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp]
    ### marker WEBP end ###

    </IfModule>
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    # END LSCACHE

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thread Starter samnasr

    (@samnasr)

    nice thanks so i should get the premium migrate version. but set up wordpress on the new hosting with a temporary domaiomain? then the migrate will overwrite the domain set up in wordpress?

    my website name is https://ezchoicefinancial.com should i set up on the server a temporary domain a2hosting.something.com . then when the migration take place would it overwrite the wordpress backend to read back to https://ezchoicefinancial.com . is that why i need to change the host file in windows?

    i am confused on that part

    Thread Starter samnasr

    (@samnasr)

    also the website is currently having issues establishing database connection . it was ok at the time of last backup

    Thread Starter samnasr

    (@samnasr)

    i deactivated yoast the problem persists. i will call my hosting soon. what should i tell them to do . i read the link you provided not sure what to tell them

    Thread Starter samnasr

    (@samnasr)

    the only redirect i have on the site is Yoast Seo and they are redirects from the old html site we had years ago. If i turn off yoast and test it would the directs via Yoast disappear long enough to see?

    Thread Starter samnasr

    (@samnasr)

    hello there Rogier thank you for the swift response! you are awesome.
    Unfortunately i am not using cloudflare directly. it is my hosting provider using it directly so i have no control over it or an actual account with cloudflare.

    I have 1&1 hosting and they didnt tell me i have cloudlfare for cdn

    Thread Starter samnasr

    (@samnasr)

    go to the plugin in your ftp or cpanel . Find wp-content\plugins\flexi-quote-rotator\classes\quote-rotator.class.php
    and replace all the code in this file with the code below

    <?php
    
    if( !class_exists('QuoteRotator') ) :
    
    class QuoteRotator
    
    {
    
    	var $tableName;
    
    	var $pluginPath;
    
    	var $currentVersion;
    
    	function QuoteRotator()
    
    	{
    
    		global $wpdb;
    
    		$this->currentVersion = '0.1';
    
    		$this->tableName = $wpdb->prefix . 'QuoteRotator';
    
    		$this->pluginPath = get_settings('siteurl') . '/wp-content/plugins/flexi-quote-rotator/';
    
    		$options = get_option('widgetQuoteRotator');
    
    		$options['version'] = $this->currentVersion;
    
    		update_option('widgetQuoteRotator', $options);
    
    	}
    
    	function createDatabaseTable()
    
    	{
    
    		global $wpdb;
    
    		$options = array();
    
    		$options['title'] = 'Quote Rotator';
    
    		$options['delay'] = 5;
    
    		$options['fade'] = 2;
    
    		$options['fontsize'] = 12;
    
    		$options['fontunit'] = 'px';
    
    		if( !get_option('widgetQuoteRotator') )
    
    		{
    
    			add_option('widgetQuoteRotator', $options);
    
    		}
    
    		if( $wpdb->get_var("SHOW TABLES LIKE <code>&quot; . $this->tableName . &quot;</code>") != $this->tableName)
    
    		{
    
    			$sql = "CREATE TABLE <code>&quot; . $wpdb->prefix . &quot;QuoteRotator</code> (<code>id</code> MEDIUMINT(9) NOT NULL AUTO_INCREMENT PRIMARY KEY, <code>quote</code> TEXT NULL);";
    
    			//$sql = "CREATE TABLE <code>&quot; . $this->tableName . &quot;</code> (<code>id</code> MEDIUMINT(9) NOT NULL AUTO_INCREMENT PRIMARY KEY, <code>quote</code> TEXT NULL);";
    
    			require_once(ABSPATH . 'wp-admin/upgrade-functions.php');
    
    			dbDelta($sql);
    
    			$options['version'] = $this->currentVersion;
    
    		}
    
    		$sql = "ALTER TABLE <code>&quot; . $this->tableName . &quot;</code> ADD <code>author</code> VARCHAR(255) NOT NULL AFTER <code>quote</code>;";
    
    		$wpdb->query($sql);
    
    		$sql = "RENAME TABLE <code>wp_QuoteRotator</code> TO <code>$this->tableName</code>;";
    
    		$wpdb->query($sql);
    
    		$sql = "ALTER TABLE <code>&quot; . $this->tableName . &quot;</code> CHANGE <code>quote</code> <code>quote</code> TEXT NULL;";
    
    		$wpdb->query($sql);
    
    		update_option('widgetQuoteRotator', $options);
    
    		delete_option('widgetizeQuoteRotator');		
    
    	}
    
    	function deleteDatabaseTable()
    
    	{
    
    		delete_option('widgetQuoteRotator');
    
    		//global $wpdb;
    
    		//$sql = "DROP TABLE IF EXISTS " . $this->tableName . ";";	
    
    		//$wpdb->query($sql);
    
    	}
    
    	function addHeaderContent()
    
    	{
    
    		global $wpdb;
    
    		$delay = get_option('fqr_delay');
    
    		if (!isset($delay) || $delay == "") $delay = 5;
    
    		$fade = get_option('fqr_fade');
    
    		if (!isset($fade) || $fade == "") $fade = 2;
    
    		$fadeout = get_option('fqr_fadeout');
    
    		if (!isset($fadeout) || $fadeout == "") $fadeout = 0;
    
    		$random = get_option('fqr_random');
    
    		if (!isset($random) || $random == "") $random = 0;
    
    		$openquote = get_option('fqr_openquote');
    
    		if (!isset($openquote) || $openquote == "") {
    
             $openquote = "";
    
          } else {
    
             $openquote = "<span id='openquote' class='quotemark'>" . $openquote . '</span>';
    
          }
    
    		$closequote = get_option('fqr_closequote');
    
    		if (!isset($closequote) || $closequote == "") {
    
             $closequote = "";
    
          } else {
    
             $closequote = "<span id='closequote' class='quotemark'>" . $closequote . '</span>';
    
          }
    
    		if($random)
    
    			$sql = "SELECT * FROM " . $this->tableName . " ORDER BY RAND(".time().")";
    
    		else
    
    			$sql = "SELECT * FROM " . $this->tableName . " ORDER BY id";
    
    		$results = $wpdb->get_results($sql);
    
    		$stylesdir = 'wp-content/plugins/flexi-quote-rotator/styles/';
    
    		$cssfile = get_option('fqr_stylesheet');
    
          if (file_exists(ABSPATH . $stylesdir . $cssfile))
    
    		echo "
    
    			<link rel=\"stylesheet\" href=\"" . get_settings('siteurl') . '/' . $stylesdir . $cssfile ."\" type=\"text/css\" media=\"screen\" />";
    
    		/* 2010-03-25 replacing Scriptaculous animation code with jQuery - Thanks to [email protected] for supplying the code */
    
    		echo "	<script type='text/javascript'>
    			(function ($) {
    				var callquote;
    
    				quoteRotator = {
    
    					i: 1,
    
    					quotes: [";
    
                   	$i=0;
    
                   	foreach($results as $result){
    
                           	echo "\"$openquote<span id='quote'>$result->quote</span>$closequote";
    
                           	if($result->author != '')
    
    				echo " <span id='quoteauthor'>$result->author</span>";
    
    			echo "\",\n";
    
    			$i++;
    
    		}
    
    		echo "
    
    					],
    
    					numQuotes: ".$i.",
    
    					fadeDuration: ".$fade.",
    
    					fadeoutDuration: ".$fadeout.",
    
    					delay: ".$delay.",
    
    					quotesInit: function(){
    
    						if (this.numQuotes < 1){
    
    							document.getElementById('quoterotator').innerHTML=\"No Quotes Found\";
    
    						} else {
    							this.navQuote();
    							this.quoteRotate();
    							this.quotehover();
    						}
    					},
    					navQuote: function() {
    						$('<div id=\"quotenav\"></div>').insertAfter('#quotearea');
    						for (n=1; n <= this.numQuotes ; n++) {
    							$('#quotenav').append('<span onclick=\"quoteRotator.callQuote(this,'+n+')\">&bull;</span>');
    						}
    						// insert style
    						$('head').append('<style type=\"text/css\">#quotenav {display: block;text-align: center;font-size: 50px;color: #000;}#quotenav span {margin: 0 3px;cursor: pointer;}#quotenav span.active,#quotenav span:hover{color: red;}</style>');
    					},
    					quoteRotate: function(i){
    						if(!i) {
    							i = this.i;
    						}
    						$('#quotenav span').each(function () {
    							$(this).removeClass('active');
    						});
    						$('#quotenav span:nth-child('+i+')').addClass('active');
    
    						jQuery('#quoterotator').hide().html(this.quotes[i - 1]).fadeIn(this.fadeDuration * 1000).css('filter','');
    
    						this.i = i % (this.numQuotes) + 1;
    
    						callquote = setTimeout('quoteRotator.quoteRotate()', (this.delay + this.fadeDuration) * 1000);
    
    					},
    					callQuote: function(e,n) {
    						clearTimeout(callquote);
    						this.quoteRotate(n);
    					},
    					quotehover: function() {
    						jQuery('#quotearea').mouseenter(function () {
    							clearTimeout(callquote);
    						  }).mouseleave(function(){
    								setTimeout('quoteRotator.quoteRotate()', 500);
    						  });
    					}
    				}
    		})(jQuery);
    			</script>";
    
    	}
    
    	function displayWidget($args)
    
    	{
    
    		extract($args);
    
    		$options = get_option('widgetQuoteRotator');
    
    		$title = $options['title'];
    
          $color = $options['color'];
    
          $style = "";
    
          if ($options['fontsize'] != "") $style .= "font-size:".$options['fontsize'].$options['fontunit'].";";
    
          if ($options['height'] != "") $style .= "height:".$options['height']."px;";
    
          if ($options['color'] != "") $style .= "color:".$options['color'].";";
    
          if ($style != "") $style = " style='".$style."'";
    
    		echo $before_widget . $before_title . $title . $after_title;
    
    		echo "<div id=\"quotearea\"$style><div id=\"quoterotator\">\n";
    
    		echo "Loading Quotes...\n";
    
    		echo "</div></div>\n";
    
    		echo "<script type=\"text/javascript\">setTimeout(\"quoteRotator.quotesInit()\", 2000)</script>\n";
    
    		echo $after_widget;
    
    	}
    
    	function getQuoteCode($title=null, $delay=null, $fadeDuration=null, $fadeoutDuration=null)
    
    	{
    
    		$output =  "";
    
          if (isset($title) && $title != "") {
    
       		$output .=  "<h2>" . $title . "</h2>";
    
    		} else {
    
             $title_from_settings = get_option('fqr_title');
    
             if (isset($title_from_settings) && $title_from_settings != "") {
    
          		$output .=  "<h2>" . $title_from_settings . "</h2>";
    
       		}
    
          }
    
          $style = "";
    
          if (get_option('fqr_height') != "") $style .= "height:".get_option('fqr_height')."px;";
    
          if (get_option('fqr_width') != "") $style .= "width:".get_option('fqr_width')."px;";
    
          if ($style != "") $style = " style='".$style."'";
    
    		$output .= "<div id=\"quotearea\"$style><div id=\"quoterotator\">\n";
    
    		$output .= "Loading Quotes...\n";
    
    		$output .= "</div></div>\n";
    
    		$output .= "<script type=\"text/javascript\">";
    
          if (isset($delay) && $delay != "") {
    
       		$output .=  "quoteRotator.delay=".$delay.";";
    
    		}
    
          if (isset($fadeDuration) && $fadeDuration != "") {
    
       		$output .=  "quoteRotator.fadeDuration=".$fadeDuration.";";
    
    		}
    
          if (isset($fadeoutDuration) && $fadeoutDuration != "") {
    
       		$output .=  "quoteRotator.fadeoutDuration=".$fadeoutDuration.";";
    
    		}
    
          $output .= "quoteRotator.quotesInit();</script>\n";
    
    		return $output;
    
    	}
    
    }
    
    endif;
    
    ?>
    Thread Starter samnasr

    (@samnasr)

    i edited one on the php files to have a navigation dots and pause hover effect. i can probably share it with you

    Thread Starter samnasr

    (@samnasr)

    nevermind

    Thread Starter samnasr

    (@samnasr)

    actually i was missing a space between the “7” and “th” int he css . ii fixed it thank you and nevermind

    Thread Starter samnasr

    (@samnasr)

    it worked however on a similar table different page. i used the same CSS AND the text in the header didnt really change at all:
    .wp-table-reloaded-id-7th {
    font-family:arial;
    font-size: 15px;
    color: #000000;
    text-align: center;
    }

    the link to the page is
    http://lfcseminars.com/advanced-seminars/self-mastery/

    i tried changing the font color and font size but nothing really changes including of course my biggest priority to center the text in the head .

    Please advise

    Thread Starter samnasr

    (@samnasr)

    again many thanks ! i just donated . also i just rated the plugin with 5 stars

    Thread Starter samnasr

    (@samnasr)

    thank you it worked! this plugin is the best thank you again for creating it. i will donate for sure.

    question the search bar is still on the right hand side of the screen is there a way to move it with the table ? if no i really dont need it and i dont mind it not being there perhaps i can remove it ?

Viewing 15 replies - 1 through 15 (of 24 total)