The log file does not exist or is inaccessible

[ad_1]

Hello,

after moving to different hosting provider I have problem to set up Error Log Monitor.

It shows: The log file /home/html/xxxx.cz/logs/php.log does not exist or is inaccessible.

I have edited wp-config to this:

//Enable error logging.
@ini_set(‘log_errors’, ‘On’);
@ini_set(‘error_log’, ‘/home/html/xxxx.cz/public_html/www/wp-content/elm-error-logs/php-errors.log’);

//Don’t show errors to site visitors.
@ini_set(‘display_errors’, ‘Off’);
if ( !defined(‘WP_DEBUG_DISPLAY’) ) {
define(‘WP_DEBUG_DISPLAY’, false);
}

I have checked url (I have in wp-config) with my hosting provider and it is right. Why is Error Log Monitor showing different url (in backend)? What is wrong?

Thanks you

Tom

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer