Moin Com.
Nun ich hab Folgendes Problem.
[color=#FF0000][b]Der Fehler:[/b][/color]
gangareas.lua:112: Bad argument @ 'dbPol[3;1Hl' [Expected db-query at argument 1, got boolean]
[color=#008000][b]Die Zeile:[/b][/color]
local result = dbPoll ( dbQuery ( handler, "SELECT * from gangs WHERE Aktiviert = ?", "1" ), -1 )
[color=#FF0000][b]Der Fehler:[/b][/color]
gangareas.lua:113: attempt to get length o[5;1Hf local 'result' (a boolean value)
[color=#008000][b]Die Zeile:[/b][/color]
for i=1, #result do
[color=#008000][b][color=#FF0000]Der Fehler:[/color][/b][/color]
fdepots.lua:30: Bad argument @ 'dbQuery'[7;2H[Expected db-connection at argument 1, got boolean]
fdepots.lua:30: Bad argument @ 'dbPoll'[Expected db-query at argument 1, got boolean]
[color=#008000][b]Die Zeile:[/b][/color]
local dsatz = dbPoll ( dbQuery ( handler, "SELECT * FROM fraktionen" ), -1 )
[color=#FF0000][b]Der Fehler:[/b][/color]
fdepots.lua:31: attempt to get length of l[11;1Hocal 'dsatz' (a boolean value)
[color=#008000][b]Die Zeile:[/b][/color]
for i=1, #dsatz do
[color=#FF0000][b]Der Fehler:[/b][/color]
houses_mysql.lua:119: Bad argument @ 'dbQu[13;1Hery' [Expected db-connection at argument 1, got boolean]
houses_mysql.lua:119: Bad argument @ 'dbPo[15;1Hll' [Expected db-query at argument 1, got boolean]
[color=#008000][b]Die Zeile:[/b][/color]
local result = dbPoll ( dbQuery ( handler, "SELECT * FROM houses" ), -1 )
[color=#FF0000][b]Der Fehler:[/b][/color]
mysql_functions.lua:14: Bad argument @ 'dbPol[22;1Hl' [Expected db-query at argument 1, got boolean]
mysql_functions.lua:14: Bad argument @ 'dbQue[20;1Hry' [Expected db-connection at argument 1, got boolean]
[color=#008000][b]Die Zeile:[/b][/color]
local result = dbPoll ( dbQuery ( handler, "SELECT * from biz" ), -1 )
local gMysqlHost = "127.0.0.1"
local gMysqlPass = "kd.............."
local gMysqlPass = "v....................."
local gMysqlDatabase = "v................"
(Die Punkte sind nur zur Verschleierung der richtigen Daten.)
Der Server läuft über einen Hoster.Dort steht wenn ich bei MySQL drauf Klicke folgende Sachen:
DB User: kd...............
DB Name: v.......................
DB Passwort: v.......................
DB IP:Port mysql............................
DB Verwaltung: phpmyadmin...........................
Ich bedanke mich schon mal für die Hilfe.
Mit Freundlichen Grüßen
TechTraxx