Symptoms
Parallels Plesk Sitebuilder site is configured for publishing to Parallels Operations Automations and Apache Module mod_substitute is loaded on publishing host.The following error is shown in Sitebuilder Wizard when try to publish the site:
The site has been published with errors.
Cannot update modules data.
And this error is shown in Sitebuilder Logs:
--->8---
System 4/27/2009 8:51:10 AM hostname 192.168.35.11 The site domain.tld has been published, but with errors....
System 4/27/2009 8:51:10 AM hostname 192.168.35.11 Cannot update modules data....
System 4/27/2009 8:50:57 AM hostname 192.168.35.11 Target environment has been checked successfully....
System 4/27/2009 8:50:57 AM hostname 192.168.35.11 Main check script has been uploaded via FTP....
---8<---
Cause
Site publishing procedure consists of the following steps:- Verification of publishing location;
- uploading files to publishing location via FTP;
- updating of modules data via HTTP requests to publishing host.
The error is shown even site has been published successfully.
Resolution
Hotfix for Parallels Plesk Sitebuilder 4.5 is in the attachment.To installing the hotfix download file ppsb_mod_substitute_patch.zip and put it into root directory of Parallels Plesk Sitebuilder 4.5 (/usr/local/sitebuilder for RedHat-like OS, /opt/sitebuilder for Debian-like). Then unpack the archive with command unzip. For example:~# mv ppsb_mod_substitute_patch.zip /usr/local/sitebuilder/
~# cd /usr/local/sitebuilder/
~# unzip ppsb_mod_substitute_patch.zip
Do not forget to correct permissions with
~# chown root:root /usr/local/sitebuilder/resources/modules/include/SB/Modules/Transport/Server/Response.php
~# chmod 644 /usr/local/sitebuilder/resources/modules/include/SB/Modules/Transport/Server/Response.php
Additional information
Refer to other articles about error "Cannot update modules data":Publishing host is mounted as NFS file system. I cannot publish site with error "The site has been published with errors."
Site cannot be published and error 'SB/Modules.php' is shown in URL on published server
Cannot publish site with errors "Cannot update modules data" and "FATAL: emalloc(): Unable to allocate"