RSTaylor Posted November 3, 2012 Report Share Posted November 3, 2012 In Coral 8.5.4 (checked the current 8.6.7 and it appears to still be there), the us_pear/index.php tries to naively guess its location using$path_array = explode("\\home",dirname(__FILE__)); // Split at folder us_learThis of course fails if the directory that Uniserver is installed in happens to have 'home' in it. (In my case, I had it installed in c:\home\Uniserver, so us_pear was in C:\home\UniServer\home\us_pear. Not only did it guess its paths wrong, even when I updated the pear.conf file with the correct paths, it just kept overwriting it with the wrong paths. My solution: replaced that line with $path_array = array(realpath(__DIR__ .'/../..'));Now it correctly finds the Uniserver root two directories up and can find itself (instead of thinking that it's at C:\home\us_pear). Hope that helps somebody else. Quote Link to comment Share on other sites More sharing options...
Ric Posted November 3, 2012 Report Share Posted November 3, 2012 Thanks for your feedback; correction will be implemented in next release 8.6.8 The above bug was perpetuated in 9.0.0-Steel corrected in next release B5 All the bestRic Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.