Load time so far: 0.12 seconds. Performing query: SELECT id,title,url,description,rating,votes,validated,catid,sumofvotes,email,time,hits,numcomments,hide,ownerid,voterips,voterids,lastedit,type,notify,suspect,pendingedit,funds,suspended,alias,expire,ip,inalbum,typeorder,recipurl,hitsin,recipwith,hitsinips,hitsoutips,lastcomment,related,inhidden,viewers,threadviewers,hitsintemp,hitsouttemp,origtype,importance,parentids,timesdead,timesemailed,threadclosed,threadposters,lastposterid,lastpostername,ownername,deleted,deletionreason,movedto,deletedby,timevalidated,filefield,message,sticky,downloads,pollid,posticon,savedby,kiadoelado,helyseg,varos,ar,epitoanyag,alapterulet,kertmeret,epiteseve,szobaszam,felszobaszam,erkely,franciaerkely,futes,fekves,tajolas,komfort,lift,emeleten,parkolas,parkolasautok,lakasallapot,epuletallapot,extrak,butorozott,tourname FROM wsnlinks_links WHERE id=3 LIMIT 0,1;
Load time so far: 0.13 seconds. Performing query: SELECT id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,type,permissions,subscribers,subscriber,mixtypes,isalbum,orderlinks,totalcomments,ulsearchmax,ulsearchquery,ulsearchadult,alias,catcols,linkcols,dmozpath,sponsorlinks,views,customwrap,deleted,reqlinks,reqcoms,reqlinksdelay,priority,levelsdeep,lastposterid,lastpostername,lastcommenttime,lastthreadid,lastthreadtitle,linkshere,unvalidatedlinks,unvalidatedcomments,actaslink,countposts,subcatshtml FROM wsnlinks_categories WHERE id=4 ;
Load time so far: 0.13 seconds. Performing query: UPDATE wsnlinks_links SET deletedby='1' WHERE id=3;
Load time so far: 0.13 seconds. Performing query: SELECT id,type,objectid,filename,filetitle,filesize,width,height,memberid,time,deleted,field,downloads,validated FROM wsnlinks_attachments WHERE type='link' AND objectid=3 ;
Number of rows is 0 for Resource id #52
Load time so far: 0.13 seconds. Performing query: SELECT id,title,url,description,rating,votes,validated,catid,sumofvotes,email,time,hits,numcomments,hide,ownerid,voterips,voterids,lastedit,type,notify,suspect,pendingedit,funds,suspended,alias,expire,ip,inalbum,typeorder,recipurl,hitsin,recipwith,hitsinips,hitsoutips,lastcomment,related,inhidden,viewers,threadviewers,hitsintemp,hitsouttemp,origtype,importance,parentids,timesdead,timesemailed,threadclosed,threadposters,lastposterid,lastpostername,ownername,deleted,deletionreason,movedto,deletedby,timevalidated,filefield,message,sticky,downloads,pollid,posticon,savedby,kiadoelado,helyseg,varos,ar,epitoanyag,alapterulet,kertmeret,epiteseve,szobaszam,felszobaszam,erkely,franciaerkely,futes,fekves,tajolas,komfort,lift,emeleten,parkolas,parkolasautok,lakasallapot,epuletallapot,extrak,butorozott,tourname FROM wsnlinks_links WHERE id=3 LIMIT 0,1;
Load time so far: 0.14 seconds. Performing query: SELECT id,name,links,comments,time,usergroup,password,ip,totalhits,totalhitsin,email,validated,template,language,lastattempt,allowemail,signature,avatarname,stylesheet,allowuseremail,albumid,failedattempts,totalbytes,funds,notifyoflinks,lastvisit,timezone,rating,pmfolders,notifyofpms,acceptpms,cookieduration,banned,location,homepage,occupation,bio,aim,icq,msn,yahoo,inactive,timeonline,totalpms,buddies,ignored,isonline,acceptims,adminpermissions,referrer,groupreverttime,grouprevertto,moderationpm,secondarygroups,linksperpage,commentsperpage,shouts,customtitle,shoutban,topicbans,forumbans,visibility,birthdate,lastsession,interests,posteditor,forumaccess,pmpopup,pmnotify,modnotes,guestnotes,salt,lastmodnote,newpms,imflag,orderalbums,lastguestnote,autosubscribe,notifymethod,showavatars,showsigs,warninglevel,topics,posts,chatcolor FROM wsnlinks_members WHERE id=2 ;
Load time so far: 0.14 seconds. Performing query: SELECT COUNT(id) FROM wsnlinks_modlog WHERE type='member' AND nature='banned' AND memberid=0 ;
Count is 0
Load time so far: 0.14 seconds. Performing query: INSERT INTO wsnlinks_modlog(id,topicid,postid,type,nature,reason,moderatorid,source,destination,time,catid,memberid) VALUES('','3','0','topic','deletion','','1','0','0','1141856693','4','0');
Load time so far: 0.14 seconds. Performing query: SELECT id,name,links,comments,time,usergroup,password,ip,totalhits,totalhitsin,email,validated,template,language,lastattempt,allowemail,signature,avatarname,stylesheet,allowuseremail,albumid,failedattempts,totalbytes,funds,notifyoflinks,lastvisit,timezone,rating,pmfolders,notifyofpms,acceptpms,cookieduration,banned,location,homepage,occupation,bio,aim,icq,msn,yahoo,inactive,timeonline,totalpms,buddies,ignored,isonline,acceptims,adminpermissions,referrer,groupreverttime,grouprevertto,moderationpm,secondarygroups,linksperpage,commentsperpage,shouts,customtitle,shoutban,topicbans,forumbans,visibility,birthdate,lastsession,interests,posteditor,forumaccess,pmpopup,pmnotify,modnotes,guestnotes,salt,lastmodnote,newpms,imflag,orderalbums,lastguestnote,autosubscribe,notifymethod,showavatars,showsigs,warninglevel,topics,posts,chatcolor FROM wsnlinks_members WHERE id=1 ;
Fatal error: Cannot instantiate non-existent class: pm in /home/jfeedwav/public_html/classes/modlog.php on line 240
No idea why it cannot find the link in the database, when it is clearly there. What is it trying to do with the modlogs??
It doesn't say anything about links or databases, it says it can't find the PM class because you have PMs switched off, and yet somehow someone has requested PM notification of moderator actions. Fixed for 3.3.9.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on modlog.php error on link deletion
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Hey Paul,
I got this when trying to delete a link:
Load time so far: 0.12 seconds.
Performing query: SELECT id,title,url,description,rating,votes,validated,catid,sumofvotes,email,time,hits,numcomments,hide,ownerid,voterips,voterids,lastedit,type,notify,suspect,pendingedit,funds,suspended,alias,expire,ip,inalbum,typeorder,recipurl,hitsin,recipwith,hitsinips,hitsoutips,lastcomment,related,inhidden,viewers,threadviewers,hitsintemp,hitsouttemp,origtype,importance,parentids,timesdead,timesemailed,threadclosed,threadposters,lastposterid,lastpostername,ownername,deleted,deletionreason,movedto,deletedby,timevalidated,filefield,message,sticky,downloads,pollid,posticon,savedby,kiadoelado,helyseg,varos,ar,epitoanyag,alapterulet,kertmeret,epiteseve,szobaszam,felszobaszam,erkely,franciaerkely,futes,fekves,tajolas,komfort,lift,emeleten,parkolas,parkolasautok,lakasallapot,epuletallapot,extrak,butorozott,tourname FROM wsnlinks_links WHERE id=3 LIMIT 0,1;
Load time so far: 0.13 seconds.
Performing query: SELECT id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,type,permissions,subscribers,subscriber,mixtypes,isalbum,orderlinks,totalcomments,ulsearchmax,ulsearchquery,ulsearchadult,alias,catcols,linkcols,dmozpath,sponsorlinks,views,customwrap,deleted,reqlinks,reqcoms,reqlinksdelay,priority,levelsdeep,lastposterid,lastpostername,lastcommenttime,lastthreadid,lastthreadtitle,linkshere,unvalidatedlinks,unvalidatedcomments,actaslink,countposts,subcatshtml FROM wsnlinks_categories WHERE id=4 ;
Load time so far: 0.13 seconds.
Performing query: UPDATE wsnlinks_links SET deletedby='1' WHERE id=3;
Load time so far: 0.13 seconds.
Performing query: SELECT id,type,objectid,filename,filetitle,filesize,width,height,memberid,time,deleted,field,downloads,validated FROM wsnlinks_attachments WHERE type='link' AND objectid=3 ;
Number of rows is 0 for Resource id #52
Load time so far: 0.13 seconds.
Performing query: SELECT id,title,url,description,rating,votes,validated,catid,sumofvotes,email,time,hits,numcomments,hide,ownerid,voterips,voterids,lastedit,type,notify,suspect,pendingedit,funds,suspended,alias,expire,ip,inalbum,typeorder,recipurl,hitsin,recipwith,hitsinips,hitsoutips,lastcomment,related,inhidden,viewers,threadviewers,hitsintemp,hitsouttemp,origtype,importance,parentids,timesdead,timesemailed,threadclosed,threadposters,lastposterid,lastpostername,ownername,deleted,deletionreason,movedto,deletedby,timevalidated,filefield,message,sticky,downloads,pollid,posticon,savedby,kiadoelado,helyseg,varos,ar,epitoanyag,alapterulet,kertmeret,epiteseve,szobaszam,felszobaszam,erkely,franciaerkely,futes,fekves,tajolas,komfort,lift,emeleten,parkolas,parkolasautok,lakasallapot,epuletallapot,extrak,butorozott,tourname FROM wsnlinks_links WHERE id=3 LIMIT 0,1;
Load time so far: 0.14 seconds.
Performing query: SELECT id,name,links,comments,time,usergroup,password,ip,totalhits,totalhitsin,email,validated,template,language,lastattempt,allowemail,signature,avatarname,stylesheet,allowuseremail,albumid,failedattempts,totalbytes,funds,notifyoflinks,lastvisit,timezone,rating,pmfolders,notifyofpms,acceptpms,cookieduration,banned,location,homepage,occupation,bio,aim,icq,msn,yahoo,inactive,timeonline,totalpms,buddies,ignored,isonline,acceptims,adminpermissions,referrer,groupreverttime,grouprevertto,moderationpm,secondarygroups,linksperpage,commentsperpage,shouts,customtitle,shoutban,topicbans,forumbans,visibility,birthdate,lastsession,interests,posteditor,forumaccess,pmpopup,pmnotify,modnotes,guestnotes,salt,lastmodnote,newpms,imflag,orderalbums,lastguestnote,autosubscribe,notifymethod,showavatars,showsigs,warninglevel,topics,posts,chatcolor FROM wsnlinks_members WHERE id=2 ;
Load time so far: 0.14 seconds.
Performing query: SELECT COUNT(id) FROM wsnlinks_modlog WHERE type='member' AND nature='banned' AND memberid=0 ;
Count is 0
Load time so far: 0.14 seconds.
Performing query: INSERT INTO wsnlinks_modlog(id,topicid,postid,type,nature,reason,moderatorid,source,destination,time,catid,memberid) VALUES('','3','0','topic','deletion','','1','0','0','1141856693','4','0');
Load time so far: 0.14 seconds.
Performing query: SELECT id,name,links,comments,time,usergroup,password,ip,totalhits,totalhitsin,email,validated,template,language,lastattempt,allowemail,signature,avatarname,stylesheet,allowuseremail,albumid,failedattempts,totalbytes,funds,notifyoflinks,lastvisit,timezone,rating,pmfolders,notifyofpms,acceptpms,cookieduration,banned,location,homepage,occupation,bio,aim,icq,msn,yahoo,inactive,timeonline,totalpms,buddies,ignored,isonline,acceptims,adminpermissions,referrer,groupreverttime,grouprevertto,moderationpm,secondarygroups,linksperpage,commentsperpage,shouts,customtitle,shoutban,topicbans,forumbans,visibility,birthdate,lastsession,interests,posteditor,forumaccess,pmpopup,pmnotify,modnotes,guestnotes,salt,lastmodnote,newpms,imflag,orderalbums,lastguestnote,autosubscribe,notifymethod,showavatars,showsigs,warninglevel,topics,posts,chatcolor FROM wsnlinks_members WHERE id=1 ;
Fatal error: Cannot instantiate non-existent class: pm in /home/jfeedwav/public_html/classes/modlog.php on line 240
No idea why it cannot find the link in the database, when it is clearly there. What is it trying to do with the modlogs??
Thanks
David
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It doesn't say anything about links or databases, it says it can't find the PM class because you have PMs switched off, and yet somehow someone has requested PM notification of moderator actions. Fixed for 3.3.9.