Jump to content

error on includes


raan79

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.