Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: stefan-becker on September 12, 2008, 01:05:52 PM

Title: Problem by installation
Post by: stefan-becker on September 12, 2008, 01:05:52 PM
Hi,

i have a new server and so i want to install rc on the new server. It's version 0.2. But the installer said, that "iilConnection:  NOT OK(Failed to load lib/imap.inc)". The file is available on /program/lib. What's the problem?

Best regards,

Stefan
Title: Problem by installtion
Post by: stefan-becker on September 14, 2008, 01:49:42 PM
Ok, i have copy the folder lib in the root folder. I have zero errors, but on the next page i get this error:

product_name
    Fatal error: Class 'html_inputfield' not found in /usr/share/psa-horde/installer/config.php on line 74

What's that?

Stefan
Title: Problem by installtion
Post by: rosali on September 16, 2008, 05:37:46 AM
You need PHP 5.2.x. ".htaccess" files must be allowed. Also check your include_path settings in php.ini. PHP function "set_include_path" must be enabled.

iniset.php
Code: [Select]

// RC include folders MUST be included FIRST to avoid other
// possible not compatible libraries (i.e PEAR) to be included
// instead the ones provided by RC
$include_path = INSTALL_PATH . PATH_SEPARATOR;
$include_path.= INSTALL_PATH . 'program' . PATH_SEPARATOR;
$include_path.= INSTALL_PATH . 'program/lib' . PATH_SEPARATOR;
$include_path.= INSTALL_PATH . 'program/include' . PATH_SEPARATOR;
$include_path.= ini_get('include_path');

if (set_include_path($include_path) === false) {
  die('Fatal error: ini_set/set_include_path does not work.');
}


See the code above which is responsible for correct includes. You can't just modify the folder structure ...

-Roland
Title: Problem by installtion
Post by: stefan-becker on September 17, 2008, 06:55:22 AM
OK, i have found a problem with the .htaccess file in this folder. Ok i've enabled .htaccess for tis folder. But i didn't found set_include_path in bei php.ini. I've PHP 5.2.6.

I found this Forum http://forum.webhostlist.de/forum/3-x-allgemein/95732-probleme-mit-set_include_path-und-confixx_mhost-conf.html and than this Articel on http://trac.roundcube.net/ticket/1484675

So, Roundcube doesn't work with PHP 5.2.6? This is not a plus for Roundcube!

Best regards

Stefan