swammi Posted January 23, 2013 Share Posted January 23, 2013 Hello to all, and thanks for any advice you can offer. I am kinda ole skool when it comes to web design. I've been working with HTML for a while, but not familiar with php. I am trying to redesign my site using more php. I am learning the code just by reading and studying articles and tutorials on the web. I have a few things working ok, but I am struggling with the following error message: "Warning: include(./pages/index.php): failed to open stream: No such file or directory in /www/dillardhigh.com/html/dca/main/index.php on line 156 Warning: include(./pages/index.php): failed to open stream: No such file or directory in /www/dillardhigh.com/html/dca/main/index.php on line 156 Warning: include(): Failed opening './pages/index.php' for inclusion (include_path='.:/usr/lib64/php') in /www/dillardhigh.com/html/dca/main/index.php on line 156" I am assuming this is some type of path issue, but I can't seem to figure out how to resolve it. I have tried several different paths that I thought would work, but I get the same error. Can anyone see something in this that I might be overlooking? Thanks for your help! Quote Link to comment https://forums.phpfreaks.com/topic/273556-new-to-php-and-seeking-assistance/ Share on other sites More sharing options...
dmfgkdg Posted January 23, 2013 Share Posted January 23, 2013 Hi, I am fairly new to PHP too, but I can't find anything here that looks bad, except the path if it does not exist or is an another directory. Or if the include files have errors themselves. Sorry, maybe some more info would help. Quote Link to comment https://forums.phpfreaks.com/topic/273556-new-to-php-and-seeking-assistance/#findComment-1407823 Share on other sites More sharing options...
Love2c0de Posted January 23, 2013 Share Posted January 23, 2013 Can you post your code please? Regards, L2c. Quote Link to comment https://forums.phpfreaks.com/topic/273556-new-to-php-and-seeking-assistance/#findComment-1407830 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.