Symptoms
After site with modules was published the labels are not shown correctly:[[Modules/Guestbook/Pub_:_addComment]]
[[Modules/ImageGallery/Frontend_:_allcategories]]
However the site looks normally in Sitebuilder Site Preview.
What causes the problem?
Cause
1. Parallels Plesk Sitebuilder locales are not installed or they are outdated2. PHP functions "parse_ini_file" is disabled on server where the site was published.
Resolution
1. Upgrade Parallels Plesk Sitebuilder locales with Sitebuilder autoinstaller. For example:Verify locales are outdated:
~# ./parallels_installer_v3.5.0_build090817.16_os_CentOS_5_i386 --select-release-id SB_4_5_0 --show-components
Detecting installed product components.
sitebuilder [up2date] - SiteBuilder packages
modules [up2date] - SiteBuilder modules
locales [upgrade] - SiteBuilder localization files <=== locales need to be upgraded
templates [up2date] - SiteBuilder design templates
~#
Upgrade locales with command:
~# parallels_installer_v3.5.0_build090817.16_os_CentOS_5_i386 --select-release-id SB_4_5_0 --install-component locales
The autoinstaller is available on website Parallels: http://www.parallels.com/download/sitebuilder4/. Choose autoinstaller script for your operating system and architecture.
After the locales have been updated it is recommended that you publish entire content of the site through page Publish in Sitebuilder Wizard.This will fix the problem on published site.
2. Remove disabling of function "parse_ini_file" from PHP configuration on publishing host. For example:
~# grep disable_functions /etc/php.ini
#disable_functions = parse_ini_file <=== comment out the whole option "disable_functions"
disable_functions = <=== or remove function "parse_ini_file" from list of arguments
~#
Restart Apache to apply the changes.