Article ID: 8202, created on Mar 16, 2010, last review on Aug 12, 2014

  • Applies to:
  • Plesk 8.6 for Windows


An API request with the <client-template> tag may return the incorrect value in max_db field if the maximum number of MySQL databases equals 0 in Parallels Panel (see General, Clients, Client Templates, some template (for example - test), Maximum number of MySQL databases).

In Parallels Panel database the parameter looks correct:
Select * from [tmpldata] where tmpl_id=1 and element="max_db"

Result: max_db=0

But the result will be different by API request. It is possible to reproduce by the following steps:

1. The following request should be sent to Panel:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="">

2. The following request may be received:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="">


It is necessary to replace the %plesk_dir%\admin\plib\api-rpc\AgentClientTemplate.php file with the attachment. See the article about hot-fix installation procedure.


e1f1e45a2306e896fe0f3413a8626b45 a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 c45acecf540ecd42a4bbfb242ce02b1d 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF