Article ID: 6428, created on Jun 17, 2009, last review on May 11, 2014

  • Applies to:
  • Plesk Sitebuilder 4.5 for Linux/Unix


The following error is shown when open site in Sitebuilder Wizard through Parallels Plesk Sitebuilder (Sites > %site alias% > Open Site In Wizard):

Internal Sitebuilder error.
File: /usr/local/sitebuilder/include/Modules/SiteMap/Helper/View.php; Line: 58
Message: PHP Warning : Division by zero; Code: 2


The error is caused by a misconfiguration in Sitebuilder database. Settings of module SiteMap are missing for site <site alias>. You may check this in the following way.

Connect to Sitebuilder database:

~# mysql -u<USER> -p<PASSWD> sitebuilder3

Where <USER> and <PASSWD> are login and password for mysql administrator.

Query instance for module SiteMap on site <site alias>:

mysql> select s.alias as site, m.code as module, mi.instance_id as instance from site s, module m, module_instance mi where and and m.code='SiteMap' and s.alias='<site alias>';
| site         | module  | instance    |
| <site alias> | SiteMap | schqumbfywm |
1 row in set (0.00 sec)


Verify that settings for instance ‘schqumbfywm’ are missing in table modules_SiteMap_settings:

mysql> select * from modules_SiteMap_settings where module_instance_id=’schqumbfywm’;
Empty set (0.00 sec)


It is impossible to say what caused the misconfiguration in Sitebuilder database.


To resolve the problem it is enough to insert default settings for module SiteMap. You may use the following queries.

Before reconfiguration backup Sitebuilder database:

~# mysqldump -u<USER> -p<PASSWD> sitebuilder3 > sitebuilder.dump.`date +%F.%s`.sql

Insert detail settings for instance ‘schqumbfywm’:

mysql> insert into modules_SiteMap_settings (module_instance_id,columns_number,style_first_level,style_second_level,storage_state) values (‘schqumbfywm’,1,’circle’,’circle’,4);
Query OK, 1 row affected (0.00 sec)


After the records were inserted the site will be opened correctly.

Search Words

cannot open site in Wizard

Message: PHP Warning : Division by zero; Code: 2

fad6dc0c8e983c17ae70a51ac7952cd0 56797cefb1efc9130f7c48a7d1db0f0c f7f840260c1591440648a375a64b5b75 d055be4fdc562a8ecb8e6d0bf419f946 ea6a61e571a858aa6019ceb068ea403a

Email subscription for changes to this article
Save as PDF