troubleshooting Question

PHP Page Fails with Warning: include_once ...

Avatar of andrew sangster
andrew sangster asked on
PHPMySQL ServerWeb Servers
14 Comments2 Solutions480 ViewsLast Modified:
I have just migrated from cpanel shared host to another provider VPS. I have read all over the internet possible fixes to my issue but can't find an answer.

My page gives error
/usr/local/apache/htdocs/common/leftside.php): failed to open stream: No such file or directory in /home/grfn/public_html/index.php on line 63

here is the top part of my index.php file
require_once($_SERVER['DOCUMENT_ROOT'].'/application/config/configuration.php');
require_once(PATH_MODULES.'/NewsArticle.php');
require_once(PATH_MODULES.'/Poll.php');

etc etc…

Every time the page reaches a
require_once($_SERVER['DOCUMENT_ROOT']

it will fail.
Warning: include_once(): Failed opening '/usr/local/apache/htdocs/common/rightside.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/grfn/public_html/index.php on line 130


My hosting provider admins offered no real help. and i am lost. i am not a programmer by any means. i have checked the document root and it is correct (i believe)

documentroot: /home/USER/public_html

also i am running the suEXEC php handler.

any ideas i need this up for monday and have been trying for what seems like ever now to no avail. any help is appreciated.
ASKER CERTIFIED SOLUTION
andrew sangsterit

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros