Project

General

Profile

Actions

Defect #2090

closed

Redmine.pm Error

Added by Steven Lu about 16 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
2008-10-26
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When trying to log into the SVN via Apache2 http:// with the proper credentials, it does not log me in.

Here is my apache server log.

DBD::mysql::st execute failed: called with 2 bind variables when 0 are needed at /opt/redmine/extra/svn/Redmine.pm line 278.
DBD::mysql::st fetchrow_array failed: fetch() without execute() at /opt/redmine/extra/svn/Redmine.pm line 281.

Actions #1

Updated by Steven Lu about 16 years ago

  • Status changed from New to Resolved

The guide in the Wiki is incorrect. Here's what I did.

I copied Redmine.pm to /usr/lib/perl5/Apache
Then loaded the following configuration script:

PerlLoadModule Apache::Redmine
<Location />
    DAV svn
    SVNParentPath "/var/svn" 

    AuthType Basic
    AuthName redmine
    Require valid-user

    PerlAccessHandler Apache::Authn::Redmine::access_handler
    PerlAuthenHandler Apache::Authn::Redmine::authen_handler

    RedmineDSN DBI:mysql:database=redmine;host=localhost

    RedmineDbUser xxxxxxxxxx
    RedmineDbPass xxxxxxxxxx
</Location>
Actions #2

Updated by Steven Lu about 16 years ago

Can someone please blot out my username and password?

Actions #3

Updated by Jean-Philippe Lang about 16 years ago

Actually, the wiki documentation applies to latest stable release (0.7) of Redmine.pm.
This will be updated on 0.8 release. Thanks.

Can someone please blot out my username and password?

Done.

Actions #4

Updated by Steven Lu about 16 years ago

I could also give you a guide on how to https secure the SVN and let only redmine access the repository through localhost port 80.

Actions #5

Updated by Jean-Philippe Lang almost 15 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Fixed

Documentation is fixed.

Actions

Also available in: Atom PDF