HELP!!!

Started by Kesh
25/02/2007 23:14
Page 1 of 1
Kesh25/02/2007 23:14

i have big problem with demos.php on my website...When i put everything and make settings right and then i open site click on demos .. and have this error Fatal error: Call to undefined function: dbquery() in /home/hosting/website/web/demos.php on line 33
And then i open with notepad demos.php in line 33 see this $result = dbquery("SELECT * FROM demos ORDER BY ID ASC, map ASC , map ASC");
how to make right to working .. please help me.
P.S. VERRY sorry for my bad english :( :(

FLR25/02/2007 23:38

I am not good on php, yet. But i might give a suggestion?
Test to only have one "map ASC" in the query.

ichirou26/02/2007 00:39(edited 18/08/2010 16:22)

I don't know php coding at all.. but:
"Call to undefined function: dbquery() in /home/hosting/website/web/demos.php on line 33 "

Does clearly say that there doesn't exist a function called 'dbquery()'

and this :"dbquery("SELECT * FROM demos ORDER BY ID ASC, map ASC , map ASC"); "
calls that function that apperantly doesn't exist so it makes an error. Maybe it does exist but you've provided it with more parameters than it actually have (like f1ay3r said).

Or you don't have a funtion called dbquery? :D

Edit: Search for dbquery and see what it takes for parameters and then edit that line to fit it
[ Edited Mon Feb 26 2007, 12:40AM ]

Fatalis26/02/2007 01:30

e107 uses it's own mysql query function called db_Query(). If you're not using e107, use mysql_query().
You should ask the person you got the script from for the dbquery function.

Kesh26/02/2007 15:33

i use e107

Kesh26/02/2007 15:50

I don't know php coding at all.. but:
"Call to undefined function: dbquery() in /home/hosting/website/web/demos.php on line 33 "

Does clearly say that there doesn't exist a function called 'dbquery()'

and this :"dbquery("SELECT * FROM demos ORDER BY ID ASC, map ASC , map ASC"); "
calls that function that apperantly doesn't exist so it makes an error. Maybe it does exist but you've provided it with more parameters than it actually have (like f1ay3r said).

Or you don't have a funtion called dbquery? :D

Edit: Search for dbquery and see what it takes for parameters and then edit that line to fit it

ichirou


I find in this line that: $result = dbquery("SELECT * FROM demos ORDER BY ID ASC, map ASC, map ASC");

Kesh26/02/2007 16:15

i can paste full php file code if somebody want see and help me ...

Kesh26/02/2007 20:52

that thered now can be closed cuz i'm rdy :) All workin normal

Kesh26/02/2007 20:52

thanks to all

Page 1 of 1

Please log in to post replies.