## Known Problems Related to Store

This subsection describes problems that may occur in connection with PHP store deployment and use and advises how these problems can be solved.

The subsection is entirely based on our customers reports. And the idea was to make a useful information available for a wider circle of customers.

The problems we describe here are connected not with the store itself, but with some peculiarities of store environment, for example PHP version used at a store server or Apache misconfiguration.

In course of time, this subsection may be amended with new solutions in case new problems will be reported by our customers.

Please remember that remote store installation requires a specific configuration described in details in the Parallels Business Automation - Standard SDK, chapter Customizing Parallels Business Automation - Standard > PHP Based Store Customization > Manual Store Installation on Remote Server.

Problem

For PHP version 4.4.4.compiled with the `--enable-wddx` option and running on Red Hat Enterprise Linux AS release 3 (Taroon Update 5), kernel version 2.6.9-023stab044.4-enterprise, Apache 2.0.46 , the remote Store sometimes fails to save a PHP session. This problem shows itself in the following way:

Remote store displays the message:

Our store is temporarily closed.
We apologize for the inconvenience

In the Apache error log on a remote server the following errors are written:

[Wed Apr 25 00:22:20 2007] [error] [client 84.237.120.254] API Session has been opened, sid =
[Wed Apr 25 00:22:20 2007] [error] [client 84.237.120.254] FaultCode => <>
[Wed Apr 25 00:22:20 2007] [error] [client 84.237.120.254] FaultString =>
[Wed Apr 25 00:22:20 2007] [error] [client 84.237.120.254] No callback found!

If Apache frontend and backend are configured correctly for the remote store at the Parallels Business Automation - Standard Management Node, in accordance with SDK recommendations, the problem may be connected with the PHP Session Serializer. By default, the WDDX Session Serializer is used for all PHP versions below 5.x.x.

Solution

The problem solution depends on the Parallels Business Automation - Standard version.

If the Parallels Business Automation - Standard version you use is below 3.3. Service Pack 2, then do the following`:`

1. Open for editing the `{STORE_ROOT}/includes/hspc.php` file.
2. Find the strings:

   `if(ereg( "4\.[0-9]\.[0-9].*", phpversion())) {
   `ini_set('session.serialize_handler', 'wddx');
   }``

3. Comment the string:

   `ini_set('session.serialize_handler', 'wddx');`

4. Save the file.

If you use the 3.3. Service Pack 2 or later, then you can explicitly define the session handler in the store configuration file `{STORE_ROOT}/includes/settings.ini:`

1. Open the settings.ini file for editing.
2. Find the `SESSION_SERIALIZE_HANDLER` parameter. It defines the session handler. Two values are possible, either `php` or`wddx`.
3. If you use PHP 4.x.x then change the handler from one value into another. If `php` is set, change it into `wddx`, and conversely. This should help. For PHP 5.x.x `php` should be ok.

If the offered solutions do not work, please contact support.

Please send us your feedback on this help page