cPanel Username: hendrick
I'm not sure if this has to do with the PHP version I have (the second level), but I've been having some issues with the $_SERVER function.
The script I have originally worked when I first set it up. Around the time of the PHP changes, this feature quit working. So I'm not sure if the error is caused by the PHP version I have, or if it is something totally different.
Here is the exact error:
As you can see, the path isn't correct due to the $_SERVER['DOCUMENT_ROOT'] isn't replaced by the server.
Thanks for the help.
I'm not sure if this has to do with the PHP version I have (the second level), but I've been having some issues with the $_SERVER function.
The script I have originally worked when I first set it up. Around the time of the PHP changes, this feature quit working. So I'm not sure if the error is caused by the PHP version I have, or if it is something totally different.
Here is the exact error:
Warning: db_driver::require_once(/home/hendrick/public_html/$_SERVER['DOCUMENT_ROOT'] . "/forum//sources/sql/mysql_queries.php) [function.db-driver-require-once]: failed to open stream:
As you can see, the path isn't correct due to the $_SERVER['DOCUMENT_ROOT'] isn't replaced by the server.
Thanks for the help.