Defect #2090

Redmine.pm Error

Added by Steven Lu over 13 years ago. Updated over 12 years ago.

Status:ClosedStart date:2008-10-26
Priority:UrgentDue date:
Assignee:-% Done:

0%

Category:Plugin API
Target version:-
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.

History

#1 Updated by Steven Lu over 13 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>

#2 Updated by Steven Lu over 13 years ago

Can someone please blot out my username and password?

#3 Updated by Jean-Philippe Lang over 13 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.

#4 Updated by Steven Lu over 13 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.

#5 Updated by Jean-Philippe Lang over 12 years ago

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

Documentation is fixed.

Also available in: Atom PDF