I have a problem with SVNManager since I upgraded Ubuntu from version 10.04 to 14.04.
If I go to "Repository Admin -> User Privileges" "Repository Admin -> Group Privileges" and then click "select" on any user or any group I see a blank page.
I have a copy of this machine before the upgrade (it's a virtual machine) and I can confirm that there was no problem before the upgrade.
[2] require_once(VersionControl/SVN.php): failed to open stream: No such file or directory (@line 204 in file /files/www/svnmanager/svnmanager/RepositoryModule/UserPrivilegesEditPage.php).
I think I just need to install the package on pear.
I will try it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have a problem with SVNManager since I upgraded Ubuntu from version 10.04 to 14.04.
If I go to "Repository Admin -> User Privileges" "Repository Admin -> Group Privileges" and then click "select" on any user or any group I see a blank page.
I have a copy of this machine before the upgrade (it's a virtual machine) and I can confirm that there was no problem before the upgrade.
I found this link but it seems that this bug was corrected on the last version of SVNManager :
http://sourceforge.net/p/svnmanager/discussion/459311/thread/9870b466/
(I use SVNManager 1.10)
I don't see any error on Apache log files and I can confirm that DB parameters are ok.
Before the upgrade I was using PHP 5.3.3 and on the upgraded machine it's 5.5.9.
I was thinking of forcing PHP to the older version with .htaccess but it seems that it's not as simple as I believed.
How could I fix this problem ?
Thank you.
Last edit: Stéphane JAILLIARD 2015-02-17
Hello,
I activated the PHP display errors and I've got this :
Fatal Error
[2048] Non-static method PEAR_ErrorStack::singleton() should not be called statically (@line 983 in file /usr/share/php/PEAR/ErrorStack.php).
Debug Backtrace
1 ErrorStack.php:983 -- pradoErrorHandler(...)
2 ErrorStack.php:983 -- PEAR_ErrorStack::singleton()
3 UserPrivilegesEditPage.php:4 -- require_once(...)
4 prado.php:156 -- require_once(...)
5 TApplication.php:630 -- pradoImportClass(...)
6 TApplication.php:482 -- TApplication->loadPage(...)
7 index.php:5 -- TApplication->run()
Ok, it's better now.
in php.ini I changed :
error_reporting = E_ALL
to :
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
Now I've got :
Fatal Error
[2] require_once(VersionControl/SVN.php): failed to open stream: No such file or directory (@line 204 in file /files/www/svnmanager/svnmanager/RepositoryModule/UserPrivilegesEditPage.php).
I think I just need to install the package on pear.
I will try it.
Package installed with the command :
pear install VersionControl_SVN-0.5.2
But now I've got :
VersionControl_SVN_Exception: "svn_path" is not a valid option
In the files UserPrivilegesEditPage.php and GroupPrivilegesEditPage.php I changed this line :
$options = array('fetchmode' => VERSIONCONTROL_SVN_FETCHMODE_ARRAY, 'svn_path' => $svn_cmd);
To this :
$options = array('fetchmode' => VERSIONCONTROL_SVN_FETCHMODE_ARRAY);
Everything seems to be ok now.
I think SVNManager should be patched.