Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

main(includes/languages/.php)


ib_jimmy

Recommended Posts

Posted

I dont know what happen. website been working fine and all the sudden i get these message when trying to enter the store.

 

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

 

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

 

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/pandamar/public_html/catalog/includes/application_top.php on line 285

 

and i get this message when trying to access the admin page.

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/pandamar/public_html/catalog/admin/includes/application_top.php on line 130

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/pandamar/public_html/catalog/admin/includes/application_top.php on line 130

 

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/pandamar/public_html/catalog/admin/includes/application_top.php on line 130

 

no file were change. i just dont know what happen. Can somebody help me out please?

 

Thanks

Posted
I dont know what happen. website been working fine and all the sudden i get these message when trying to enter the store.

and i get this message when trying to access the admin page.

no file were change. i just dont know what happen. Can somebody help me out please?

 

Thanks

 

For some reason your language_id didn't get set. Go to the admin and then languages and set a default language.

osCommerce is a great piece of software with wonderful contributions.

Spend some time in the contribution area. There are a lot of gems there.

Posted
I dont know what happen. website been working fine and all the sudden i get these message when trying to enter the store.

and i get this message when trying to access the admin page.

no file were change. i just dont know what happen. Can somebody help me out please?

 

Thanks

main(includes/languages/.php

 

Thsi indicates that the language is missing.should have been english.php or language.php.This can happen if language id or related value to that id goes blank.

This is managed thru admin so check in admin what is your language setting prference and fix it.

 

Satish Mantri

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.

Posted

the thing is all the language files are there and named what they are suppost to. I can't go to the admin side cuz i get the same error but for line 130. Everything was working fine until i left the computer and came back after dinner. :blink: any other suggestion?

Posted
the thing is all the language files are there and named what they are suppost to. I can't go to the admin side cuz i get the same error but for line 130. Everything was working fine until i left the computer and came back after dinner.  :blink:  any other suggestion?

 

 

What was the solution to this?? Im dealing with the exact same problem...

  • 4 weeks later...
Posted

I am having the same problem and can't seem to find an answer as of yet. How do you fix it?

  • 1 year later...
Posted

direct database acces... phpmyadmin...

 

UPDATE configuration SET `configuration_value` = 'en' WHERE `configuration_key` = 'DEFAULT_LANGUAGE'

 

do that querry and your language will be set back to english

  • 3 weeks later...
Posted

Check your "register_globals" value for your PHP. If it is off, the language value that is set in the first screen is not available in the global variable in the second screen. This causes the blank filename you are seeing. After changing the INI value you will need to restart your web server.

Posted

Check that your SQL database is not empty / corrupt etc etc.

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Archived

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

×
×
  • Create New...