raan79 Posted March 8, 2007 Share Posted March 8, 2007 Hi, I was hired to take over a site and I'm having problems including new pages. I used the EXACT code from other working pages, just changed this one line to reflect pointing to the new filename (which DOES exist). require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DRG_ART_ERYTHRITOL); However, it won't open. I'm getting this error. Fatal error: Failed opening required 'includes/languages/english/FILENAME_DRG_ART_ERYTHRITOL' (include_path='.;C:\IBserver\php\includes;C:\IBserver\php\pear') in c:\ibserver\www\doctorgrandmas\drg_art_erythritol.php on line 15 (where line 15 is the require path) I don't understand why the same code wouldn't work for this new page... Any ideas? Thank you so much!!! Link to comment https://forums.phpfreaks.com/topic/41832-error-on-includes/ Share on other sites More sharing options...
linuxdream Posted March 8, 2007 Share Posted March 8, 2007 Not sure if it matters since I don't have experience on Windows machines and PHP...but the file path looks to be in UNIX style not Windows.../ vs \ Link to comment https://forums.phpfreaks.com/topic/41832-error-on-includes/#findComment-202990 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.