Author Topic: Failed to open stream errors!  (Read 2973 times)

Offline sjwright

  • Newbie
  • *
  • Posts: 4
Failed to open stream errors!
« on: August 08, 2010, 08:46:22 AM »
Hi all.

Gone to install RoundCube on my server and I run into errors in the installation. excuse the long message but here's what happens when I run the installer;

Code: [Select]
Checking PHP version

Version:  OK(PHP 5.2.14 detected)
Checking PHP extensions

The following modules/extensions are required to run RoundCube:

PCRE:  OK
DOM:  OK
Session:  OK
XML:  OK
The next couple of extensions are optional and recommended to get the best performance:

FileInfo:  NOT AVAILABLE(See http://www.php.net/manual/en/ref.fileinfo.php)
Libiconv:  OK
Multibyte:  OK
OpenSSL:  OK
Mcrypt:  NOT AVAILABLE(See http://www.php.net/manual/en/ref.mcrypt.php)
GD:  OK
Checking available databases

Check which of the supported extensions are installed. At least one of them is required.

MySQL:  OK
MySQLi:  OK
PostgreSQL:  NOT AVAILABLE(Not installed)
SQLite (v2):  OK
Check for required 3rd party libs

This also checks if the include path is set correctly.


Warning: include_once(PEAR.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/installer/utils.php on line 41

Warning: include_once() [function.include]: Failed opening 'PEAR.php' for inclusion (include_path='/var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/program/lib:/var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/program:/var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/program/include:.:') in /var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/installer/utils.php on line 41
PEAR:  NOT OK(Failed to load PEAR.php; See http://pear.php.net)

Warning: include_once(MDB2.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/installer/utils.php on line 41

Warning: include_once() [function.include]: Failed opening 'MDB2.php' for inclusion (include_path='/var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/program/lib:/var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/program:/var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/program/include:.:') in /var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/installer/utils.php on line 41
MDB2:  NOT OK(Failed to load MDB2.php; See http://pear.php.net/package/MDB2)

Warning: include_once(Net/SMTP.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/installer/utils.php on line 41

Warning: include_once() [function.include]: Failed opening 'Net/SMTP.php' for inclusion (include_path='/var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/program/lib:/var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/program:/var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/program/include:.:') in /var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/installer/utils.php on line 41
Net_SMTP:  NOT OK(Failed to load Net/SMTP.php; See http://pear.php.net/package/Net_SMTP)

Warning: include_once(Mail/mime.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/installer/utils.php on line 41

Warning: include_once() [function.include]: Failed opening 'Mail/mime.php' for inclusion (include_path='/var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/program/lib:/var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/program:/var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/program/include:.:') in /var/www/vhosts/cheshirecreative.com/subdomains/email/httpdocs/installer/utils.php on line 41
Mail_mime:  NOT OK(Failed to load Mail/mime.php; See http://pear.php.net/package/Mail_mime)
iilConnection:  OK
Checking php.ini/.htaccess settings

The following settings are required to run RoundCube:

file_uploads:  OK
session.auto_start:  OK
zend.ze1_compatibility_mode:  OK
mbstring.func_overload:  OK
suhosin.session.encrypt:  OK
The following settings are optional and recommended:

date.timezone:  NOT OK(Could be set)


Any ideas on how to rectify this at all?

Thanks in advance

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,543
    • http://SKaero.com/
Failed to open stream errors!
« Reply #1 on: August 08, 2010, 08:49:57 AM »
What version of RoundCube are you trying to install? Are you using the GPL (dependent) version?

Offline sjwright

  • Newbie
  • *
  • Posts: 4
Failed to open stream errors!
« Reply #2 on: August 08, 2010, 09:00:28 AM »
Quote from: skaero;29206
What version of RoundCube are you trying to install? Are you using the GPL (dependent) version?


Hi

Its the Stable: 0.4 off the roundcube web site im installing, not the GPL one, am I using the wrong one?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,543
    • http://SKaero.com/
Failed to open stream errors!
« Reply #3 on: August 08, 2010, 10:25:45 AM »
That is the right version, I think set_include_path may be disabled on your server. Create a new php file with this test script and post the output.

<?php
echo ini_get('include_path') .'
'
;

$include_path'test/path:';
$include_path.= ini_get('include_path');

if (
set_include_path($include_path) === false) {
    die(
"Fatal error: ini_set/set_include_path does not work.");
} else {
echo 
ini_get('include_path') .'
'
;
}
?>

Offline sjwright

  • Newbie
  • *
  • Posts: 4
Failed to open stream errors!
« Reply #4 on: August 08, 2010, 11:28:53 AM »
Quote from: skaero;29210
That is the right version, I think set_include_path may be disabled on your server. Create a new php file with this test script and post the output.

<?php
echo ini_get('include_path') .'
'
;

$include_path'test/path:';
$include_path.= ini_get('include_path');

if (
set_include_path($include_path) === false) {
    die(
"Fatal error: ini_set/set_include_path does not work.");
} else {
echo 
ini_get('include_path') .'
'
;
}
?>


THe output is:
Code: [Select]
.:
test/path:.:

Offline sjwright

  • Newbie
  • *
  • Posts: 4
Failed to open stream errors!
« Reply #5 on: August 08, 2010, 01:48:10 PM »
It's fixed now!

I had an issue with ioncube-loader being for a different version of PHP to what I have installed.

Thanks for the help though, received with gratitude.

Ste