The blog info fields do not show up on the register page. Also the following errors are found in the log when a user tries to register when bloginfo module is activated:
--
mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mounted-storage/home19d/sub001/sc11519-EPMC/www/drupal/modules/bloginfo/bloginfo.module on line 100.
--
And:
--
Unknown column 'b.nid' in 'on clause' query: bloginfo_save_bloginfo SELECT b.uid FROM bloginfo b INNER JOIN node_access na ON na.nid = b.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'og_public') OR (na.gid = 0 AND na.realm = 'og_all'))) AND b.uid = 0 i /mounted-storage/home19d/sub001/sc11519-EPMC/www/drupal/includes/database.mysql.inc on line 120.
--
Both with location and referer /user/register
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | bloginfo_og_0.patch | 1.33 KB | mfer |
Comments
Comment #1
mfer commentedCan you give me some more details on this. I am unable to reproduce the error.
The bloginfo fields are not designed to display on the user registration page and shouldn't display. It checks to make sure you are on the edit page for a user and only displays the fields there. This was intentional for my particular case. Maybe a feature to add to allow on the user reg page.
Do you have organic groups installed? If so, what OG modules? Can you provide me some other details on your setup so I can try to reproduce the error.
Are you using mysql? Looks like my code isn't quite database agnostic.
Thanks,
Matt
Comment #2
lennart commentedYes, I have OG installed. Also OG mandatory group.
I am using mySQL 5
Thanks,
Lennart
Comment #3
lennart commentedcorrection: I am using mySQL 4 on that particular site
Comment #4
mfer commentedtry this patch. It should also be in the CVS version now.
Comment #5
lennart commentedFixed! Great, thanks!
Comment #6
(not verified) commented