• GoDaddy Community
  • Managed WordPress Hosting
  • Managed WordPress Hosting

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution
    New

    How do I edit wp-config

    I have followed instructions I still don't see how to get into wp-config file to run WPdebug on managed WordPress site

    I have downloaded filezilla but haven't a clue what to do next

    I still don't see how to get in and change from false to true to run WP debug

    Help please?

    3 REPLIES 3
    Highlighted
    Super User II Super User II
    Super User II
    Solution

    Re: How do I edit wp-config

    @JLVA

     

    Now that you have Filezilla, you'll need your FTP settings.

     

    Once logged into the account via FTP you'll want to look for the wp-config.php file in the root -- you'll know the root because you'll see the other WordPress directories within -- like wp-content.

     

    Download the wp-config.php file and make a copy as a backup on your hard drive.  This way if you if something goes wrong you can reinstate the original copy before you made any changes.

     

    Then look for this line in that file:

    Enable debugging.
    
    define( 'WP_DEBUG', true );
    
    Disable debugging
    
    define( 'WP_DEBUG', false );
    

    HTH! Smiley Wink

     

    Judith
    "Do one thing every day that scares you." ~ Eleanor Roosevelt

    New

    Re: How do I edit wp-config

    Hi Muse

    Thanks for the reply, have followed instructions to:

    1. Edit the wp-config.php for your website. (cPanel / Plesk / Web & Classic / Managed WordPress / VPS)
    2. Change
      define('WP_DEBUG', false);
      to
      define('WP_DEBUG', true);
    3. On the following line, type
      define('WP_DEBUG_LOG', true);
    4. Save your changes.
    5. Using an Internet browser, visit your site to trigger the debugging log.
    6. Using your hosting account's editor, open /wp-content/debug.log.
    7. Review the contents of the debug log to identify the problem to a specific plugin, theme, or configuration option that might be causing a problem.

    Once you are done with development or troubleshooting you should set WP_DEBUG to false.

    But having done steps 1 -6 I cannot find the wp-content/debug.log.  when I open the wp-content folder the debug log is not in there?  Any thoughts?

    Super User II Super User II
    Super User II

    Re: How do I edit wp-config

    @JLVA

     

    It appears that the files are hidden by a filter.  Not sure how to undo that through the process you followed as I use FileZilla.  

     

    In FileZilla you would click on Server > Force Showing Hidden Files.

     

    I would look for a similar option...

     

    HTH! Smiley Wink

     

    Judith
    "Do one thing every day that scares you." ~ Eleanor Roosevelt