• Hi, I have recently ran into server issue where all my core files were deleted from the folders on my server and only the database was left intact.

    I have recreated the environment that the site was previously on and hooked it up to the saved Database that was not destroyed however when logging into my Administration account I am receiving the following error:

    “You do not have sufficient permissions to access this page.”

    Here is a screenshot of my Database/Site
    https://i.imgur.com/kdfKCHn.jpg

    Here is a copy of the WP-CONFIG 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('DB_NAME', 'xxxxxxxxxx');
    
    /** MySQL database username */
    define('DB_USER', 'xxxxxxxxx');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'xxxxxxxx');
    
    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    
    /** 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', '');
    
    /**#@+
     * Authentication Unique Keys and Salts.
     *
     * Change these to different unique phrases!
     * You can generate these using the {@link https://api.www.ads-software.com/secret-key/1.1/salt/ www.ads-software.com secret-key service}
     * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
     *
     * @since 2.6.0
     */
    define('AUTH_KEY',         'xxxxxxxxxxxxxxxxxx');
    define('SECURE_AUTH_KEY',  'xxxxxxxxxxxxxxxxxxxxxx');
    define('LOGGED_IN_KEY',    'xxxxxxxxxxxxxxxxxxxxxxxx');
    define('NONCE_KEY',        'xxxxxxxxxxxxxxxxxxxxxx');
    define('AUTH_SALT',        'xxxxxxxxxxxxxxxxxxxxxxx');
    define('SECURE_AUTH_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
    define('LOGGED_IN_SALT',   'xxxxxxxxxxxxxxxxxxxxxxxx');
    define('NONCE_SALT',       'xxxxxxxxxxxxxxxxxxxx');
    
    /**#@-*/
    
    /**
     * WordPress Database Table prefix.
     *
     * You can have multiple installations in one database if you give each
     * a unique prefix. Only numbers, letters, and underscores please!
     */
    $table_prefix  = 'z4b3mpy8s_';
    
    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     *
     * For information on other constants that can be used for debugging,
     * visit the Codex.
     *
     * @link https://codex.www.ads-software.com/Debugging_in_WordPress
     */
    define('WP_DEBUG', false);
    
    /* That's all, stop editing! Happy blogging. */
    
    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    Any help would be greatly appreciated.

    PS: Could this be because the original WP installation before my sudden loss of data was pre 4.4.2 and one I try to recreate the files I installed WP 4.4.2 on top of a Database that was attached to the older version of WP?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Owner/Admin Permission MAJOR Bug’ is closed to new replies.