Symptoms

On-line store is not showing any scenarios, an empty page is shown:

store.log shows the message like:

[Jan,29 12:41:51][0000484][INFO][STORE]: Locale::GetDictionary locale=
[Jan,29 12:41:51][0000484][INFO][STORE]: Locale::GetDictionary unsupported lang

Apache error log shows many errors among which there is similar to below:

[Mon Jan 29 12:41:21.754859 2018] [:error] [pid 496] [client 10.39.44.2:40174] PHP Warning:  syntax error, unexpected '"' in /usr/local/bm/templatestore/var/tmp/ini-config-kbRGuS on line 134\n in /usr/local/bm/templatestore/src/Factory/ConfigFactory.php on line 217

Store configuration file (/usr/local/bm/templatestore/conf/application/store/store_id/store.json) is incorrect, looks like:

{
"SCREEN": null,
"PATH": null,
"BRANDING": {
    "COUNTRY": "",
    "COUNTRY_CODE": "",
    "CONTACT_MAIL": "",
    "CONTACT_PHONE": "",
    "COPYRIGHT": "",
    "CP_URL": "",
    "TAGLINE": "",
    "KEYWORDS": "",
    "DESCRIPTION": "",
    "WELCOME_TEXT": ""
},
"DESIGN": {
    "COLOR_PALETTE": "general"
},
"GENERAL": null,
"CACHE": null,
"GOOGLE_ADWORDS": null,
"YAHOO_SEARCH": null,
"ORDER": null,
"PACKAGE": null,
"LANGUAGE": null,
"STORE_SKIN": "",
"SHARING": null

}

Cause

In some of the Purchase Scenarios descriptions there is combination of quotes and new line, e.g.:

"All inlcusive"
The service includes ....

which is not parsed correctly because of the bug with id #id #PBA-83825 ("GenerateConfigFile_API escapes quotes incorrectly in case of new line").

Resolution

Correct description - add space, comma, dot or remove the new line or the quotes. Synchronize the store.

Internal content