I’m making a new php page and I get the error
Fatal error: Call to undefined function phpinclude_once() in /home8/nuventio/public_html/marketing/pb2/dashboard.php on line 1
I’m not sure why I’m getting this error, I’ve done previous pages the same way as this with no problems. This is the line in question:
<?php
include_once("../utils.php");
?>
After that it just goes into regular HTML code. It works fine without that line.
I fixed my problem (actually fixed, not a workaround).
Previous files were files that I had created myself. The files I was working on that were giving me this error had been given to me by a mac user.
In Notepad++, I found where it lists EOL info and found out that they were encoded using Mac EOL format which, while it looked fine in Notepad++, was not working once I uploaded it to my server (a *nix environment). In Notepad++, I converted the EOL to Windows format (either that or UNIX format worked, but Mac format doesn’t). This is under Edit -> EOL Conversion.