Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems [main(includes/languages/.php)]


Guest

Recommended Posts

I have a problem after to installing my osCommerces, I got to install so good, but when I show CATALOG or ADMIN, it appears this warning, and the website doesnt work:

 

 

Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/correasp/public_html/includes/application_top.php on line 288

 

Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php') in /home/correasp/public_html/includes/application_top.php on line 288

 

I dont know What do I do! I searched in the [sEARCH] 2 days ago, and I dont get information about this problem, I wait your answer, thanks for your colaboration. :)

Link to comment
Share on other sites

i am having this same problem

 

it looks like the language isn't resolving or set, yet i don't see where to set it

Link to comment
Share on other sites

Check your site admin pages

 

Localisation >> Languages

 

Is a default language set?

 

If it is not English, Spanish or German have you installed the language pack?

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Check your site admin pages

 

Localisation >> Languages

 

Is a default language set?

 

If it is not English, Spanish or German have you installed the language pack?

 

 

 

I am having the exact same problem, because we accidentally messed with the languages by changing the title English into Russian and then changing it back, but afterwards, the website stopped functioning.

 

We can not even log in to the Admin page in order to set the default language, so what else is there left to do? How can we set the default language without logging into the admin page?

 

Our website is doogady.com

 

Thanks in advance.

Link to comment
Share on other sites

The default language is set in your database.

 

Check the contents of the language table and use this to set the language code in the configuration table. This is how mine is set. You might need to use ru in place of en.

 

86 Default Language DEFAULT_LANGUAGE en Default Language

 

Even so I can't see how this could cause your problem (and I'm not infallible), but if it keeps you happy.......

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

The default language is set in your database.

 

Check the contents of the language table and use this to set the language code in the configuration table. This is how mine is set. You might need to use ru in place of en.

 

86 Default Language DEFAULT_LANGUAGE en Default Language

 

Even so I can't see how this could cause your problem (and I'm not infallible), but if it keeps you happy.......

 

I have the same problem, but in diferente lines:

Warning: include(includes/languages/portugues/) [function.include]: failed to open stream: No such file or directory in /home/a2796054/public_html/catalog/admin/includes/application_top.php on line 133

Warning: include() [function.include]: Failed opening 'includes/languages/portugues/' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a2796054/public_html/catalog/admin/includes/application_top.php on line 133

 

i have tried your sugestion but nothing happens.

 

