paulieGB Posted June 4, 2008 Share Posted June 4, 2008 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 More sharing options...
Jack_mcs Posted June 4, 2008 Share Posted June 4, 2008 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 More sharing options...
paulieGB Posted June 4, 2008 Author Share Posted June 4, 2008 english is set as default should i get rid of the other languages and also in admin ? Link to comment Share on other sites More sharing options...
paulieGB Posted June 4, 2008 Author Share Posted June 4, 2008 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 More sharing options...
♥Vger Posted June 4, 2008 Share Posted June 4, 2008 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 More sharing options...
paulieGB Posted June 4, 2008 Author Share Posted June 4, 2008 well that may be true, but i have now got rid of them and have no site. Do you know how i can get it back ? thanks. Link to comment Share on other sites More sharing options...
♥Vger Posted June 4, 2008 Share Posted June 4, 2008 Reload the other language folders which you deleted. That should resolve the problem. Vger Link to comment Share on other sites More sharing options...
paulieGB Posted June 4, 2008 Author Share Posted June 4, 2008 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 More sharing options...
paulieGB Posted June 4, 2008 Author Share Posted June 4, 2008 i had the problems after i leloaded the language folders, and without them i got the error messages. Link to comment Share on other sites More sharing options...
paulieGB Posted June 4, 2008 Author Share Posted June 4, 2008 i just realised that i hadont gotten rid of the folders in admin/includes/languages So when i tryed to delete them it wouldn't let me delete the german folder. What should i do ? Link to comment Share on other sites More sharing options...
paulieGB Posted June 4, 2008 Author Share Posted June 4, 2008 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 More sharing options...
♥Vger Posted June 4, 2008 Share Posted June 4, 2008 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 More sharing options...
paulieGB Posted June 4, 2008 Author Share Posted June 4, 2008 thank you vger, i did what you said and contacted my hosting company, my site is now back up and running. Thanks. Link to comment Share on other sites More sharing options...
♥Vger Posted June 4, 2008 Share Posted June 4, 2008 You're welcome. Glad it's all resolved now. Vger Link to comment Share on other sites More sharing options...
paulieGB Posted June 4, 2008 Author Share Posted June 4, 2008 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 More sharing options...
Jack_mcs Posted June 5, 2008 Share Posted June 5, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.