Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

main page cant loaded


quachvu

Recommended Posts

hello, i cant load my main page anymore, here is the error message:

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/vietpcb6/www.vietphim.com/catalog/includes/application_top.php on line 285

 

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/vietpcb6/www.vietphim.com/catalog/includes/application_top.php on line 285

Link to comment
Share on other sites

hello, i cant load my main page anymore, here is the error message:

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/vietpcb6/www.vietphim.com/catalog/includes/application_top.php on line 285

 

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/vietpcb6/www.vietphim.com/catalog/includes/application_top.php on line 285

Warning: main(includes/languages//index.php): failed to open stream: No such file or directory in /home/vietpcb6/www.vietphim.com/catalog/index.php on line 33

 

Fatal error: main(): Failed opening required 'includes/languages//index.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/vietpcb6/www.vietphim.com/catalog/index.php on line 33

Link to comment
Share on other sites

There is no language file listed in that file pathway e.g.

 

includes/languages/.php

 

I would suggest that you upload all of your language files again.

 

Vger

i see the problem is the path in that file is not correct "/.php" .. it cant realize the right filename with $language in the applicaton_top file

Link to comment
Share on other sites

  • 10 months later...

This is a problem with cookies. To reproduce:

 

1. Clear your cookies in your browser.

2. Visit the website with your osCommerce installed. The page should load properly.

3. Refresh, the page will display the error now.

 

I believe this is because osCommerce is trying to set a language cookie and the client is rejecting it becuase an improper cookie domain?

 

hello, i cant load my main page anymore, here is the error message:

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/vietpcb6/www.vietphim.com/catalog/includes/application_top.php on line 285

 

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/vietpcb6/www.vietphim.com/catalog/includes/application_top.php on line 285

Link to comment
Share on other sites

Insert this code before // set the language comment if you have register_globals off.

 

This will fix the problem and simulate register_globals

 

// www.gabosgab.com

// Simulate register_globals

if(!empty($_GET)) extract($_GET);

if(!empty($_POST)) extract($_POST);

if(!empty($_COOKIE)) extract($_COOKIE);

if(!empty($_SESSION)) extract($_SESSION);

 

 

This is a problem with cookies. To reproduce:

 

1. Clear your cookies in your browser.

2. Visit the website with your osCommerce installed. The page should load properly.

3. Refresh, the page will display the error now.

 

I believe this is because osCommerce is trying to set a language cookie and the client is rejecting it becuase an improper cookie domain?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...