Symptoms
PBA version is 5.5.5.
On clicking question/information mark in the on-line store "Loading" message appears:
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();
+