I am getting a blank page on a PHP when I use require_once to include another php. This is working, however, on other files. Now, I reduced all my code to this:
echo 'testing';
require_once 'C:/xampp/htdocs/folder/file.php';
echo 'now show this';
The code above just produces a blank page, no errors or anything, even though this file is being used on other files with no problems. I put a trace on the top of that file and nothing. I am using it in the same way the other files are using it, just a require_once.
If I comment file.php to nothing but a line reading echo ' - inside file'
, the line is displayed, however it is not continuing with the rest. Thus, showing the following output:
testing - inside file
It's not going with the rest... What could be the reason of this?