Not sure if this is a server issue but having an error including the drupal_integration.php file right off the bat:

Warning: require(/drupal_integration.php) [function.require]: failed to open stream: No such file or directory in /var/www/vhosts/website.com/httpdocs/modules/kcfinder/kcfinder_files/core/autoload.php on line 14

Fatal error: require() [function.require]: Failed opening required '/drupal_integration.php' (include_path='.:') in /var/www/vhosts/website.com/httpdocs/modules/kcfinder/kcfinder_files/core/autoload.php on line 14

Now if I change it to 'require "drupal_integration.php";' (removing the "/"), I guess it finds the file but then I run into a new set of problems:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../../../../../includes/bootstrap.inc) is not within the allowed path(s): (/var/www/vhosts/website.com/httpdocs:/tmp) in /var/www/vhosts/website.com/httpdocs/modules/kcfinder/kcfinder_files/drupal_integration.php on line 21

Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(../../../includes/bootstrap.inc) is not within the allowed path(s): (/var/www/vhosts/website.com/httpdocs:/tmp) in /var/www/vhosts/website.com/httpdocs/modules/kcfinder/kcfinder_files/drupal_integration.php on line 60

Warning: require_once(../../../includes/bootstrap.inc) [function.require-once]: failed to open stream: Operation not permitted in /var/www/vhosts/website.com/httpdocs/modules/kcfinder/kcfinder_files/drupal_integration.php on line 60

Fatal error: require_once() [function.require]: Failed opening required '../../../includes/bootstrap.inc' (include_path='.:') in /var/www/vhosts/website.com/httpdocs/modules/kcfinder/kcfinder_files/drupal_integration.php on line 60

Comments

Niremizov’s picture

When this error occurs? Right after installation?
Need more information about how to get this error.

Niremizov’s picture

Status: Active » Postponed (maintainer needs more info)
danyalejandro’s picture

The paths that your error messages describe are really mysterious... could you tell us about your current drupal installation? is it a hosting provider or are you using your own server? are you on your own machine? do you have any kind of weird drupal configuration or measure of security?

Please tell us so we can re-create your case (if factible) and possibly work in a patch.

bredi’s picture

I'm having the same exact error.
I'm on hosted vhost and cpanel setup.

thanks!

bredi’s picture

removing the slash / fixed it for me!

hedley’s picture

Yes I got the same error message right after install after hitting the 'Browser server' button. Remove the '/' fixed it for me as well

Niremizov’s picture

Okey "/" is fixed in the new release, but what about warnings after fixing it?

Slug’s picture

Howdi

I also am getting similar error. I am on a hosted system (virtualmin) tried both the dev and the 7.x-1.82 versions. I get this once I click on the file browser button under the user.

Thanks
Michael

Error message below

Warning: require_once(../../../includes/bootstrap.inc): failed to open stream: No such file or directory in /home/amvi/public_html/modules/kcfinder/kcfinder_files/drupal_integration.php on line 60 Fatal error: require_once(): Failed opening required '../../../includes/bootstrap.inc' (include_path='.:/usr/share/php:/usr/share/pear:/home/amvi/public_html/horde/lib') in /home/amvi/public_html/modules/kcfinder/kcfinder_files/drupal_integration.php on line 60

laraz’s picture

thanks!

danyalejandro’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.