Oleg wrote:That really should not happen. phpunit checks for file existence immediately before requiring the file.
You can try:
1. ls -l /Users/callumacrae/pear/share/pear/PHPUnit/Extensions/Database/Operation/Exception.php
Yup, works. Permissions are 644.
Oleg wrote:2. Replace require_once with include_once on line 56. See what php says about that.
New output:
callum-mbp:phpbb3 callumacrae$ phpunit
PHPUnit 3.5.15 by Sebastian Bergmann.
I............................................................ 61 / 1176 ( 5%)
.............................................EEEEEEEEEEEEEEEE 122 / 1176 ( 10%)
EEEEEEEEEEEEEEEEEEEEEE....................................... 183 / 1176 ( 15%)
.............................................EEEEEEEEEEEEEEEE 244 / 1176 ( 20%)
EEEEEEEEEEE
Pretty sure that isn't right.
Oleg wrote:3. Try requiring that file in php code yourself, see what happens.
That works fine.
Oleg wrote:4. Install a different version of phpunit.
How?
Oleg wrote:5. Do you have anything like selinux running?
No
Oleg wrote:6. Copy all pear files into the current directory (/Users/callumacrae/pear/share/pear/ -> .), without preserving permissions.
Will try that if installing a different version doesn't work.
Thanks




