First, sorry for my pesim inglish.

I have a problem with usernodes, this not created when the new user are registered, and also aren't created and existing user.
When i just installed this drupal this is not happening, but not when it started to happen, but i change some code of profile module, for insert a select list in registrer form, i create a new two register forms (users and advanced users) ..., but i removed all change and continuously passing.

Also i reinstall a usernode module, and I also tested executed the function usernode_update_node($user), this function checks if the usernode are created, but it does not work, this not return a error.

Comments

hawk007’s picture

I have this errors in watchdog when i create a new user:

-mysql_real_escape_string() expects parameter 1 to be string, array given a /nfs/html/....../includes/database.mysql.inc en la línia 400.

-array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer a /nfs/html/......./modules/cck/userreference.module en la línia 84.

hawk007’s picture

I found the problem, when the module userreference is off it all works well, creating the usernodes.

I don't undestand, What is the relation of de userreference to usernode?

hawk007’s picture

Status: Active » Fixed

The problem was that he had gotten a field userreference in the type of content usernode, why did not create the usernode.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nimrod98’s picture

I have had the EXACT same problem! This should be posted in the readme or something, so people will NOT repeat the same mistake and go through the whole debugging process. Thanks