Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

need help my site is no longer in english


paulieGB

Recommended Posts

Hello,

 

I was advised to get rid of the other language folders (apart from english) on my site.

When i did this i lost my site and had errors come up on the screen.

So i then put the folders back in the languages folder, and now my site is not in english any more

and it is all over the place.

 

I could do with some help.

 

Thanks,

Paulie.

Link to comment
Share on other sites

To get rid of a language, you need to delete the files as well as the language setting in admin. For this problem though, you should look at admin->Localization->Languages and make sure the correct language is set as default.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Ok i did get rid of the other languages

folders and in admin,

so now im left with english.

 

My site is now no longer working and i have errors on my site

these errors =

 

 

 

Warning: main(includes/languages/german.php): failed to open stream: No such file or directory in d:\users\foxycardsuk\public_html\includes\application_top.php on line 288

 

Fatal error: main(): Failed opening required 'includes/languages/german.php' (include_path='.;c:\php4\pear') in d:\users\foxycardsuk\public_html\includes\application_top.php on line 288

 

 

 

Not sure what to do.

Link to comment
Share on other sites

I don't know why you were advised to get rid of the other language folders. All you needed to do was to go into Admin --> Localisation --> Languages, and click to Delete the languages you do not want to appear on your website. This stops them from appearing but does not remove the files.

 

Vger

Link to comment
Share on other sites

OW my god,

 

Ok i have got my site back by putting // infront of -

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);

 

 

in the index.php and the application_top.php.

 

But now my site is all over the place theres no products shown, its a right mess,

check it out here -

 

http://www.foxycards.co.uk

 

 

Please i need help.

Link to comment
Share on other sites

i have just put the folders an d php files back in admin and catalog.

i have also added german and espanol back in admin.

 

i now have no products my site is all over the place and its in a different language.

 

lol, im gonna need some help with this one,

ill wait for a reply before i do anything else.

 

 

Paulie

Link to comment
Share on other sites

You cannot now delete the languages from within admin - because you've already deleted the actual files. And as far as the database is concerned those files are still there.

 

Having made a real mess of this so far I'd recommend that you get onto your hosting company and ask them to restore your site and database from a backup taken BEFORE you started messing about with this.

 

Once they do that - if you still want to remove the other languages just do it by deleting them from within admin and leave the files alone.

 

After that - do not take any further advice from the person who told you to just delete the language files.

 

Vger

Link to comment
Share on other sites

ow one more thing,

 

i just had a email back from my hosting company they said =

 

Your files have been restored from backup, do you require a database restore to?

 

 

now my site is back up and running and looks ok,

do i need a database restore also ?

 

paulie.

Link to comment
Share on other sites

I don't know why you were advised to get rid of the other language folders. All you needed to do was to go into Admin --> Localisation --> Languages, and click to Delete the languages you do not want to appear on your website. This stops them from appearing but does not remove the files.

 

Vger

Unused language files should always be deleted. The code in applicatio_top will attempt to load them under some conditions based on the language of the vistors browser.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...