Article ID: 114909, created on Oct 8, 2012, last review on May 2, 2014

  • Applies to:
  • Business Automation 5.1

Symptoms

The Online Store shows a blank or broken page, as in the screenshot below:


The Store log does not contain any error messages.

The Apache error log (/var/log/httpd/error_log) on the Online Store server contains the following error messages:[Mon Oct 08 10:24:01 2012] [error] [client 192.168.39.15] PHP Warning:  syntax error, unexpected '(' in ../cache/1/config.ini on line 179\n in /usr/local/bm/templatestore/libs/internals/bmapi/addition.inc on line 785
[Mon Oct 08 10:24:01 2012] [error] [client 192.168.39.15] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/bm/templatestore/libs/internals/bmapi/addition.inc on line 786
[Mon Oct 08 10:24:01 2012] [error] [client 192.168.39.15] PHP Warning:  syntax error, unexpected '(' in ../cache/1/config.ini on line 179\n in /usr/local/bm/templatestore/libs/internals/bmapi/addition.inc on line 785, referer: https://store54.trainers.plesk.ru/
[Mon Oct 08 10:24:01 2012] [error] [client 192.168.39.15] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/bm/templatestore/libs/internals/bmapi/addition.inc on line 786, referer: https://store54.trainers.plesk.ru/


Cause

The Online Store configuration file contains illegal characters, e.g., the redirect name has illegal characters.

Resolution

1. Find this string in the error message above:syntax error, unexpected '(' in ../cache/1/config.ini on line 179
In the example below, the broken line is 179, and it contains the following value:  (Store)(Redirect) = "NAME_PATH=HOSTING_PATH&PlanID=2&PeriodID=3"
 The following characters are prohibited in Online Store redirect names:!@#$%^&*()+=-[]{};'\:"|,./<>?
2. Find the incorrect Online Store redirect in the PBA Provider/Reseller Control Panel and correct it (remove illegal characters).

3. Synchronize the Online Store at Product Director > Online Store Manager > Synchronization Settings.

The problem is fixed in PBA 5.1.8 and newer versions.
 

caea8340e2d186a540518d08602aa065 198398b282069eaf2d94a6af87dcb3ff 92711db0799e8aefe8e51f12dace0496 dc47a2d05ec4d64fb099e4dab79ce579 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF