PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehler bei userupdate nach einbau user custompage hack



McDylan
30.01.2003, 15:07
Hallo,

habe einen error beim updaten der userdaten nach dem einbau des hacks..die stelle die es betrifft sieht so aus:


mysql error: You have an error in your SQL syntax near 'enablecustompage=1,birthday='0000-00-00',options='15',usergroupid='19',username=' at line 1


ich tippe mal das es an dem liegt: enablecustompage=1

die ganze zeile sieht so aus in der adimn/user.php

$DB_site->query("UPDATE user SET away='$away',awaydate=$awaydate,returndate='$returndate',awayreason='".addslashes(htmlspecialchars($awayreason))."'enablecustompage=$enablecustompage,birthday='$birthday',options='$options',usergroupid='$usergroupid',username='".addslashes(htmlspecialchars($ausername))."'$pwdinclude,email='".addslashes(htmlspecialchars($email))."',styleid='$userstyleid',parentemail='".addslashes(htmlspecialchars($parentemail))."',coppauser=$coppauser,homepage='".addslashes(htmlspecialchars($homepage))."',icq='".addslashes(htmlspecialchars($icq))."',aim='".addslashes(htmlspecialchars($aim))."',yahoo='".addslashes(htmlspecialchars($yahoo))."',signature='".addslashes($signature)."',adminemail=$adminemail,showemail=$showemail,invisible=$invisible,usertitle='".addslashes($usertitle)."',customtitle=$customtitle,joindate=$joindate,cookieuser=$cookieuser,nosessionhash=$nosessionhash,daysprune='$daysprune',lastvisit=$lastvisit,lastacti vity=$lastactivity,lastpost=$lastpost,posts='$posts',timezoneoffset='$timezoneoffset',emailnotification=$emailnotification,receivepm='$receivepm',emai lonpm='$emailonpm',ipaddress='".addslashes($aipaddress)."',pmpopup=IF(pmpopup=2 AND $pmpopup=1,pmpopup,'$pmpopup') WHERE userid=$userid");



jemand eine idee woran es liegen kann?

martin
30.01.2003, 15:14
setz mal ein komma vor enablecustompage=1.

McDylan
30.01.2003, 15:19
Danke dir für die schnelle antwort

und das wars auch :) jetzt geht wieder alles

GROSSEN DANK für die schnelle antwort

McDylan
30.01.2003, 15:46
Wies aussah lags wohl wirklich an dem komma .. auf jedenfall funzt jetzt alles wieder :)