Article ID: 122005, created on Jun 12, 2014, last review on Aug 12, 2014

  • Applies to:
  • Business Automation 5.5

Symptoms

PBA version is 5.5.5.

On clicking question/information mark in the on-line store "Loading" message appears:

alttext

which ends up in 500 Internal Error. In the apache error log (/var/log/httpd/error_log) on the on-line store server there is an error:

[Tue May 27 12:28:28 2014] [error] [client 11.22.33.77] PHP Fatal error:  Call to a member function purify() on a non-object in /usr/local/bm/templatestore/libs/internals/bmapi/class.stp.inc on line 680, referer: <url>

Cause

An issue is caused by the product bug #PBA-56776.

Resolution

The bug is fixed in PBA 5.5.6.

To workaround modify /usr/local/bm/templatestore/webroot/http/info.php file:

[root@store templatestore]# pwd
/usr/local/bm/templatestore
[root@store templatestore]# diff -U0 /tmp/mg/info.php webroot/http/info.php
--- /tmp/mg/info.php    2014-05-27 12:44:14.000000000 +0100
+++ webroot/http/info.php       2014-05-27 12:44:17.000000000 +0100
@@ -11,0 +12,7 @@
+  require_once("../libs/3rdparties/HTMLPurifier/HTMLPurifier.auto.php");
+
+ /**
+  * Initialize HTMLPurifier
+  */
+  $purifier = new HTMLPurifier();
+

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 801221f8cd76fba7300d1e6817c8e08b 92711db0799e8aefe8e51f12dace0496 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF