"License class not found" error in SiteBuilder

Created:

2016-11-16 12:51:02 UTC

Modified:

2017-04-24 12:09:46 UTC

0

Was this article helpful?


Have more questions?

Submit a request

"License class not found" error in SiteBuilder

Applicable to:

  • Plesk Sitebuilder 4.5 for Linux

Symptoms

When loading Parallels SiteBuilder 4.5 page http://sitebuilder.tld/Admin (on a server with Parallels Plesk Panel 11.5) following error occurs:

SB_Exception making GET request to /
License class not found.
PHP /usr/local/sitebuilder/include/SB/Environment.php, line 93
URI GET /

In /var/log/httpd/sitebuilder_error.log following message occurs:

[Fri May 30 20:15:15 2014] [error] [client 91.204.25.4] SB_Exception: License class not found.\

file: /usr/local/sitebuilder/include/SB/Environment.php\line: 93\code: 0\trace: #0 /usr/local/sitebuilder/include/SB/Environment.php(93): SB_Environment::_initLicense()\

1 /usr/local/sitebuilder/include/SB/Environment.php(28): SB_Environment->_initLicense()\

2 /usr/local/sitebuilder/include/SB/Environment.php(38): SB_Environment->__construct()\

3 /usr/local/sitebuilder/htdocs/index.php(4): SB_Environment::init()\

4 {main}\

Sitebuilder is using Plesk php binaries, not its own as it should.

Cause

Modified /etc/httpd/conf.d/php.conf file

Resolution

Use the php.conf file of following default contents.

#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
<IfModule prefork.c>
LoadModule php5_module modules/libphp5.so
</IfModule>
<IfModule worker.c>
LoadModule php5_module modules/libphp5-zts.so
</IfModule>

#
# Cause the PHP interpreter to handle files with a .php extension.
#
AddHandler php5-script .php
AddType text/html .php

#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php

#
# Uncomment the following line to allow PHP to pretty-print .phps
# files as PHP source code:
#
#AddType application/x-httpd-php-source .phps

Restart apache:

/etc/init.d/httpd restart
Have more questions? Submit a request
Please sign in to leave a comment.