mcmuney Posted January 28, 2008 Share Posted January 28, 2008 After installing a new script, I'm getting the following errors. I'm posting the respective lines as well that's showing as error. I'm not clear why, all the files exist on the server. Any help will be greatly appreciated: Warning: include(hotsellingcars/includes/class.php) [function.include]: failed to open stream: No such file or directory in /home/content/p/i/c/pickaloo/html/hotsellingcars/includes/config.php on line 17 include FS_ROOT."/includes/class.php"; //file exists Warning: include() [function.include]: Failed opening 'hotsellingcars/includes/class.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/p/i/c/pickaloo/html/hotsellingcars/includes/config.php on line 17 include FS_ROOT."/includes/class.php"; //file exists Warning: include(hotsellingcars/includes/header.php) [function.include]: failed to open stream: No such file or directory in /home/content/p/i/c/pickaloo/html/hotsellingcars/index.php on line 4 include FS_ROOT."/includes/header.php"; //file exists Warning: include() [function.include]: Failed opening 'hotsellingcars/includes/header.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/p/i/c/pickaloo/html/hotsellingcars/index.php on line 4 include FS_ROOT."/includes/header.php"; //file exists Fatal error: Class 'Scraper' not found in /home/content/p/i/c/pickaloo/html/hotsellingcars/index.php on line 7 Scraper::oodlePages2(); //not sure what this is Quote Link to comment https://forums.phpfreaks.com/topic/88265-errors/ Share on other sites More sharing options...
revraz Posted January 28, 2008 Share Posted January 28, 2008 The include path doesn't exist, probably because the constant isn't defined. Quote Link to comment https://forums.phpfreaks.com/topic/88265-errors/#findComment-451666 Share on other sites More sharing options...
mcmuney Posted January 28, 2008 Author Share Posted January 28, 2008 Please elaborate. The identical script works on a different server, is this due to compatibility of PHP version? Quote Link to comment https://forums.phpfreaks.com/topic/88265-errors/#findComment-451671 Share on other sites More sharing options...
revraz Posted January 28, 2008 Share Posted January 28, 2008 Where is FS_ROOT defined? Quote Link to comment https://forums.phpfreaks.com/topic/88265-errors/#findComment-451673 Share on other sites More sharing options...
mcmuney Posted January 28, 2008 Author Share Posted January 28, 2008 It's define on a different line: define('FS_ROOT', 'hotsellingcars'); But I also tried removing the FS_ROOT completely and I still get same errors. Quote Link to comment https://forums.phpfreaks.com/topic/88265-errors/#findComment-451678 Share on other sites More sharing options...
revraz Posted January 28, 2008 Share Posted January 28, 2008 Check your php.ini for an include path (include_path='.:/usr/local/php5/lib/php') Quote Link to comment https://forums.phpfreaks.com/topic/88265-errors/#findComment-451683 Share on other sites More sharing options...
mcmuney Posted January 28, 2008 Author Share Posted January 28, 2008 Ok. What's the last error regarding the "Scraper"? Quote Link to comment https://forums.phpfreaks.com/topic/88265-errors/#findComment-451688 Share on other sites More sharing options...
revraz Posted January 28, 2008 Share Posted January 28, 2008 Looks like something with PEAR, you'll have to ask whoever wrote the script. Quote Link to comment https://forums.phpfreaks.com/topic/88265-errors/#findComment-451691 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.