DOCUMENT_ROOT errors
| From: | Marc Fromm | Date: | Mon, 09 Feb 2009 21:01:09 +0000 |
| Subject: | DOCUMENT_ROOT errors | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-288033@lists.php.net to get a copy of this message | ||
I updated fedora core from FC5 to TC6, thus httpd and php were updated in the process. My pages
worked with no errors before the upgrade.
My php pages are no not displaying and generating this error in the httpd logs
PHP Notice: Undefined variable: DOCUMENT_ROOT in /var/www/html/studentjobs/index.php on line 6,
referer: http://finaid46.finaid.wwu.edu/
PHP Warning: require(/studentjobs/includes/javascript.php) [<a
href='function.require'>function.require</a>]: failed to open stream: No such
file or directory in /var/www/html/studentjobs/index.php on line 6, referer: http://finaid46.finaid.wwu.edu/
PHP Fatal error: require() [<a href='function.require'>function.require</a>]:
Failed opening required '/studentjobs/includes/javascript.php'
(include_path='.:/usr/share/pear') in /var/www/html/studentjobs/index.php on line 6,
referer: http://finaid46.finaid.wwu.edu/
PHP Notice: Undefined index: cmd in /var/www/html/lan/ztezt/student_alerts/index.php on line 5
My current versions are:
httpd-2.2.6-1.fc6
php-5.1.6-3.7.fc6
php-pear-1.4.9-4 (one error above mentions pear)
Marc