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

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

Author Topic: [0.3.4] Errors  (Read 2050 times)

0 Members and 1 Guest are viewing this topic.

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
[0.3.4] Errors
« on: June 11, 2007, 02:44:31 pm »
Code: [Select]
Bugy [2007-06-11 12:33:52]      [TELL]  [INC]   Parazitul: !flexible
MySQL error (# 0) on query: SELECT t2.gid, name, description, access_level, cond
ition FROM security_flexible AS t1, security_groups AS t2 WHERE t1.field = 'join
' AND t1.gid = t2.gid ORDER BY access_level DESC, name ASC
You have an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near 'condition FROM security_f
lexible AS t1, security_groups AS t2 WHERE t1.field = '' at line 1


I havent edited anything on it, just downloaded and runned.
I dont really get it how this Flexible module works so i wont bother with finding a solution.

i'll post more when i find them.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: [0.3.4] Errors
« Reply #1 on: June 11, 2007, 03:03:20 pm »
I can only guess that condition is a reserved word in mysql 5 or something like that, as I don't have any errors there.

Try replacing the line SELECT t2.gid, name, description, access_level, condition FROM #___security_flexible with SELECT t2.gid, name, description, access_level, `condition` FROM #___security_flexible (note the added `).

PS: that will just resolve that single error, as condition is used in almost every query though it won't get the module running. It's just a test to see if that is the error.
« Last Edit: June 11, 2007, 03:09:02 pm by Alreadythere »

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: [0.3.4] Errors
« Reply #2 on: June 11, 2007, 09:34:59 pm »
yeah the error disapeared now

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: [0.3.4] Errors
« Reply #3 on: June 11, 2007, 09:48:35 pm »
Thanks, fixed in SVN.

 

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


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 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: 684
  • 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