lochie Posted January 8, 2009 Share Posted January 8, 2009 Can anyone explain to me what could cause the cart home page to work one minute, click on a 'category' then get this error (which also appears when you try to view the home page of the cart which worked fine the first time)? Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /home/gambitga/public_html/cart/includes/application_top.php on line 296 Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /home/gambitga/public_html/cart/includes/application_top.php on line 296 Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gambitga/public_html/cart/includes/application_top.php on line 296 Kind Regards :) Lee McLachlan ------------------------------------------------------- Link to comment Share on other sites More sharing options...
Guest Posted January 8, 2009 Share Posted January 8, 2009 Can anyone explain to me what could cause the cart home page to work one minute, click on a 'category' then get this error (which also appears when you try to view the home page of the cart which worked fine the first time)? Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /home/gambitga/public_html/cart/includes/application_top.php on line 296 Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /home/gambitga/public_html/cart/includes/application_top.php on line 296 Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gambitga/public_html/cart/includes/application_top.php on line 296 Looks like it has to do with languages. Did you change anything with regard to languages? Link to comment Share on other sites More sharing options...
lochie Posted January 8, 2009 Author Share Posted January 8, 2009 Not that I am aware of, I recently changed host and done an automatic cpanel transfer with WHM. Kind Regards :) Lee McLachlan ------------------------------------------------------- Link to comment Share on other sites More sharing options...
Guest Posted January 8, 2009 Share Posted January 8, 2009 Not that I am aware of, I recently changed host and done an automatic cpanel transfer with WHM. No idea about that. I suppose that both your configure.php files have the correct absolute paths where required. Link to comment Share on other sites More sharing options...
satish Posted January 8, 2009 Share Posted January 8, 2009 Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /home/gambitga/public_html/cart/includes/application_top.php on line 296 this happens when session is treated as a global variable. Apply register globals patch or set register globasl to on. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
lochie Posted January 8, 2009 Author Share Posted January 8, 2009 how would I go about doing that? Kind Regards :) Lee McLachlan ------------------------------------------------------- Link to comment Share on other sites More sharing options...
satish Posted January 9, 2009 Share Posted January 9, 2009 Apply register globals patch. Just search forum for this patch. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.