Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter polo74

    (@polo74)

    Thanks, it was due to my cache plugin. Thanks for your help.
    Paul

    Thread Starter polo74

    (@polo74)

    Sorry you’re right, it was due to my cache plugin. It works now. Apologies.

    Thread Starter polo74

    (@polo74)

    I can’t find any:

    Please find below the htaccess code:

    # 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

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access plus 1 year”
    ExpiresByType image/jpeg “access plus 1 year”
    ExpiresByType image/gif “access plus 1 year”
    ExpiresByType image/png “access plus 1 year”
    ExpiresByType text/css “access plus 1 month”
    ExpiresByType application/pdf “access plus 1 month”
    ExpiresByType text/x-javascript “access plus 1 month”
    ExpiresByType application/x-shockwave-flash “access plus 1 month”
    ExpiresByType image/x-icon “access plus 1 year”
    ExpiresDefault “access plus 2 days”
    ExpiresByType text/x-javascript “access plus 1 month”
    ExpiresByType application/javascript “access plus 1 month”
    ExpiresByType application/x-javascript “access plus 1 month”
    </IfModule>
    ## EXPIRES CACHING ##

    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript

    Thread Starter polo74

    (@polo74)

    Hi, thanks for your answer. I know how to add a user using PHPMyAdmin but I never used Cpanel. What I am supposed to do please ?

    Forum: Fixing WordPress
    In reply to: Database error
    Thread Starter polo74

    (@polo74)

    Thanks a lot.

    It was just a “‘” instead of a “’”

    I’ve spent all my evening trying to get if fixed.

    I’m gonna do a backup now….

    Thanks again Steve !

    Forum: Fixing WordPress
    In reply to: Database error
    Thread Starter polo74

    (@polo74)

    Thanks,

    I’ve changed the name of my .htaccess file to .htaccess.bak

    but it still doesn’t work

    Any idea what else could it be please ?

    <?php
    /**
     * The base configuration for WordPress
     *
     * The wp-config.php creation script uses this file during the
     * installation. You don't have to use the web site, you can
     * copy this file to "wp-config.php" and fill in the values.
     *
     * This file contains the following configurations:
     *
     * * MySQL settings
     * * Secret keys
     * * Database table prefix
     * * ABSPATH
     *
     * @link https://codex.www.ads-software.com/Editing_wp-config.php
     *
     * @package WordPress
     */
    
    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('WP_CACHE', true); //Added by WP-Cache Manager
    define( 'WPCACHEHOME', '/home/paullehmqt/www/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager
    define('DB_NAME', 'xxx');
    
    /** MySQL database username */
    define('DB_USER', 'xxx');
    
    /** MySQL database password */
    define('DB_PASSWORD', ‘XXXXX’);
    
    /** MySQL hostname */
    define('DB_HOST', ‘mysql55-264.perso’);
    
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
    
    [redacted]
    Forum: Fixing WordPress
    In reply to: Database error
    Thread Starter polo74

    (@polo74)

    Thanks for your answer. I’ve changed it to:

    /** MySQL hostname */
    define(‘DB_HOST’, ‘mysql55-264.perso’);

    But now it doesn’t show anything when I try to open my website:

    https://paullehmanndesign.com/

    Forum: Fixing WordPress
    In reply to: Database error
    Thread Starter polo74

    (@polo74)

    Please find below the lines of my wp-config.php file:

    <?php
    /**
    * The base configuration for WordPress
    *
    * The wp-config.php creation script uses this file during the
    * installation. You don’t have to use the web site, you can
    * copy this file to “wp-config.php” and fill in the values.
    *
    * This file contains the following configurations:
    *
    * * MySQL settings
    * * Secret keys
    * * Database table prefix
    * * ABSPATH
    *
    * @link https://codex.www.ads-software.com/Editing_wp-config.php
    *
    * @package WordPress
    */

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘WP_CACHE’, true); //Added by WP-Cache Manager
    define( ‘WPCACHEHOME’, ‘/home/paullehmqt/www/wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager
    define(‘DB_NAME’, ‘xxxxx’);

    /** MySQL database username */
    define(‘DB_USER’, ‘xxxx’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘xxxxxxxxx’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘xxxxx.mysql.db’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);

    [redacted]

    polo74

    (@polo74)

    I have spam inside wp_cache table.

    Do you know how to stop this ?

    Someone add new post and the size of the table grow regularly.

    Thanks a lot.

Viewing 9 replies - 1 through 9 (of 9 total)