• Essentially i started using this plugin after using another worse debug manager, and now i wanted to enable debugging but after 5 minutes

    XXXXx_debug.log (0 B)

    the file was still empty, so i deleted all debug log files (base, from other plugin, and from this plugin), then i removed all code regarding wp debug and wp debug log from wp config, and reenabled the debug mode and plugin itself to no avail

    it still seems to either A) not enable logging mode at all or B) not logging to the correct file

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Bowo

    (@qriouslad)

    @troopekyt thanks for reporting this. Where is your wp-config.php file located at?

    When you enable logging in Debug Log Manager dashboard, are you able to observe debugging constant correctly added to your wp-config.php file?

    Do you see the custom debug.log file properly being added in your /wp-content/uploads/debug-log-manager/ folder?

    Are you sure that there are actually PHP/JS errors occurring?

    Thread Starter eugene

    (@troopekyt)

    There are dfefinetly erros occuring. Debug log custom file gets created. No constant gets added to wp-config.php (im guessing this is where the issue is coming from)

    Plugin Author Bowo

    (@qriouslad)

    Looks like an issue with the writability of wp-config.php in your site / hosting / server. Where is it located? Do you by any chance use SpinupWP? There has been a report in the past that DLM can not work with how wp-config.php is set up in that environment.

    Thread Starter eugene

    (@troopekyt)

    I am hosted on lightsail AWS.

    Plugin Author Bowo

    (@qriouslad)

    @troopekyt and where is your wp-config.php file located at? Is it in the same root directory as /wp-admin/, /wp-includes/, etc? What is the current file permission on it?

    Thread Starter eugene

    (@troopekyt)

    location and permission included in image below

    https://postimg.cc/14VNvGXn

    https://postimg.cc/LYXj9Gmy

    • This reply was modified 7 months, 2 weeks ago by eugene.
    • This reply was modified 7 months, 2 weeks ago by eugene.
    Plugin Author Bowo

    (@qriouslad)

    Thanks, but the image is not loading for me. Do you mind uploading to something like https://www.imagebam.com/?

    Thread Starter eugene

    (@troopekyt)

    Just edited with updated links, please try if they work now.

    Plugin Author Bowo

    (@qriouslad)

    Thanks. The location (root) and permission (640) looks fine. I wonder what could be preventing DLM from updating it… at this point, I’m unable to troubleshoot the issue from afar.

    As a workaround, please consider toggling debuggin on in DLM dashboard, and adding the following constants manually into your wp-config.php, e.g. via FTP.

    define( ‘WP_DEBUG’, true );
    define( ‘SCRIPT_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, ‘/your/abspath/wp-content/uploads/debug-log-manager/somesite_20240915230755011586_debug.log’ );
    define( ‘WP_DEBUG_DISPLAY’, false );

    Note that for WP_DEBUG_LOG, you can look at the bottom of your DLM dashboard for the file path starting from /wp-content/.

    For the /your/abspath/ portion, it could be /bitnami/wordpress/, but to be sure, please install my other plugin, System Dashboard, go to the “Dashboard >> System” page, go to the ‘Viewer >> URLs and Paths’ module, and look for ‘ABSPATH’ there.

    Thread Starter eugene

    (@troopekyt)

    That works, but that destroys the whole point of having the plugin toggle the debug mode on and off no?

    Plugin Author Bowo

    (@qriouslad)

    Yes. That’s why I said it’s a ‘workaround’. Earlier than that, I said I’m not able to troubleshot the issue from afar. Everything seems correct. Please note that you’re currently the only user reporting this, from 10K+ websites that have DLM active. So, it could very well be something specific to your site that is causing it, but something unknown yet.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Plugin not writing debug mode code in wp-config.php’ is closed to new replies.