Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

Site cannot be published and error 'SB/Modules.php' is shown in URL on published server

Article ID: 5426 
Last Review: Oct,9 2009
Author: Bezborodova Anastasiya
Last updated by: Bezborodova Anastasiya APPLIES TO:
  • 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.

Additional information

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.
Keywords: site; publishing; php5.2.5


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