• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

class base_modules_session Error

L

llaehn

Guest
Hello Forum,

i have installed the Sitebuilder 4.2.3 on a Debian Etch Server.
The php have utf8 supprt. I checked it with php -i
i can open sb_modules.php in data folder with sqlite_open() and can rwad data with sqlite_query.
i think the sqlite in php5 works.

but if i publish the site via ftp in the local confixx account i get the following error:
Main check script has been uploaded via FTP.
Check script file name: f12bd37f8b226dc1dcde812a5ab13e1b.php
Site name: Test2
Site owner: web2
Publication settings target: ftp://web2@localhost/html/sitebuilder
Publication settings url: http://sitebuilder.XXXXX.de/

Target environment has been checked successfully.
Site name: Test2
Site owner: web2
Publication settings target: ftp://web2@localhost/html/sitebuilder
Publication settings url: http://sitebuilder.XXXXX.de/

Invalid server response:
fatal error: class base_modules_session: cannot inherit from undefined class http_session in /var/www/web2/html/sitebuilder/include/base/modules/session.php on line 17

Cannot update modules data.
Site name: Test2
Site owner: web2
Publication settings target: ftp://web2@localhost/html/sitebuilder
Publication settings url: http://sitebuilder.XXXXX.de/

The site 'Test2' has been published, but with errors.
Site name: Test2
Site owner: web2
Publication settings target: ftp://web2@localhost/html/sitebuilder
Publication settings url: http://sitebuilder.XXXXX.de/

What can i do?
can anyone help me please.

regards
lar
 
Most probably you use PHP 5.2.5 version on publishing side.
This is a known issue caused by one of security bug fixed in PHP version 5.2.5, option php_admin_value set in apache configuration cannot be overwritten by function ini_set: http://www.php.net/ChangeLog-5.php#5.2.5
Sitebuilder uses ini_set to redefine include_path and look into other directories through its scripts. However it cannot overwrite include_path to required files in PHP version 5.2.5, hence it fails.

You can check also following bugs: http://bugs.php.net/bug.php?id=43755 http://bugs.php.net/bug.php?id=43677

To resolve the problem I can advise you to:

1) downgrade PHP to version 5.2.4 or under / or upgrade to 5.2.6 version. According to PHP bugs it should be corrected in 5.2.6 release.
2) replace option 'php_admin_value include_path' with 'php_value include_path' in all apache confutation files.
 
Hello Dmitry,

thanks for reply.
i have PHP 5.2.6 fom dotdeb.
i have compiled with some individual options but it is 5.2.6.
I have replace the php_admin_value include_path from confixx_mhost.conf with php_value and it works fine.

thanks for help
regards
lars
 
Back
Top