Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: main(includes/languages/danish.php


Guest

Recommended Posts

Posted

I've copyed the english.php and the english directory in the languages directory and renamed them danish.

Then I've started to translate all the languages files to danish. But suddently I got this error message when I attemp to access the admin panel.

Before this happened I created a new languages from the admin panel and deleted the english, espaniol and german langues in the admin panel. They still exist in the include and languages directory if I should need them later on if I should go international.

 

I hope that someone can help me, and tell me what to do, to fix this issue.

 

The error message is as following:

 

 

Warning: main(includes/languages/danish.php) [function.main]: failed to open stream: No such file or directory in /var/www/nubstah.dk/public_html/catalog/admin/includes/application_top.php on line 130

 

Fatal error: main() [function.require]: Failed opening required 'includes/languages/danish.php' (include_path='.:/usr/local/lib/php') in /var/www/nubstah.dk/public_html/catalog/admin/includes/application_top.php on line 130

 

 

Regards,

Lars Serup Damsgaard

Posted
No help to get?

 

 

The errors are telling you it cannot find the file, application_top is not able to locate danish.php i think and danish.php is coming up with an error. So there, is something wrong with your include file and your copying, or you have not declared something properly in your changes.

 

Make sure you have everything copied over - did you back up?

 

there are two sides to the languages - in catalog and catalog\admin

 

you have to change both.

 

I hope that helps you figure out where to look!

Nothing unreal exists

Posted
The errors are telling you it cannot find the file, application_top is not able to locate danish.php i think and danish.php is coming up with an error. So there, is something wrong with your include file and your copying, or you have not declared something properly in your changes.

 

Make sure you have everything copied over - did you back up?

 

there are two sides to the languages - in catalog and catalog\admin

 

you have to change both.

 

I hope that helps you figure out where to look!

 

I hadn't copyed the catalog/admin languages files.

Thank you. That helped.

Archived

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

×
×
  • Create New...