Svnmanager errors and solutions in Linux

Source: Internet
Author: User
Svnmanager errors and solutions in Linux-general Linux technology-Linux programming and kernel information. For details, refer to the following section. In the Linux environment, I have found a way to modify it. I have no chance to try it:

After svnmanager is installed, the following conditions occur:
1. The created version library is an empty folder.
2. An error occurred while editing user and group permissions.

For example:
Error 1: svn: Can't check path'/var/www /. subversion': insufficient permissions (cmd:/usr/bin/svn list -- non-interactive [url = file: // var/www/repos/test] file: /// var/www/repos/test [/url]) Command used:/usr/bin/svn list -- non-interactive [url = file: /// var/www/repos/test] file: // var/www/repos/test [/url]

Error 2: Parse error: syntax error, unexpected failed, expecting T_STRING or T_VARIABLE or T_NUM_STRING in/var/www/svnmanager/RepositoryModule/UserPrivilegesEditPage. php on line 223

Solution: add the following content in config. php of svnmanager.
$ Svn_config_dir = '/tmp ';
$ Svnadmin_cmd = "/usr/bin/svnadmin -- config-dir/tmp ";

Row 240 in UserPrivilegesEditPage. php and GroupPrivilegesEditPage. php

Replace $ switches = array (); with $ switches = array ('config _ dir' => $ svn_config_dir );

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.