Product:
Search Type:

When I include the modules in a site, I receive an error for each module stating that the version is incompatible with the current version of SiteBuilder. All module versions are 2.1.3, and the SiteBuilder is also version 2.1.3.

Article ID: 1862 
Last Review: May,22 2007
APPLIES TO:
  • Sitebuilder 2.x for Linux/Unix

CAUSE

Most probably modules API version is set not correctly in Sitebuilder database.

RESOLUTION

You need to make sure that each module have correct API version in Sitebuilder database. Try to check it with help of following queries:

This query outputs 'modules_api_version' (<VERSION>) from general Sitebuilder settings:
 
mysql -usb_user -psb_user sitebuilder -e "select * from sb_settings where prop_name='modules_api_version';"

Next query outputs 'modules_api_version' version for each module:
 
mysql -usb_user -psb_user sitebuilder -e "select module_id,modules_api_version from sb_modules";

 If some API version is not the same for one of the module you need to update it with help of the following command:
 
mysql -usb_user -psb_user sitebuilder -e "update sb_modules set modules_api_version=<VERSION>;"

<VERSION> - is the version which you get from the first query. In most cases <VERSION>=1.1.

Please note, that user 'sb_user' and password 'sb_user' are default user and password for MySQL database. Generally, these credentials located in SITEBUILDER_ROOT/include/config.php file: $sb_dbuser  and $sb_dbpasswd parameters.

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