Firefox PHP

Error: verifying new user by moderator

Posted by hjp 
hjp
Error: verifying new user by moderator
September 28, 2007 12:37PM
There is an error, when a new user should be verifyed by a moderator.

Event logging entry says:

PHP error: phorum_api_user_save(): Illegal field name used in user data: vroot

details:

Function trigger_error called at
{path to Phorum}/include/api/user.php:415
----
Function phorum_api_user_save called at
{path to Phorum}/include/controlcenter/users.php:63
----
Function include called at
{path to Phorum}/control.php:201

Regards
Re: Error: verifying new user by moderator
September 28, 2007 12:53PM
thats in an unmodified phorum?
I'm asking because I don't see any chance that vroot can slip in there.
Only user_id and active are set to the user in that file and userdata is initialized empty.


Thomas Seifert
Re: Error: verifying new user by moderator
September 28, 2007 12:58PM
Did you try out the virtual hosting module? That one adds a field to the user table. If you disable the virtual hosting module after that, this error will occur. That is because Phorum 5.2 is very strict about the user data fields. The virtual hosting module explicitly tells Phorum that "vroot" is a valid field.

If you don't need the virtual hosting module anymore, then you can drop the "vroot" field from the "phorum_users" table. E.g. by running the query:
ALTER TABLE phorum_users
DROP COLUMN vroot;


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
hjp
Re: Error: verifying new user by moderator
September 29, 2007 03:03AM
Yes, I´ve tried the vroot-mod. Now everthing works fine.
Thank you guys, have a nice weekend
Sorry, only registered users may post in this forum.

Click here to login