PDA

View Full Version : In admin, I can't add a user


Willard Reece
09-26-2002, 06:30 PM
I have 3 hacks installed and vportal and somewhere in time the admin add new user function is erroring out now.
See the vp/forums twice below in the url.
I can't find where that is called from.That might be my prob.
Anyone have any idea's for me????


mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Thursday 26th of September 2002 01:24:39 PM
Script: .http://xxxxxxxxx.com/vp/forums/vp/forums/admin/user.ph

Xenon
09-26-2002, 06:33 PM
the ammount of values isn't correct

check your user.php
the line which starts like:
$DB_site->query("INSERT INTO user ....

Willard Reece
09-26-2002, 06:45 PM
I not see what you are saying about the amount.

heres the user.php can you look at it?

Xenon
09-26-2002, 06:52 PM
you are not allowed to post full vb files here

neverthelesser line 165 you have the columns: receivebulletin,receivebulletin_type,showemail

but just these values:
'$receivebulletin','$showemail'

Willard Reece
09-26-2002, 07:00 PM
So you are saying that the install file I used for the news and Email Community Bulletin Generator didn't put in the code right.

I didn't make these changes, the install added these.

So I guess my ? is without uninstalling it what do I need to put in?

Xenon
09-26-2002, 07:02 PM
well you should ask this in the supportthread, i don't know the hack very well... (just the title ;))

Willard Reece
09-26-2002, 07:56 PM
I had posted over at the area where I got the hack from and will try posting agin there to see if anyone will respond.

Willard Reece
09-26-2002, 08:01 PM
But by the way...
You said ,
should ask this in the supportthread

Isn't this the support thread...???

Xenon
09-26-2002, 08:10 PM
no the supportthread of the hack ;)