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.'"'); 

就行了: 

 

 汉化包,见附件.

相关文章
相关标签/搜索