Just to add to this thread, I am getting errors with PHP version 3.2.11
when logging in as a user through LDAP.

Using the latest mainline git I get DB errors if I don't add the
following to User_username.php

function table() {
        return array(
            'user_id'     => DB_DATAOBJECT_INT,
            'username'   => DB_DATAOBJECT_STR,
            'provider_name'   => DB_DATAOBJECT_STR ,
            'created'   => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE +
DB_DATAOBJECT_TIME,
        );
    }

    // now define the keys.
    function keys() {
        common_log(LOG_INFO, 'defining keys?');
        return array('provider_name', 'username');
    }


Is there anything I can try that doesn't involve adding this manually?

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to