rjs34 Posted November 18, 2007 Share Posted November 18, 2007 I have a php/mysql based website/shopping cart hosted on godaddy. It was working fine for the last year then one day I get the following errors. Warning: require_once(DB/DataObject.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/p/h/r/phrazecrazy/html/cart/lib/classes/Font.php on line 5 Fatal error: require_once() [function.require]: Failed opening required 'DB/DataObject.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/p/h/r/phrazecrazy/html/cart/lib/classes/Font.php on line 5 There has been absolutely no changes in my scripts etc, the only thing that could have happened is something on Godaddy's end. Any ideas on what would cause this? The files that it is asking for are there. Thanks! Quote Link to comment Share on other sites More sharing options...
unidox Posted November 18, 2007 Share Posted November 18, 2007 Whats the line for font.php on 5? try using include, it handles errors better Quote Link to comment Share on other sites More sharing options...
Guardian-Mage Posted November 18, 2007 Share Posted November 18, 2007 is everything in the correct location? Try include_once() Quote Link to comment 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.