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

CommentFileSizeAuthor
#4 bloginfo_og_0.patch1.33 KBmfer

Comments

mfer’s picture

Can 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

lennart’s picture

Yes, I have OG installed. Also OG mandatory group.

I am using mySQL 5

Thanks,
Lennart

lennart’s picture

correction: I am using mySQL 4 on that particular site

mfer’s picture

StatusFileSize
new1.33 KB

try this patch. It should also be in the CVS version now.

lennart’s picture

Status: Active » Fixed

Fixed! Great, thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)