Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installing difficulty


eddiev2001

Recommended Posts

Hey guys , Anybody have any idea why i get this message when i'm clicking on any link

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in c:\inetpub\wwwroot\catalog\includes\application_top.php on line 285

 

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\catalog\includes\application_top.php on line 285

 

 

any help or advice is appreciated , thanks

Link to comment
Share on other sites

I cant even click on that link to set default language , It seems to always bring up the same error

 

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in c:\inetpub\wwwroot\catalog\admin\includes\application_top.php on line 130

 

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\catalog\admin\includes\application_top.php on line 130

 

 

:(

Link to comment
Share on other sites

temp fix:

 

copy catalog\includes\languages\english.php catalog\includes\languages\.php

 

that's legal in DOS, I hope. I don't use Windows. If that is illegal (actually it probably is), try to change line 130 of application_top.php to:

 

  require(DIR_WS_LANGUAGES . 'english' . '.php');

 

--Andrew

--AYN

Link to comment
Share on other sites

Thanks Andrew that seemed to clear up one of the problems , not too sure why the english didnt set itself to default, but now seem to be getting this error :unsure: .

 

 

 

Fatal error: Call to a member function on a non-object in c:\inetpub\wwwroot\catalog\includes\application_top.php on line 309

 

 

Any idea why anybody ?

 

if so you may be the next contestant on the price is right ! :lol:

Link to comment
Share on other sites

Sounds like $navigation was not instantiated, but the block before that line made sure that it is instantiated. Only way to not construct $navigation is if PHP_VERSION >= 4 and tep_session_is_registered('navigation') is true.

 

--Andrew

--AYN

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...