View Issue Details

IDProjectCategoryView StatusLast Update
0000847OXID eShop (all versions)4.06. Language and translationspublic2009-05-13 16:29
Reporterdainius.bigelis Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version4.1.2 revision 18998 
Summary0000847: Do not allow deleting main languages
DescriptionIn case when main languages (language #0 and language #1 - which has DB fields without underscore and _1) are deleted from the shop, the admin area and frontend does not work any more and such errors are displayed:

Warning: oxLang::_getLanguageFileData(/lang.php) [function.oxLang--getLanguageFileData]: failed to open stream: No such file or directory in /htdocs/testshops/pe411/core/oxlang.php on line 541

Fatal error: oxLang::_getLanguageFileData() [function.require]: Failed opening required '/lang.php' (include_path='.:/htdocs/efire/library:/htdocs/efire/library/testlib:/htdocs/efire/library/ez_components:/htdocs/efire/EfiService/Facade/application/controllers:/htdocs/efire/EfiService/Facade/templates:/htdocs/efire/EfiService/Facade/application/portlets:/htdocs/efire/EfiService/Facade/application/workflow:/htdocs/efire/EfiService/Facade/application/workflow/com:/htdocs/efire/library/Smarty:/htdocs/efire/EfiService/Facade/lib:/htdocs/efire/EfiService/ImportScheduler/lib/Efi/Impex:/htdocs/efire/EfiService/Accounting/lib:/usr/bin/phpcs:/usr/local/CodeSniffer:/usr/share/php:/htdocs/efire/EfiService/Portlet/Factfinder:/htdocs/efire/EfiService/Portlet/webmiles/lib:/htdocs/efire/EfiService/Portlet/Econda:/htdocs/efire/EfiService/Portlet/CsvExport') in /htdocs/testshops/pe411/core/oxlang.php on line 541

Do not allow to delete main languages from the shop as shop structure (functionality for handling multilangual fields) depends on it.
Additional InformationSee the documentation how to handle languages in the shop in case if you want to change it.
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Relationships

has duplicate 0000857 closed dropping a language (i.e. German) will show up German in english site 

Activities

rimvydas_paskevicius

2009-05-06 15:55

reporter   ~0000864

Disabled deleting language with id = 0