I have a multi-site install of Wordpress running fine on a unmanaged CentOS server, however for a certain feature I need to do my own thing on certain pages and manually interact with some non-Wordpress tables.
When writing the script for the form actions, I've been getting a 500: Internal Server Error. Which according to the Apache logs is due to "end of script output before headers".
To check it wasn't just me doing something ridiculous, I tried just directly linking to the file and changing it to <?php echo "Hello World!"; ?>
, but the issue has persisted. So it can't be an issue with the script itself.
Wordpress not having any issues implies it isn't necessarily PHP itself either...
I've tried Google-ing and trawling through here, but I can't seem to find a useful answers. Any help would be very welcomed. Thank you in advance.