mekro
03-15-2005, 07:40 AM
Hi
I upgraded from zero's warning script to this one everything went fine however i am getting the following errors:
Invalid SQL: select w.*,u.username as wusername,u.userid as wuserid,wt.*, wrn.username as warnername, wrn.userid as warnerid, ruser.username as removed_by_v, (w.warned_time+wt.warn_maturity*24*60*60) AS maturitydate from
vb_warnings w
left join vb_user u on(u.userid=383)
left join vb_user wrn on(wrn.userid=w.warned_by)
left join vb_user ruser on(ruser.userid=w.removed_by)
left join vb_warning_types wt on(wt.tid=w.warned_warning_id)
where w.warned_user='383' order by w.warned_time
mysql error: Unknown column 'w.removed_by' in 'on clause'
mysql error number: 1054
Invalid SQL: select * from vb_warnings where warned_post='12321' AND warned_status='A'
mysql error: Unknown column 'warned_status' in 'where clause'
mysql error number: 1054
also when i try to view or warn a member the warn.php page is completely blank.
any help please.
Kirk
I upgraded from zero's warning script to this one everything went fine however i am getting the following errors:
Invalid SQL: select w.*,u.username as wusername,u.userid as wuserid,wt.*, wrn.username as warnername, wrn.userid as warnerid, ruser.username as removed_by_v, (w.warned_time+wt.warn_maturity*24*60*60) AS maturitydate from
vb_warnings w
left join vb_user u on(u.userid=383)
left join vb_user wrn on(wrn.userid=w.warned_by)
left join vb_user ruser on(ruser.userid=w.removed_by)
left join vb_warning_types wt on(wt.tid=w.warned_warning_id)
where w.warned_user='383' order by w.warned_time
mysql error: Unknown column 'w.removed_by' in 'on clause'
mysql error number: 1054
Invalid SQL: select * from vb_warnings where warned_post='12321' AND warned_status='A'
mysql error: Unknown column 'warned_status' in 'where clause'
mysql error number: 1054
also when i try to view or warn a member the warn.php page is completely blank.
any help please.
Kirk