I am using Drupal 7.10 stable and i activate the ability for user to register on my site.
But when i load the register page, i have the Postgresql error below:
PDOException : SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "register" LINE 4: WHERE (base.uid IN ('register')) ^: SELECT base.uid AS uid, base.name AS name, base.pass AS pass, base.mail AS mail, base.theme AS theme, base.signature AS signature, base.signature_format AS signature_format, base.created AS created, base.access AS access, base.login AS login, base.status AS status, base.timezone AS timezone, base.language AS language, base.picture AS picture, base.init AS init, base.data AS data FROM {users} base WHERE (base.uid IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => register ) in DrupalDefaultEntityController->load() (ligne 200 dans /usr/local/mywebsite/includes/entity.inc).
I use PostgreSQL 8.4.7
Comments
Comment #1
jibus commentedAnyone ? This is very anoying, all the register form is not working
Comment #2
AndrewBoag commentedStrange but I can't replicate this.
I'm running the 7.10 tag on an Ubuntu system with pg 8.4.9 (I doubt this one point version is the problem here) and I can't replicate your issues.
I tested (on a naked drupal)
- where users can register themselves with email auth - no issue
- where users can register themselves without email auth - no issue.
Can you give some more details of the registration settings and the exact URL that you are hitting and the registration settings.
Cheers.
Comment #3
jibus commentedHi AndrewBoag and thanks you for you reply.
The registration url is: /user/register
I have the same error on the password recorvery form: /user/password
Concerning the registration settings (/admin/config/people/accounts):
- Visitors can register
- No email validation
- No customizing signature or avatar
- Mail template are the default one
Fields are default one. I use the depedencies module, but there no depend here.
I never try the register form before. I assume that it work. I use the logintoboggan module. But it didn't respond to my needs, so I unstalled it (disabled and removed). I didn't mention it in my first post...maybe the cause is here.
I am running on FreeBSD
I am a little bit lost
Comment #4
AndrewBoag commentedStill no luck reproducing this.
I think it would be worth trying again to set up a naked drupal 7.10 on your system to check for this error. Make sure that there are no DB errors during the initial postgres install (look in the postgres log).
Let me know how you go.
Comment #5
jibus commentedUpdate
Like you did, i started a new fresh installation of Drupal 7. And the registration worked !
In my current installation, i disabled several modules in order to find wich one was causing the problem.
Finally, after disabled the Tab Tamer module, the registration form worked !
I unstalled it and re-installed, the registration is now working.
I can't explain the cause...maybe a misconfiguration.
Thanks again for your help :)