svnmanager v1.0.9在編輯用戶權限和組權限的時候都報錯PEAR_ErrorStack

 有沒有碰到過這個問題,新版的svnmanager到windows下好多問題....,特此請求你們幫忙.php

svnmanager v1.0.9在編輯用戶權限和組權限的時候都報錯,shell

apache log:apache

PHP Fatal error:  Class 'PEAR_ErrorStack' not found in C:\\Program Files\\Apache Software 
Foundation\\Apache2.2\\htdocs\\svnmanager\\svnmanager\\RepositoryModule\\
UserPrivilegesEditPage.php on line 204, referer: http://svn.zzw.com/svnmanager/index.php?page=Repository:UserPrivilegesPagewindows

ie:ide

 


Fatal error: Class 'PEAR_ErrorStack' not found in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\
svnmanager\svnmanager\
RepositoryModule\UserPrivilegesEditPage.php
 on line 204

 



row 204svn

svnmanager\svnmanager\RepositoryModule
ui

//retrieve sub paths from repositoty
require_once("VersionControl/SVN.php");

require("config.php");
$svnstack = &PEAR_ErrorStack::singleton('VersionControl_SVN');
 


pear uninstall VersionControl_SVN-0.5.0卸掉0.5.0
pear install PEAR-1.9.4
pear install VersionControl_SVN-0.4.0重裝0.4.0就沒報這個錯了this

 

找到VersionControl_SVN的文件C:\php5.2.17\PEAR\VersionControl\SVN.phpspa

在674行: orm

 

  
  
  
  
  1. $cmd = str_replace($this->svn_path, escapeshellarg($this->svn_path), $cmd); 

 

修改成: 

  
  
  
  
  1. $cmd = str_replace($this->svn_path, escapeshellarg($this->svn_path), '"'.$cmd.'"'); 

就行了: 

 

 漢化包,見附件.

相關文章
相關標籤/搜索