Article ID: 6166, created on Mar 18, 2009, last review on Aug 12, 2014

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


Site was created with Parallels Plesk Sitebuilder 4.5.
After configured in Sitebuilder wizard site cannot be open in wizard again {Sites -> SITE.ALIAS -> Open Site In Wizard}. The following error is shown:

Internal Sitebuilder error.
File: /usr/local/opt/sitebuilder/include/SB/Helpers/Wizard/Edit/Page.php; Line: 68
Message: PHP Notice : Undefined offset: 0; Code: 8

What cause the error? And how to fix it?


Sitebuilder wizard allows to modify site structure on page "Pages". On the page you may add, delete or order pages in the site. When you click button "Save Changes" in left top corner, site structure is compiled and sent in xml formal via JavaScript PORT request. Button "Save Changes" exists in Sitebuilder wizard since version 4.5. In older versions popup "Apply Changes" raised when clicked "Next" or "Back".

According to the structure received pages are added, removed or re-order on the site. If received structure is empty the page hierarchy is removed completely.

The problem exists for MacOS web browsers, namely Safari.
JavaScript is browser depending language and sometimes request received from Safari is empty. This cause Parallels Plesk Sitebuilder removes page hierarchy completely. Structure corrupted site cannot be restored from Sitebuilder database.

Browser check has been removed from Parallels Plesk Sitebuilder since version 4.5. Earlier the following error is shown if try to open login page of Parallels Plesk Sitebuilder:

Unfortunately, your browser is not supported by Plesk Sitebuilder.
Please use Internet Explorer 5.5 or later, or Mozilla.

Since 4.5 it is possible to work with Parallels Plesk Sitebuilder with any browsers and the problem caused by MacOS browsers occurs.

It is strongly recommend to backup sites with Parallels Plesk Sitebuilder backup utility /usr/local/sitebuilder/utils/sbbackup (/opt/sitebuilder/utils/sbbackup for Debian/Ubuntu). This helps to prevent data lose because corrupted sites cannot be restored without backup.
For details refer to article [How to] How to backup Sitebuilder data?


The problem will be fixed in future update of Parallels Plesk Sitebuilder.
Hotfix for version 4.5.5 is in the attachment. To install it you should download the archive and place it to Sitebuilder tree directory /usr/local/sitebuilder (/opt/sitebuilder for Debian/Ubuntu). Then install the hotfix with command 'tar -zxf':

~# mv pages.tgz /usr/local/sitebuilder
~# cd /usr/local/sitebuilder
~# tar -zxvf pages.tgz

Do not forget to correct ownership and permissions, they should be root:root, 644. You may correct permissions with commands 'chown' and 'chmod':

~# chown root:root /usr/local/sitebuilder/include/SB/Actions/Wizard/Pages.php
~# chmod 644 /usr/local/sitebuilder/include/SB/Actions/Wizard/Pages.php

The hotfix will not restore corrupted sites, but helps to avoid sites corruption in future.


f7f840260c1591440648a375a64b5b75 fad6dc0c8e983c17ae70a51ac7952cd0 d055be4fdc562a8ecb8e6d0bf419f946 ea6a61e571a858aa6019ceb068ea403a 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF