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

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

Author Topic: Blacklist error  (Read 3627 times)

0 Members and 1 Guest are viewing this topic.

Offline Aesgaard

  • BeBot Apprentice
  • ***
  • Posts: 82
  • Karma: +0/-0
  • .:.Alpha.:.
Blacklist error
« on: October 21, 2007, 03:17:42 pm »
MySQL error (# 0) on query: SELECT * FROM betacom_blacklist WHERE expire > 0 AND
 expire < 1192972474
Table 'alpha.betacom_blacklist' doesn't exist

now what?.
-*tinkers*-

Offline Aesgaard

  • BeBot Apprentice
  • ***
  • Posts: 82
  • Karma: +0/-0
  • .:.Alpha.:.
Re: Blacklist error
« Reply #1 on: October 23, 2007, 01:23:56 am »
Still kinda waiting for an explanation as to why my bot is constantly spamming this or a sollution to fix/remove this problem (Somehow I think it includes manually creating a table but I'm not too familiar with mysql.)
-*tinkers*-

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: Blacklist error
« Reply #2 on: October 23, 2007, 05:54:35 am »
This is a module that fails to create the table it's using. I'll have a look into it right away. :)
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: Blacklist error
« Reply #3 on: October 23, 2007, 06:28:24 am »
It appears that you're in the odd situation where a setting has been created even if the table does not exist.

This is, as far as I can see, a deficiency in the table schema code. I'm pondering what will be the best way to fix this.

The first workaround that comes to mind is to force a table creation if the table does not exist however it might not be "the best way".

The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: Blacklist error
« Reply #4 on: October 23, 2007, 06:58:06 am »
There is untested code in the SVN that should handle the case where the setting has been created but the table is missing.
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Aesgaard

  • BeBot Apprentice
  • ***
  • Posts: 82
  • Karma: +0/-0
  • .:.Alpha.:.
Re: Blacklist error
« Reply #5 on: October 25, 2007, 08:42:31 am »
Untested codes? .. How do I get rid of the error ? :P
-*tinkers*-

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: Blacklist error
« Reply #6 on: October 29, 2007, 01:24:55 pm »
I'm sorry, I assumed you knew how to grab files from the SVN. If you have a look at the menu at the top-left of this page you'll find an entry for "Browse SVN" Then you navigate trough bebot->trunk->modules->Blacklist.php and click the "Download" link. Replace the file you've got with that one. Be sure to make a backup before grabbing the latest version from the SVN as the files in the SVN might be broken (even more broken than what's in the releases) :D

I hope that helps.
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Aesgaard

  • BeBot Apprentice
  • ***
  • Posts: 82
  • Karma: +0/-0
  • .:.Alpha.:.
Re: Blacklist error
« Reply #7 on: October 29, 2007, 01:32:17 pm »
Well, thanks, grabbed top module, got "creating database", got no more reccuring spam. <3
« Last Edit: October 29, 2007, 01:40:45 pm by Aesgaard »
-*tinkers*-

 

* Recent Posts
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 ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

* Who's Online
  • Dot Guests: 331
  • 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