log (view history) fails.

102 views
Skip to first unread message

arvr

unread,
Jun 25, 2011, 9:08:13 AM6/25/11
to ReposStyle
Hello,

The repostyle is working for me, but when I click on "View History",
rather than getting the history, I am getting a file to download. When
I download the file saves as "some_junk_chars.phtml.part". When I open
the file, the following are the contents of the file

"
0 or die("Parameter 'base' (Subversion 1.5 or later) required for
SVNParentPath"); $repo = $repo.'/'.$_REQUEST['base']; } $url = $repo .
$target; // command line, injection safe, svn must be in path, assumes
utf-8 shell $cmd = $svn.' log --xml --verbose --incremental --non-
interactive'; $cmd .= ' --limit '.escapeshellarg($limit); $cmd .= '
'.escapeshellarg($url); $cmd .= ' 2>&1'; header('Content-Type: text/
xml'); echo(' '); passthru($cmd); echo(' '); ?>
"

My repos-web is in /var/www/
My svn is in /svn/some_mybasexxx/some_proj_locations
My apache is in /etc/apache2/

I did not make any changes to any of the files of repos-web. I am
using 2.4 (repos-style-2.4.zip)

My svn conf file contents are:

<Location /svn>
DAV svn
SVNParentPath /svn/some_mybasexxx
SVNListParentPath on

AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/svn-auth-file
SVNIndexXSLT "/repos-web/view/repos.xsl"
Require valid-user
</Location>


I am not sure abt the error, can you please help me.

Thanks,
ARVR.

Staffan

unread,
Jun 27, 2011, 12:42:16 AM6/27/11
to repos...@googlegroups.com
Is PHP installed on the server?

/Staffan
Reply all
Reply to author
Forward
0 new messages