Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/usr/bin/patch) is not within the allowed path(s): (/home/sites/efaktor.no:/usr/local/php/lib/php:/home/sites/tmp:/tmp:/home/sites/phpmyadmin) in /home/sites/efaktor.no/www/mod/wiki/ewiki/plugins/patchsaving.php on line 15
Seems similar to earlier discussions, but I can't figur out what to do. Any Solutions?
If you've not done so already, please add a report of the problem in the bug tracker and post the bug report number in this discussion.
The following worked for me on a Debian Etch server: Openbase_dir restrictions can (often / sometimes not) be worked around by putting the relevant files into a directory your webserver can access.
1. create a directory called /bin in a place your Apache can read from - e.g. next to your /moodledata directory
2. copy the files /usr/bin/patch and /usr/bin/diff into this directory
3. patch /moodle/mod/
The problem you are left with is that you have to patch patchsaving.php everytime you upgrade your installation.
If you cannot access /usr/bin on your webserver (who knows) in order to copy the files, try to find out what kind of linux-machine you are on. Ask your provider. Then find a similar machine somewhere else (a virtual machine can help) and then copy diff and patch from there.