Support » Plugin: Error Log Monitor » ELM using wrong log file path

  • Resolved NettSite

    (@nettsite)


    Hi,

    I have moved a website to a different folder on my server, but ELM doesn’t believe me:

    The log file /home/nettsite/domains/blinds/public_html/wp-content/elm-error-logs/php-errors.log does not exist or is inaccessible.

    My wp-config.php:

    //Enable error logging.
    @ini_set('log_errors', 'On');
    @ini_set('error_log', '/home/blindsonthenet/elm-error-logs/php-errors.log');

    I have deactivated and reactivated, deleted and reinstalled, all to no avail.

    • This topic was modified 2 months, 3 weeks ago by  NettSite.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    The plugin just takes the log file name from the active PHP configuration. Chances are, there’s still some .php file that has the wrong file name.

    Is there still a copy of the old wp-config.php somewhere on the server? If so, could you try removing or renaming that as a test?

    Hi Janis,

    Thank you, it was me being dumb – I didn’t change the path in NetBeans, so when I saved changes to wp-config.php NetBeans silently recreated the old path structure, and saved the file there.

    So, I was editing one file, and using another.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.