TBDev Forum
Programming board
Main Page Forum Rules Privacy Policy Members Contact Us
Welcome Guest (Login | Register)
TBDev Forum TBDev.net - Help General Support I have an error!!

I have an error!!

2007-12-29 19:26:00
Group: Member
Posts: 118
Topics participated: 48
Topics started: 40
First post: 2007-12-28 15:42:00
Last post: 2008-12-15 15:33:00
Hi

I have an error!
I take an upload when click the upload button I have an error:
SQL Error 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 'WHERE id = 2' at line 1 in /var/www/darak/include/functions.php, line 73

Line 73:
sql_query("UPDATE users SET seedbonus = seedbonus$type$point WHERE id = ".sqlesc($id)) or sqlerr(__FILE__, __LINE__);


Thanx for help!!
 
2007-12-29 19:29:00
Group: Member
Posts: 2607
Topics participated: 1470
Topics started: 2
First post: 2006-07-10 10:45:00
Last post: 2008-06-13 17:08:00
what source are u using?
 
2007-12-29 19:31:00
Group: Member
Posts: 185
Topics participated: 112
Topics started: 2
First post: 2007-06-24 13:27:00
Last post: 2008-12-28 05:34:00
this is the problem:
seedbonus = seedbonus$type$point


do you have defined $type and $point ?
 
2007-12-29 19:34:00
Group: Member
Posts: 118
Topics participated: 48
Topics started: 40
First post: 2007-12-28 15:42:00
Last post: 2008-12-15 15:33:00
this is the problem:
seedbonus = seedbonus$type$point


do you have defined $type and $point ?


I'm using the original karma bonus point system!!
 
2007-12-29 20:17:00
Group: Member
Posts: 2607
Topics participated: 1470
Topics started: 2
First post: 2006-07-10 10:45:00
Last post: 2008-06-13 17:08:00
b4 we help you to solve this problem, it looks by ur error that u using xam source, is it true? cuz tbdev source doesnt have functions.php
so what source are u using?
 
2007-12-29 21:29:00
Group: Member
Posts: 118
Topics participated: 48
Topics started: 40
First post: 2007-12-28 15:42:00
Last post: 2008-12-15 15:33:00
b4 we help you to solve this problem, it looks by ur error that u using xam source, is it true? cuz tbdev source doesnt have functions.php
so what source are u using?


Yes!! I use xam source!!
 

Similar threads

Topic Posts Last post
Error: Tracker Response Error:invalid peer_id (19 1 2006-05-14 00:28:00
Error: Tracker Response Error:Invalid peer_id 5 2006-03-08 19:34:00
Error: Tracker Response Error:Invalid peer_id 5 2006-10-24 20:11:00
Error: Tracker Response Error torrent not register.... 1 2007-07-09 23:55:00
Error on Users.php [sql error] 3 2008-08-22 00:21:00