• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Problems with horde

S

smudgeit

Guest
I'm getting these errors when I try create a new email with horde

PHP Fatal error: Can't load Horde/SessionObjects.php, open_basedir restriction. in /usr/share/psa-horde/lib/Horde/IMAP/Tree.php on line 311, referer:

This was fine before the latest 8.1 update.


Shouldn't this be set correctly in the

zz010_psa_httpd.conf file





PHP:
  <Directory /usr/share/psa-horde>
                <IfModule sapi_apache2.c>
                        php_admin_flag engine on
                        php_admin_flag magic_quotes_gpc off
                        php_admin_flag safe_mode off
                        php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc"
                        php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
                </IfModule>
                <IfModule mod_php5.c>
                        php_admin_flag engine on
                        php_admin_flag magic_quotes_gpc off
                        php_admin_flag safe_mode off
                        php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc"
                        php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
                </IfModule>
                Order allow,deny
                Allow from all
        </Directory>
 
can anyone spot whats wrong or is it another php setting?
 
This is the location of the file

/usr/share/psa-horde/lib/Horde/SessionObjects.php
 
fopen()

it seems that the 8.2 horde needs the php-function fopen();. as this is disabled by default, you have to change it in the php.ini under the key disable_functions
 
I'm having the same issue, running PHP Version 5.2.0-8+etch7, allow_url_fopen is set to on.
Does anyone have any ideas before i open a support ticket?
 
The problem can be due to eAccelerator:

# grep -i eaccelerator /etc/php5/apache2/php.ini
[eAccelerator]
extension="eaccelerator.so"
eaccelerator.shm_size="32"
eaccelerator.cache_dir="/tmp"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.cache_dir = "/var/cache/eaccelerator"
eaccelerator.allowed_admin_path = "/var/www/vhosts/domain.com/subdomains/test/httpdocs"
#

Please try to comment it in order to horde works correctly.
 
Back
Top