Hi,
Please visit the following page: /wp-admin/admin.php?page=rrrlgvwr.php and provide us with a screenshot of the URLs or the entire page. It’s unclear to us how you’re enabling WP error logging on request, and we need to know the exact path to the log file on your site. It’s possible that the file isn’t being created, which might be why you’re seeing an error when trying to access it — the file might not exist.
Please contact our support on our website with the details and a screenshot, and we’ll assist you further.
Thread Starter
Harm10
(@harm10)
https://www.imghippo.com/i/yte9071Fuk.png
Shows the image when WP_DEBUG is true.
Then I change it to FALSE via config.php and switch on PHP error reporting via added action and code like this:
if ($my_wp_debug && !WP_DEBUG) {
// Turn on debug
error_reporting(E_ALL);
ini_set('display_errors', 0);
$file_name = $file_name ? $file_name : 'debug';
$log_path = WP_CONTENT_DIR . '/' . $file_name .'.log';
ini_set('log_errors', 1);
ini_set('error_log', $log_path);
}
I have switched on some error_log commands to show that PHP is logging and to what file:
[09-Jan-2025 16:41:43 UTC] site 4: display_errors = 0
[09-Jan-2025 16:41:43 UTC] site 4: log_errors = 1
[09-Jan-2025 16:41:43 UTC] site 4: error_log = /home/deb20385n4/domains/remarkwebdesign.nl/public_html/sitetest/wpbase/testmulti/wp-content/debug.log
[09-Jan-2025 16:41:43 UTC] site 4: error_reporting = 32767
Admin page looks like this:
https://www.imghippo.com/i/WQt2432lpM.png
Log viewer shows this when WP_DEBUG is false and PHP logging is on.
https://www.imghippo.com/i/JMpa8977ck.png
I can PHP log writing in the debug.log.
Do you have enough information?
Thread Starter
Harm10
(@harm10)
Can I get a status update please?
Hi,
Please check if this file physically exists: screenshot. From the plugin’s perspective, either the file is missing, or we cannot read it due to insufficient permissions.Steps to Check:
- If the file is missing
You’ll need to manually create it.
- If the file exists
Ensure it has the correct permissions (755).
- If the error persists
The only remaining solution would be to provide access to the website so we can investigate further.
Thread Starter
Harm10
(@harm10)
The file is there like I already described by showing you the php log entries written by my own code.
Why should it have permissions 755? I do not create it as PHP and/or WP do. Current rights are 644.
In my view the problem is that the original settings point to the same file for both WP and PHP logging.
If WP logging is switched off the viewer gets into this state while PHP logging is on and still writing to that same file.
Would it help if my code sets PHP logging to a different file?
And suppose I want to give you access what kind of access would that be and how to tell you the user/password? Obviously I do not want to post that here.
Hi,
Please contact our support team and create a new ticket. Once you do that, this information will be visible only to us, as it is a private ticket.
Here is the link: https://support.bestwebsoft.com/hc/en-us/requests/new
Thread Starter
Harm10
(@harm10)
@andrewsupport I submitted a ticket on the given url