Search

Language:  
Search for:

Available article translations:

Error while accessing Website Presence Builder

Article ID: 112453 
Created On: Oct 5, 2011
Last Review: Oct 16, 2012
Views:
Was this article helpful?
No Yes
APPLIES TO:
  • Parallels Presence Builder
  • Parallels Plesk Panel 10.x for Linux
  • Parallels Plesk Panel 10.x for Windows

Symptoms

The following error is displayed when trying to access the Web Presence Builder, either after a clean installation or upgrade from previous versions:
Internal error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sitebuilder5.site_version' doesn't exist
Message SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sitebuilder5.site_version' doesn't exist  
File Generic.php  
Line 32
Type SB_Facade_Exception_Generic

Cause

Web Presence Builder database was not created during an installation or upgrade procedure because the MySQL strict mode is enabled.

Resolution

Disable strict mode in MySQL and recreate the Web Presence Builder database.

1. Edit MySQL configuration file

Linux platform -- /etc/mysql/my.cnf
Windows platform 32bit -- C:\Program Files\MySQL\MySQL 5.1 Server\my.ini
Windows platform 64bit -- C:\Program Files (x86)\MySQL\MySQL 5.1 Server\my.ini

Withdraw STRICT_TRANS_TABLES and STRICT_ALL_TABLES from the sql-mode configuration directive or comment it out altogether:
# cat /etc/mysql/my.cnf|grep sql-mode
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"


2. Restart MySQL service to apply changes

On Linux platform:
/etc/init.d/mysqld restart

On Windows platform:
> sc stop MySQL
>sc start MySQL


3. Recreate Web Presence Builder database

Linux platform clean installation:
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/configure.php --init_db --merge_config --db_admin_name=admin --db_admin_passwd=`cat /etc/psa/.psa.shadow` --sb_db_user_passwd=<random_password>
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/post_configure.php


Linux platform after upgrade from previous version:
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/configure.php --init_db --merge_config --db_admin_name=admin --db_admin_passwd=`cat /etc/psa/.psa.shadow`
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/post_configure.php


Windows platform:
> "%plesk_dir%\admin\bin\local_mysql_helper.exe" --create-database-and-user -database "sitebuilder5" -database-user "<DB_USER>" -database-user-password "<DB_USER_PASSWORD>"
> "%plesk_dir%\admin\bin\php.exe" -c "%plesk_dir%\admin\php.ini" -dauto_prepend_file="" "%plesk_dir%\sb\utils\configure.php" --init_db --skip_database_creation --merge_config
> "%plesk_dir%\admin\bin\php.exe" -c "%plesk_dir%\admin\php.ini" -dauto_prepend_file="" "%plesk_dir%\sb\utils\post_configure.php"



0324051e74e0392d1551a3b559b09eaa 64d8d09669cff87d685a09b84f40c490 49af2da0f2dd4c81e962790bbbd0c2b4 5d735c0e028ee5b991e4fb80d34fb87f 5fc602d72ea565f353b9320e2ef62a1b 04f1b0f9f311a40f2f06e7821a7faf9a f36c5c36aad86685b6f729cd4414053c 56797cefb1efc9130f7c48a7d1db0f0c

Was this article helpful?
No Yes
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
 
Desktop Virtualization
- Parallels Desktop 8 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac Enterprise Edition
- Parallels Management-Mac for Microsoft SCCM
Server Virtualization
- Parallels Cloud Server
- Parallels Virtuozzo Containers
Automation
- Parallels Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Web Presence Builder
- Parallels Plesk Automation
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Value-added Services for Hosters
- Parallels Partner Storefront