Hi, i've just tried adding the members module to a clean installation of drupal 5.2. But i can't get it to either add pages or blocks. For now i jsut want pages. If i fill in the relevant fields as required it looks fine, then press 'save' and i get the following error

user warning: Incorrect integer value: '' for column 'users_per_block' at row 1 query: INSERT INTO members_page (name, description, access, page, page_title, url, use_pager, page_header, page_header_format, page_footer, page_footer_format, page_empty, page_empty_format, menu, menu_title, block, block_title, users_per_block, block_more, block_use_page_header, block_header, block_header_format, block_use_page_footer, block_footer, block_footer_format, block_use_page_empty, block_empty, block_empty_format, roles, `fields`, encode_mailto, field_length, users_per_page) VALUES ('test', '', '', '1', '', 'members/test', '0', '', '3', '', '3', '', '3', '0', '', '0', '', '', '0', '0', '', '3', '0', '', '3', '0', '', '3', '2', 'name,mail', '0', '', '') in ....\database.mysql.inc on line 172.

Comments

wmostrey’s picture

Assigned: Unassigned » wmostrey
Category: support » bug
Priority: Critical » Normal

This looks like I need to add extra validation. Try adding a number in the "users per page" setting.

ajudson’s picture

i've tried filling the number of users per pgage, but get the same error. If i also try adding a block and setting the number of users per block, i get the follow error:

user warning: Incorrect integer value: '' for column 'field_length' ...

liquidcms’s picture

yes, i have the same issue - can't add a block - module is busted.

odd, maybe there are 5.2 core issues... this is about the 5th module i have found that doesn't work

i sort of get the sense that a lot of people are abandoning Drupal 5 and trying to head straight to 6 - hope not.. it will be at least 6 mo or more before 6 is ready to go.

wmostrey’s picture

Priority: Normal » Critical
wmostrey’s picture

Status: Active » Closed (won't fix)