Can somebody help me please :(

 

Thanks

Link to comment
Share on other sites

I have the same problem, but in diferente lines:

Warning: include(includes/languages/portugues/) [function.include]: failed to open stream: No such file or directory in /home/a2796054/public_html/catalog/admin/includes/application_top.php on line 133

Warning: include() [function.include]: Failed opening 'includes/languages/portugues/' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a2796054/public_html/catalog/admin/includes/application_top.php on line 133

 

i have tried your sugestion but nothing happens.

 

Can somebody help me please :(

 

Thanks

 

Hello ,

 

I have faced this problem one week before with one of my site. I think what you did that you have installed another

language on your site and tring to make it default or tring to run your site with that language.

 

and now i think you are unable to browse catalog and admin too.

 

So the solution is this if you are good with database... just set one of the default language in "configuration" table.

If you set default language then it can solve your problem but for that you'll have to use your godaddy server database and change the value of configuration table for the language.

 

Hope this will help you.

 

Thanks,

Pvarsha

Link to comment
Share on other sites

Hello ,

 

I have faced this problem one week before with one of my site. I think what you did that you have installed another

language on your site and tring to make it default or tring to run your site with that language.

 

and now i think you are unable to browse catalog and admin too.

 

So the solution is this if you are good with database... just set one of the default language in "configuration" table.

If you set default language then it can solve your problem but for that you'll have to use your godaddy server database and change the value of configuration table for the language.

 

Hope this will help you.

 

Thanks,

Pvarsha

 

how do we go about changing the configuration in the database? From the mysql section or phpAdmin (I have 1and1 hosting)?

Link to comment
Share on other sites

well, I did what you guys suggested with the configuration tables in the database, but now I get these errors:

 

 

requ

Warning: Cannot modify header information - headers already sent by (output started at /homepages/4/d232934213/htdocs/includes/application_top.php:1) in /homepages/4/d232934213/htdocs/includes/functions/general.php on line 1226

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/4/d232934213/htdocs/includes/application_top.php:1) in /homepages/4/d232934213/htdocs/includes/functions/sessions.php on line 97

 

Warning: main(includes/languages/English.php) [function.main]: failed to open stream: No such file or directory in /homepages/4/d232934213/htdocs/includes/application_top.php on line 287

 

Fatal error: main() [function.require]: Failed opening required 'includes/languages/English.php' (include_path='.:/usr/lib/php') in /homepages/4/d232934213/htdocs/includes/application_top.php on line 287

Link to comment
Share on other sites

Hello ,

 

I have faced this problem one week before with one of my site. I think what you did that you have installed another

language on your site and tring to make it default or tring to run your site with that language.

 

and now i think you are unable to browse catalog and admin too.

 

So the solution is this if you are good with database... just set one of the default language in "configuration" table.

If you set default language then it can solve your problem but for that you'll have to use your godaddy server database and change the value of configuration table for the language.

 

Hope this will help you.

 

Thanks,

Pvarsha

 

Thanks Pvarsha but still give me the same error message.

any more sugestions?

Thanks

Link to comment
Share on other sites

Noticed portuges spelt without a final e and English spelt with a capital letter.

 

The directory needs to exist on your server where it needs to mirror the capitalisation and spelling in yot admin area.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Noticed portuges spelt without a final e and English spelt with a capital letter.

 

The directory needs to exist on your server where it needs to mirror the capitalisation and spelling in yot admin area.

 

 

Thanks a LOT! I fixed the problem through the configuration with phpMyAdmin.

 

However, I still can't get into the admin page, here is the error I get:

 

 

Warning: main(includes/classes/navigation_history.php) [function.main]: failed to open stream: No such file or directory in /homepages/4/d232934213/htdocs/admin/includes/application_top.php on line 128

 

Fatal error: main() [function.require]: Failed opening required 'includes/classes/navigation_history.php' (include_path='.:/usr/lib/php') in /homepages/4/d232934213/htdocs/admin/includes/application_top.php on line 128

Link to comment
Share on other sites

any help to troubleshoot my site at

 

doogady.com

 

would be extremely appreciated. The new errors I listed in the post above. The site is simply not functioning. I tried a million different things, and I fixed the language errors, but these new errors arose.

Link to comment
Share on other sites

please help, the admin page is not functioning at all with the errors listed:

 

 

 

Warning: main(includes/classes/navigation_history.php) [function.main]: failed to open stream: No such file or directory in /homepages/4/d232934213/htdocs/admin/includes/application_top.php on line 128

 

Fatal error: main() [function.require]: Failed opening required 'includes/classes/navigation_history.php' (include_path='.:/usr/lib/php') in /homepages/4/d232934213/htdocs/admin/includes/application_top.php on line 128

Link to comment
Share on other sites

I have a problem after to installing my osCommerces, I got to install so good, but when I show CATALOG or ADMIN, it appears this warning, and the website doesnt work:

 

 

Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/correasp/public_html/includes/application_top.php on line 288

 

Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php') in /home/correasp/public_html/includes/application_top.php on line 288

 

I dont know What do I do! I searched in the [sEARCH] 2 days ago, and I dont get information about this problem, I wait your answer, thanks for your colaboration. :)

 

I tracked this down to something to do with the mysql sessions table.

 

I tried my store (code and database) on 3 different machines. It worked fine on my live server at my hosting provider.

 

On both my local machines (1 linux, 1 windows XP) I get this error - with both fresh installs of osC MS2 and osC RC2a

 

After much frustration, I changed define('STORE_SESSIONS', 'mysql'); to define('STORE_SESSIONS', '');

 

Now it works fine.

 

My config on mylocal machines is PHP5 with mySQL 5.05. Maybe something to do with mySQL mode.

Link to comment
Share on other sites

please help, the admin page is not functioning at all with the errors listed:

 

 

 

Warning: main(includes/classes/navigation_history.php) [function.main]: failed to open stream: No such file or directory in /homepages/4/d232934213/htdocs/admin/includes/application_top.php on line 128

 

Fatal error: main() [function.require]: Failed opening required 'includes/classes/navigation_history.php' (include_path='.:/usr/lib/php') in /homepages/4/d232934213/htdocs/admin/includes/application_top.php on line 128

 

 

 

I also faced that problem regarding navigation.firstly go to the application_top.php page and create an instant of navigation history class.then it will works fine.try it now. :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...