11
Mithrandir
Re: "Could not register new user"

Did you in kernel/user.php also put in the 'karma' field in the first brackets?

Actually I think you should be able to do this without changing the kernel/user.php simply by setting a default value on the karma field to zero in the database.

12
biomech
Re: "Could not register new user"
  • 2004/7/21 8:53

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Quote:

Mithrandir wrote:
Did you in kernel/user.php also put in the 'karma' field in the first brackets?


Yes, as I pasted above (if that is what you mean by 'first brackets'.

Quote:

Actually I think you should be able to do this without changing the kernel/user.php simply by setting a default value on the karma field to zero in the database.


Well, I did have 0 as the default value of the 'karma' field in the database, but I guess it was me trying to implement the change manually in user.php that did it. I just took out 'karma' and the corresponding '0' from the INSERT statement and that fixed it!! I shouldn't have touched user.php in the first place - guess I thought I needed to do that when I first "implemented" the karma function.

Thanks a lot for your guidance.

- b -


Login

Who's Online

245 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 245


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits