View Issue Details

IDProjectCategoryView StatusLast Update
0003128OXID eShop (all versions)4.06. Language and translationspublic2011-08-10 17:14
Reporterdainius.bigelis Assigned To 
PriorityurgentSeverityblockReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version4.5.1 revision 38045 
Target Version4.5.2 revision 38481Fixed in Version4.5.2 revision 38481 
Summary0003128: Warnings because oxlang.php and texts are not shown in frontend
DescriptionOn some systems it's not possible to check returned values from php glob function. Because that the errors occurs in the eshop, like:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /www/htdocs/.../core/oxlang.php on line 688
... and collecting language texts is stopped at that moment (so no texts are displayed in frontend).
TagsNo tags attached.
Attached Files
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

has duplicate 0003165 closedbirute_meilutyte language files aren't loaded on some servers 

Activities

dainius.bigelis

2011-08-10 17:08

reporter   ~0004981

There is a discussion about that in forums:
http://www.oxid-esales.com/forum/showthread.php?t=10762

dainius.bigelis

2011-08-10 17:09

reporter   ~0004982

Last edited: 2011-08-10 17:14

We implemented the workaround for that issue, with implemented additional check. If you experience such problem on your side - you may take the attached file and replace it on your eShop source code (oxlang.php in core/ dir).
The fix will be published with next Patch.

Please pay attention, that this workaround is working only with eShop 4.5.1.

Linas Kukulskis

2011-08-10 17:11

reporter   ~0004983

added additional checks if glob returns array