Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

On published site labels are shown incorrectly. They look like [[Modules/Guestbook/Pub_:_addComment]], [Modules/ImageGallery/Frontend_:_allcategories]], etc.

Article ID: 6809 
Last Review: Oct,24 2009
Author: Bezborodova Anastasiya
Last updated by: Bezborodova Anastasiya APPLIES TO:
  • Sitebuilder 4.x for Linux/Unix

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 outdated
2. 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.


Subscription for changes to this article Subscription for changes to this article

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.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products