Hi there,
I have received the error below when I try to install the custom_url_rewrite_outbound.patch. I feel fairly confident that I have followed the guide correctly in the domain install.txt and do not know where to go from here.
Warning: require_once(./includes/common.inc) [function.require-once]: failed to open stream: Permission denied in C:\www\testsite1\includes\bootstrap.inc on line 921
Fatal error: require_once() [function.require]: Failed opening required './includes/common.inc' (include_path='.;C:\xampp\php\pear\') in C:\www\testsite1\includes\bootstrap.inc on line 921
The site is set up on a localhost using xampp with drupal vers 5.7 and domain access vers 5.x-1.9 and i'm running windows vista. I have done a minimul set up of the site to get this module operating properly first.
The error comes up after I load the patch using Cygwin (which was successful) and then I enter ---
/**
* Add the custom_url_rewrite_outbound function.
*/
include './sites/all/modules/domain/settings_custom_url.inc';
------ at the end of my settings.php file in the sites default folder and change the path to the site.
The error stays the same??? I have even tried entering the absolute path with no joy....
Any ideas would be great!!! thanks
Comments
Comment #1
OnthegOinOz commentedTo add to the information about the issue the following came back when i ran the patch in Cygwin ---
$ patch -p) < custon_url_rewrite_outbound.patch
patching file includes/common.inc
Hunk #1 succeeded at 1186 (offset -3 lines).
trust this help identify where things may be amiss?!
thanks
Comment #2
agentrickardThis is a cygwin/apache specific permissions problem.
http://www.google.com/search?q=apache+permissions&ie=utf-8&oe=utf-8&aq=t...
http://www.cygwin.com/
Comment #3
Estrangheros commentedDear folks,
I received the same error message, and talked to my hosting provider. They said, it has nothing to do with Apache, since the issue is directly related to the module itself. Hmm, I'll try to find a work around on it!
Comment #4
okaalto commentedJust in case someone find this old post. This is Cygwin & Windows file permissions related issue, see:
http://drupal.org/node/32875#comment-2171008