+ Reply to Thread
Results 1 to 8 of 8

Thread: 0.2-stable Installation NOT OK Failed opening 'iilConnection.php'

  1. #1
    Napsty is offline Registered User
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    20
    Downloads
    0
    Uploads
    0

    Unhappy 0.2-stable Installation NOT OK Failed opening 'iilConnection.php'

    Hello

    I'm one step away from a complete Roundcube Webmail installation. I just downloaded the newest version (0.2-stable) and got stuck with the third party checks. Here the output of the checks:

    Check for required 3rd party libs

    This also checks if the include path is set correctly.
    PEAR: OK
    MDB2: OK
    Net_SMTP: OK
    Mail_mime: OK

    Warning: include_once(iilConnection.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/confixx/html/roundcube/installer/utils.php on line 15

    Warning: include_once() [function.include]: Failed opening 'iilConnection.php' for inclusion (include_path='.:/usr/lib/php') in /var/www/confixx/html/roundcube/installer/utils.php on line 15
    iilConnection: NOT OK(Failed to load lib/imap.inc)
    Checking php.ini/.htaccess settings
    file_uploads: OK
    session.auto_start: OK
    zend.ze1_compatibility_mode: OK
    mbstring.func_overload: OK


    The include_path is set correctly since it can find the PEAR files... As of now, I don't know why the installation is stuck here and I don't know what to do.
    Hope I'll get it to work with your help.

    Thanks in advance!

  2. #2
    Napsty is offline Registered User
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default

    ... no ideas around?
    Obviously there are a lot of successful installations around...

  3. #3
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    Hi Napsty.

    The include path is wrong, that is why it cannot find the files. If you look at the top of [rc root]/installer/index.php you can see all the directories that should be added to the path. I am afraid I dont have any suggestions as to why it is not working but hopefully it will give you somewhere to start.

  4. #4
    Napsty is offline Registered User
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default

    Hey JohnDoh

    Thanks so far for the suggestion. I am sure this is the problem.

    But as I looked now in the installer/index.php I think it is strange that this code doesn't work:

    Code:
    $include_path  = INSTALL_PATH . 'program/lib' . PATH_SEPARATOR;
    $include_path .= INSTALL_PATH . 'program' . PATH_SEPARATOR;
    $include_path .= INSTALL_PATH . 'program/include' . PATH_SEPARATOR;
    $include_path .= ini_get('include_path');
    
    set_include_path($include_path);
    With this code it should define a new include_path including the original one from php.ini. Am I right or getting something wrong?
    Could this be a bug?

    I have edited the include_path for this domain like this now and it works:
    Code:
    php_admin_value include_path ".:/usr/lib/php:/var/www/roundcube/program/lib:/var/www/roundcube/program:/var/www/roundcube/program/include"
    Last edited by Napsty; 01-08-2009 at 08:55 AM.

  5. #5
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    ahh php_admin_value will be the problem....

    "Sets the value of the specified directive. This can not be used in .htaccess files. Any directive type set with php_admin_value can not be overridden by .htaccess or ini_set(). To clear a previously set value use none as the value. "

  6. #6
    Napsty is offline Registered User
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default

    Yes, that's correct.

    But even when I delete the php_admin_value, so it uses the include path set in the php.ini (.:/usr/lib/php) it doesn't work.
    I then get the errors, that no PEAR Files could be found (Warning: include_once(PEAR.php) [function.include-once]: failed to open stream.

    That's why I decided to use php_admin_value in the vhost config since it didn't work with the standard settings.
    How did it work for you? How are your settings?

  7. #7
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    my php include path is just the default ".:/usr/share/php:/usr/share/pear" (before RC gets to it) the only php setting i have changed from the defaults is the memory limit. I dont use any per site php config files, only the main one. i have never had any problem with RC setting the include path.

  8. #8
    Napsty is offline Registered User
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default

    Thank you for all your help, JohnDoh.

    I figured out, why it didnt work at the begin.
    I'm using Debian etch 4.0 and a host panel (Confixx). This host panel has set a default
    php_admin_value include_path .
    for every host. Even though I created a new manually vhost (outside of the confixx vhosts) the apache configs were all set with this include path.

    Of course it worked, when I changed my include_path with php_admin_value, but after the installation, Roundcube gets into problems with that.

    So now I commented-out this entry in the causing configuration and now the stardard include_path from php.ini is active.

    It works fine now! This thread can be moved or set as closed/solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts