Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter butterman

    (@butterman)

    Problem solved. I found the configurate file with my database information in it. The database password was not one that I set, but rather some strange mix of numbers and letters–apparent automatically generated. I replaced that password with my password and WordPress came back up with everything intact. Not sure why my password changed. Thanks for your help.

    Thread Starter butterman

    (@butterman)

    The first of the two links in the previous post is broken. I found two copies of wp-config.php:

    /etc/wordpress/wp-config.php
    /usr/share/wordpress/wp-config.php

    Many of the entries referred to in the second link are entirely missing from my copy of wp-config.php. Here’s my config.php:

    <?php
    /** WordPress's Debianised default master config file
    Please do NOT edit and read about how the configuration works in the README.Debian
    **/
    
    require_once('/etc/wordpress/config-'.strtolower($_SERVER['HTTP_HOST']).'.php');
    
    define('ABSPATH', '/usr/share/wordpress/');
    
    require_once(ABSPATH.'wp-settings.php');
    ?>

    Do I have the right file? Why does it tell me not to edit?

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