Article ID: 5426, created on Jul 4, 2008, last review on May 11, 2014

  • Applies to:
  • Plesk Sitebuilder 4.x for Linux/Unix

Symptoms

Site cannot be published with the following error shown in Sitebuilder Wizard:

The site has been published with errors.
Cannot update modules data.


And the following error is shown when open the site with http://your-domain.com.

Warning: main(SB/Modules.php) [function.main]: failed to open stream: No such file or directory in /var/www/vhosts/your-domain.com/httpdocs/init.php on line 24
Fatal error: main() [function.require]: Failed opening required 'SB/Modules.php' (include_path='.:') in /var/www/vhosts/your-domain.com/httpdocs/init.php on line 24

Cause

Plesk server where the site is published to has PHP version 5.2.5 installed and php_admin_value is specified in apache configuration files for virtial hosts.

~# grep php_admin_value HTTPD_VHOSTS_D/*/conf/vhost.conf

Where HTTPD_VHOSTS_D can be found in  /etc/psa/psa.conf.

There is a bug fixed in PHP version 5.2.5 that php_admin_value set in apache configuration cannot be overwritten with function ini_set:

http://www.php.net/ChangeLog-5.php#5.2.5
Values set with php_admin_* in httpd.conf can be overwritten with ini_set()

Resolution

You should downgrade/upgrade PHP on the publishing server or remove options php_admin_value from apache configuration files for all virtual hosts.

After PHP/Apache are reconfigured you should republish the site through Plesk Sitebuilder Wizard.

AdditionalInformation

The issue may happen if the site is published to server without Plesk Control Panel, but specific PHP/Apache configuration:  it is PHP 5.2.5 and php_admin_value in apache configuration files.

d055be4fdc562a8ecb8e6d0bf419f946 fad6dc0c8e983c17ae70a51ac7952cd0 ea6a61e571a858aa6019ceb068ea403a 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF