collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Problems with MySQL error adding guests.  (Read 2338 times)

0 Members and 1 Guest are viewing this topic.

Offline detomb

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Problems with MySQL error adding guests.
« on: November 24, 2006, 09:56:59 pm »
When I try to add new guests now, this is what I get:

MySQL error (# 0) on query: INSERT guests (id) VALUES (1738987736)
Field 'timeadd' doesn't have a default value

This happened all of a sudden, and nothing has changed on bot/been restarted.
All old guests can still join and leave.

 ???   Any help would be appreciated :)

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Problems with MySQL error adding guests.
« Reply #1 on: November 27, 2006, 09:46:38 pm »
Sounds like "timeadd" requires a value and it's not adding one in the code. You could check the code to see whether it's putting a time() in the insert statement, or a variable with the timestamp stored.

You could also alter the table to make a default value for timeadd.
Eternalist
General of The Syndicate

Offline detomb

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Problems with MySQL error adding guests.
« Reply #2 on: November 27, 2006, 10:30:10 pm »
I might be missing something that's right infront of me here. But where is the code for this?

Nvm, it was right infront of me ;)
« Last Edit: November 27, 2006, 10:31:52 pm by detomb »

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 89
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal