Thread Starter
ac1643
(@ac1643)
Actually I also get an error on the same site with or without the litespeed code. The error is:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required ‘…/public_html/wp-content/nfwlog/ninjafirewall.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in Unknown on line 0
I recommend to add the directive at the top of the .htaccess file.
Regarding the fatal error, make sure the auto_prepend_file path is correct and points to the ninjafirewall ....wp-content/nfwlog/ninjafirewall.php script (it must include the full path to the script).
Thread Starter
ac1643
(@ac1643)
Thanks, where do I check/change the auto_prepend_file path (sorry I’m not that advanced with these things)?
Check the full path to the file as it is indicated in your .htaccess file, beside the auto_prepend_file directive and make sure it points to an existing file. Otherwise, it would output a fatal error if the file is not found.