Apache Authentication Error

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
chriscroome
Registered User
Posts: 4
Joined: Wed Oct 25, 2006 4:15 pm

Apache Authentication Error

Post by chriscroome »

Hi

I'm setting up phpBB on a site that uses apache HTTP Authentication.

I have installed phpBB-3.0.B2 without a problem (nice installer) and I created the first user to equal my HTTP Auth username and I selected apache as the auth method as a admin user -- this all works.

The problem is when I login as another user, I get this error:

Code: Select all

Fatal error: Call to undefined function: user_add() in /phpBB3/includes/auth/auth_apache.php on line 140
The user_add function isn't in auth_apache.php and appears to be in includes/functions_user.php ...

Any suggestions about why this isn't working...?
Graham
Former Team Member
Posts: 8462
Joined: Tue Mar 19, 2002 7:11 pm
Location: UK
Contact:

Post by Graham »

Can you please file a bug report against this so that we can look into it.

If you want to try it on the latest code before doing so, you can obtain snapshots of the code (albeit with less support) here:
http://area51.phpbb.com/cvs/
"So Long, and Thanks for All the Fish"

phpBB Useful Links: Knowledge Base | Userguide | Forum Search | MOD Database | Styles Database
My Links: Blog!
tedder
Registered User
Posts: 2
Joined: Wed Oct 25, 2006 5:18 pm

Post by tedder »

interesting, I just ran across this too. I created a ticket, since I didn't see an existing one:
http://www.phpbb.com/bugs/viewreport.php?b=4994

It isn't fixed in the most recent nightly from what I can see.

-ted
chriscroome
Registered User
Posts: 4
Joined: Wed Oct 25, 2006 4:15 pm

CVS version of auth_apache.php

Post by chriscroome »

This is the diff between the version of auth_apache.php I got the error with compared with the latest version of this file in CVS:

Code: Select all

8c8
< * @version $Id: auth_apache.php,v 1.13 2006/08/12 01:58:58 naderman Exp $
---
> * @version $Id: auth_apache.php,v 1.14 2006/10/13 22:10:17 naderman Exp $
144c144
<                       WHERE username = '" . $db->sql_escape($php_auth_user) . "'";
---
>                       WHERE username_clean = '" . $db->sql_escape(utf8_clean_string($php_auth_user)) . "'";
181c181
<               'user_password' => $password,
---
>               'user_password' => md5($password),
So it doesn't appear to be fixed...
Locked

Return to “[3.0.x] Support Forum”

cron