Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Bug in scoped-user_anon.php

UserPost

6:45 am
March 16, 2009


Uli

Member

posts 6

1

get_user_clause is missing a point:

// should not be used for anon user, but leave to maintain API
        function get_user_clause($table_alias) {
                return " AND {$table_alias}user_id = '0'";
        }

Should be this:

// should not be used for anon user, but leave to maintain API
        function get_user_clause($table_alias) {
                return " AND {$table_alias}.user_id = '0'";
        }

Otherwise you cannot use the RSS-Feed authentication due to a mysql-error:

#1054 - Unknown column 'urouser_id' in 'on clause'

3:49 pm
March 16, 2009


Kevin

Admin

posts 2503

2

Thanks for the tip. There were actually two bugs at play there, as scoped-user_anon should not have been loaded following http authentication. Both issues are fixed in rc9.9316

11:07 am
March 18, 2009


Uli

Member

posts 6

3

Thanks for the quick fix!


About the Agapetry forum

Currently Online:

12 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1245

Posts: 5653

Members:

There are 1255 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin