• Resolved oanhtran1804

    (@oanhtran1804)


    Hi.
    Thank for the usefull plugin.

    I setting CUSTOM Error Log Path
    I tried with:
    1) public_html/log-writer ……………Pre 0755
    2) public_html/wp-content/log-writer…..Pre 0755

    I got message:
    CUSTOM Error Log Path not exist or is not writable

    How do i correct custom path please?
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Federico Rota

    (@mrrotella)

    Hi.
    The path must be the complete path. It depends on your server configuration.

    Ex. /storage/www/public_html/log-writer

    Let me know if you can resolve this trouble.

    Thread Starter oanhtran1804

    (@oanhtran1804)

    Depend on my server configuration
    So what is it mean of /storage and /www should i know from my server please?

    Do you mean /storage == /home
    /www ======/cpanel-login-name?

    Plugin Author Federico Rota

    (@mrrotella)

    If you have installed cpanel on your server, you must search for the document root path information. Usually is /home/username/public_html/. Also you have to add the logwriter destination path: Ex. /home/username/public_html/log-writer
    You have to create and to have access to this folder.
    In addition for linux based server, if you have a shell access to your server, go to the path where you want to log access and type the command pwd. It will return the current absolute path.
    If you can’t retrieve the path by these methods and the path is under a public domain folder, ex. https://www.test.it/log-writer, you can edit a php file, like test.php, wich contains this code: <?php echo __DIR__ ; ?> and copy it into the desidered folder. Calling via browser https://www.test.it/log-writer/test.php you will see the path to use. Than remove the file for security reason.

    Plugin Author Federico Rota

    (@mrrotella)

    I suppose you’ve solved the problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘public_html/log-writer not working’ is closed to new replies.