• Hi
    We are trying to debug a WordPress 4.7.2 installation on hostgator. I want to create a debugging log file. We set the following in wpconfig file:

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );

    However when I go to the wp-content folder there is no log file. Permissions on the folder appear normal (755).

    Any help would be appreciated.
    thanks

Viewing 1 replies (of 1 total)
  • Hi,

    Can you install plugins correctly / or upload media?
    If not you might need to check ownership of the wp-content directory.

    If the site is not live you can also set
    define( 'WP_DEBUG_DISPLAY', true );
    to display errors in page. Might help in determining why it wont write to wp-content ??

    c

Viewing 1 replies (of 1 total)
  • The topic ‘debug.log file missing’ is closed to new replies.