Product:
Search Type:

Site publication, preview or edit fails with "Internal SiteBuilder Error".

Article ID: 5388 
Last Review: Jun,24 2008
APPLIES TO:
  • Sitebuilder 4.x for Linux/Unix

SYMPTOMS

 Following error outputted in Sitebuilder:

Internal SiteBuilder error.
File: /usr/local/sitebuilder/include/SB/Site/ModuleInstancesList.php; Line: 76
Message: Module with instance id='MODULE_INSTANCE_ID' does not exists.; Code: 0


RESOLUTION

Try to make following changes to resolve this situation for particular issued site:

1. Figure out where site content is stored on Sitebuilder server:

Log into mysql database and run following query:

mysql> select dir_name from sitebuilder3.site where alias='SITE_NAME';


For example, you get something like this: 6481275f1cacad4cfef4dda324053855. Make backup for /usr/local/sitebuilder/htdocs/sites/64/6481275f1cacad4cfef4dda324053855/
directory (on Debain server path will be different /opt/sitebuilder/..) and check the files which contains ID for module which does not exists:

Creating backup, just in case:

# cp -rp /usr/local/sitebuilder/htdocs/sites/64/6481275f1cacad4cfef4dda324053855/ /usr/local/sitebuilder/htdocs/sites/64/6481275f1cacad4cfef4dda324053855_saved

Looking for missing module instance id:

# grep -r MODULE_INSTANCE_ID /usr/local/sitebuilder/htdocs/sites/64/6481275f1cacad4cfef4dda324053855/


When you find the file which contains this note, delete <iframe> section from it with MODULE_INSTANCE_ID, starting from <iframe and ending by </iframe>.

Additional information

This situation completely resolved in 4.0.0 version + sitebuilder_patch_4.0..0.3.tgz which should be applied on 4.0.0 installation. This patch can be taken from here http://kb.parallels.com/attachments/2248/sitebuilder_patch_4.0.0_3.tgz
In later 4.1 and 4.2 versions this situation also corrected. If you meet this issue on 4.0.0+patch3 or later installations it means that issue came from older versions with upgrade. In this case it is suggested to perform actions described in this article upper.

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields