Notice: Use of undefined constant DOCUMENT_ROOT - assumed 'DOCUMENT_ROOT' in /home/syole/public_html/includes/config.php on line 21
Notice: Use of undefined constant DOCUMENT_ROOT - assumed 'DOCUMENT_ROOT' in /home/syole/public_html/includes/config.php on line 22
The PHP has seen an undefined constant which it is treating as the string, which has cause my website to display only a blank page, how do I make php understand that DOCUMENT_ROOT is predefined / should be predefined and is not a string?
I don't know where a " server configuration " might be but my website used to work and now it doesn't so I assume it must be defined correctly there, wherever that is, most likely on cpanel?
I think Coda2 caused this problem whilst connecting to my mySQL database.
I just cant seem to fix this issue and prior to adding error_reporting(E_ALL);
, I didn't even know of this error.