Hi and thank you for this module,
I'm trying to install the reg_with_pic module and I've got this error on the user/register page after choosing the membership type:
htmlspecialchars() expects parameter 1 to be string, array given in /home/rafik/test/includes/bootstrap.inc on line 631
Besides, the picture is not uploaded during the registration process whereas all the rest of the information is POSTed, submitted.
I'm using nf_registration_mod module with pageroute, account types and node profile modules.
Thank you for your help
Rafik
Comments
Comment #1
rconstantine commentedLooking at the code of the module you mention, I don't see anything that shouldn't work with my module. Could you install the devel module and activate the backtrace feature, then try to generate the error you mentioned again?
If you aren't familiar with backtrace, here is how it works: when you run into an error, the error will be listed at the top of the screen. Below it, will be listed, in reverse order, the function calls that were made which resulted in the error. A review of these functions will not only tell you which module made the call, but which function and on what line number, and with what parameters. It's very useful. You don't need to copy the whole thing for me. Just the lines pertaining to this module. If you find that no function from this module is causing the problem, then you'll have to take up the issue with the module that is.
Comment #2
yhager commentedSee http://drupal.org/node/197685
Comment #3
rconstantine commentedFor those who find this later - the problem was with the nodeprofile module, a dependency of this module, but yhager fixed register_with_pictures to work around it.