• Resolved patricklux

    (@patricklux)


    Any idea what does that mean? Have other pages on the same server working…

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author nintechnet

    (@nintechnet)

    You can use this script to debug DB errors: https://nintechnet.com/share/wp-db.txt

    1. Rename this file to “wp-db.php”.
    2. Upload it into your WordPress root folder.
    3. Go to http://YOUR WEBSITE/wp-db.php
    4. Delete it afterwards.

    Thread Starter patricklux

    (@patricklux)

    Version: 1.4
    Found /www/htdocs/w01370ce/luxbox/wp-config.php.
    Opening it for reading.
    Looking for DB_NAME, DB_USER, DB_PASSWORD, DB_HOST and $table_prefix:
    DB_NAME: found ‘d020495d’
    DB_USER: found ‘d020495d’
    DB_PASSWORD: found (click here to view password)
    DB_HOST: found ‘localhost’
    cannot read table_prefix
    Attempting to connect to the DB: OK

    Attempting to read NinjaFirewall’s options (nfw_options) from the DB:
    Notice: Undefined index: table_prefix in /www/htdocs/w01370ce/luxbox/wp-db.php on line 93
    Error: Table ‘d020495d.options’ doesn’t exist
    Exiting.

    I was using ithemes security before. Any idea

    Thread Starter patricklux

    (@patricklux)

    Firewall torubleshooter is returning this:
    NinjaFirewall detection : NinjaFirewall is loaded but returned error code #3

    Loaded INI file : /etc/php70/fpm/php.ini
    user_ini.filename : .user.ini
    user_ini.cache_ttl : 300 seconds
    User PHP INI : php.ini found – .user.ini found – Warning: you have more than one INI file

    Plugin Author nintechnet

    (@nintechnet)

    It cannot find the $table_prefix line in your wp-config.php.
    Can you check in your wp-config.php if you see it, and paste the whole line here?

    Thread Starter patricklux

    (@patricklux)

    /**
    * 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 = ‘jvgmj_’;

    Plugin Author nintechnet

    (@nintechnet)

    Move the $table_prefix = 'jvgmj_'; to a new line so that it looks like this:

    * You can have multiple installations in one database if you give each
    * a unique prefix. Only numbers, letters, and underscores please!
    */ 
    $table_prefix = 'jvgmj_';
    
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Cannot retrieve WordPress database credentials’ is closed to new replies.