Debug Validation - Validation script is empty tip

A helpful tip for PhpStorm users who get the error "The result of the validation script is empty" when trying to Validate Debugger Configuration on Web Server tool:

In short, PhpStorm is trying to write a temporary file to your site's root path that it can use to validate the debugger, and this error indicates that it cannot write or locate that file. The problem might be your site's .htaccess file.

If you have an .htaccess file in the site's root folder, one or more security or rewrite rules in your .htaccess file might be blocking PhpStorm from creating and/or accessing the validation script file. If you get the "script is empty" error, try disabling your .htaccess file (rename it) and running the validator again.

If the .htaccess file was blocking the validator, the validation can proceed.

When you are finished with the validation, just remember to re-enable your .htaccess file.

0
1 comment
Avatar
Permanently deleted user

That's a great contribution! Thanks!

0

Please sign in to leave a comment.