TBDev Forum
Programming board
Main Page Forum Rules Privacy Policy Members Contact Us
Welcome Guest (Login | Register)
TBDev Forum TBDev.net - Help *nix based Installations Modtash sh*t ;(
Page 1 2

Modtash sh*t ;(

2007-02-13 13:12:00
Group: Member
Posts: 66
Topics participated: 46
Topics started: 20
First post: 2006-12-23 20:43:00
Last post: 2008-05-27 14:59:00
Hi there im having this stupid error
SQL Error
Duplicate entry '' for key 2

in /usr/local/psa/home/vhosts/adv.lathost.lv/httpdocs/modtask.php, line 155

when im trying to edit user as moderator! It works for admins and above ! here is my line 155:
SQL
mysql_query("UPDATE users SET " . implode(", ", $updateset) . " WHERE id=$userid") or sqlerr(__FILE__, __LINE__);

i cant figure out where is the problem :( please help me!
 
2007-02-13 13:48:00
Group: Member
Posts: 2
Topics participated: 2
Topics started: 1
First post: 2006-12-28 14:47:00
Last post: 2007-02-13 13:48:00
i have the same problem
 
2007-02-13 19:02:00
Group: Member
Posts: 1462
Topics participated: 667
Topics started: 22
First post: 2006-02-25 13:08:00
Last post: 2008-12-29 14:13:00
you need to check the staff class setting it usersetails, in the staff edit section.
 
2007-02-14 02:24: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
Search for the answer, its been fixed by adding input type hidden
 
2007-02-14 00:51:00
Group: Member
Posts: 66
Topics participated: 46
Topics started: 20
First post: 2006-12-23 20:43:00
Last post: 2008-05-27 14:59:00
sorry i didnt understand you i attached my modtask.php and userdetails.php could you please correct them and post back please?
 
2007-02-14 14:24:00
Group: Member
Posts: 1462
Topics participated: 667
Topics started: 22
First post: 2006-02-25 13:08:00
Last post: 2008-12-29 14:13:00


that will get you started.. as dokty said, you need type hidden function adding
 
2007-02-14 21:26:00
Group: Member
Posts: 328
Topics participated: 179
Topics started: 48
First post: 2006-02-25 15:11:00
Last post: 2008-09-10 12:19:00
or if you want to see where it came from try here




so nice to give ppl credit isnt it Wilba ?
 
2007-02-14 21:30:00
Group: Member
Posts: 1462
Topics participated: 667
Topics started: 22
First post: 2006-02-25 13:08:00
Last post: 2008-12-29 14:13:00
sure is, isn`t it
 
2007-02-14 21:51:00
Group: Member
Posts: 328
Topics participated: 179
Topics started: 48
First post: 2006-02-25 15:11:00
Last post: 2008-09-10 12:19:00
sure is, isn`t it




maybe you should try it somethime ea......? instead of just biting off others
 
2007-02-14 22:19:00
Group: Member
Posts: 1462
Topics participated: 667
Topics started: 22
First post: 2006-02-25 13:08:00
Last post: 2008-12-29 14:13:00
do you have an issue with me or somethink?

seem that everytime i make a post , even if not given credits where due, you are the only one that seem to jump on my back..

or maybe it would better if i didnt post at all or better still not visit here..

not that i contribute much here now, as all my modded codes i dont post anymore, but still like to help those the require it..
 

Similar threads

Topic Posts Last post
No similar threads