Symptoms

There are random issues with an Online Store. These may include blank pages, incorrectly calculated or displayed prices, no results after clicking buttons, a String cannot be empty error while no field is highlighted/empty, a required resource not selected by default, constantly loading screens, and more.

Cause

There may be an issue with a customized layout template or store code or php memory_limit

Resolution

If the issue happens after recent update first of all make sure that store was synchronized after update - check "Last Synchronization" date of store, but keep in mind that this date is not updated is store was synchronized from "Synchronize Store" event (PBA-74016). Synchronize store is needed.

The reason of issue may be seen in the Apache error log. Check /var/log/httpd/error_log on the Business Automation store server when a corrupted store screen is loading.

If there are no errors in the log, check if logging is enabled in /etc/php.ini. Required setting is:

log_errors = On

Enable logging and restart apache if needed.

If logging is enabled, but there are no errors in apache log enable Firebug and load the corrupted screen - check the errors in Firebug. The part of the code that is failing needs to be found in the customized Layout Templates.

If no errors are found, check the Page Source of the corrupted screen. Find the template that is loaded at the part of the screen with the issue. Check if this template exists in PBA Home> Products> Online Store > Layout Templates tab. If the template is in the list, it is most probably customized.

  1. Check that the syntax is correct
  2. If it is not possible to understand the cause, select the template, save its content somewhere, and press Reset To Default. After that, synchronize the store, clear your browser cache, reload the corrupted screen and check if the issue is gone. If the issue has been resolved, check the customized template to find how it needs to be corrected. This procedure falls out of Odin Technical Support scope.

Note that customization of several templates used on one screen can cause an issue. In these cases, several templates may need to be reset.

Internal content