Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

how to debug 500 internal server errors (1 reply)

$
0
0
I've started developing a plugin. On activating it in the dashboard, the dashboard and front end produce a 500 internal server error.

Moving the plugin folder from `/wp-content/plugins` to `/wp-content/plugins.temp` resolves the error.

I'd like more information on how the plugin is producing the error. In `wp-config.php`, I have:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);
define('SCRIPT_DEBUG', true );

My problems are:

- `debug.log` is not being produced at all (inside `/wp-content`/)
- The front and back end are not generating any debug info in the web browser.
- The WampServer Apache error log contains nothing about the local site (a vhost: `www.test.dev`) I am developing on

I tried editing vhosts.conf to include the line:

ErrorLog logs\test-dev.log

This file was not produced by Wamp Apache. I created it, reloaded front and back end, but the file logs\test-dev.log was blank.

**What other steps can I take to gain debug info?**

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>