Webmastersite.net
Register Log In

Fatal Error

Comments on Fatal Error

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Aug 25, 2007 - 10:16 AM:

Fatal error: Cannot instantiate non-existent class: modlog in /home/thehorse/public_html/classes/onelink.php on line 406

I am occasionally getting the above error on a page after upgrading from 4.0.32, when I refresh it was then ok, but now the javascript export I use for the menu shows this error. I use this same js export on other sites with no prob.

[edit] This problem is intermittent. Went on this morning no problems, no errors. Went on again a couple of minutes later and got the error.

Debug:

Load time so far: 0.18 seconds.




Query 6: SELECT `original`,`replacement`,`description`,`id`,`sortorder` FROM wsnlinks_markup WHERE type='smilie' ORDER BY sortorder

Number of rows is 14

Query 7: LOCK TABLES wsnlinks_email WRITE, wsnlinks_links WRITE, wsnlinks_categories WRITE, wsnlinks_members WRITE

Load time so far: 0.18 seconds.




Query 8: SELECT `id`,`to`,`subject`,`message`,`headers`,`replacement`,`mime` FROM wsnlinks_email WHERE timesent=0 ORDER BY id ASC LIMIT 0,10

Number of rows is 0

Query 9: UNLOCK TABLES

Load time so far: 0.18 seconds.




Query 10: SELECT `id` FROM wsnlinks_links WHERE recipurl='http://www.thehorsescene.co.uk/admin/prefs.php?section=server&filled=1'

Number of rows is 0

Load time so far: 0.19 seconds.




Query 11: 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`,`location`,`articletext`,`copyright`,`validatedemail`,`unpaid`,`recipverified`,`effectivetime`,`sugcatid`,`pagerank`,`wysihtml`,`movedid`,`unrevised`,`feedurl`,`feedcache`,`feedcachetime`,`author`,`keywords`,`smallbanner`,`banner`,`price`,`promotiontext`,`advertiser`,`imageurl`,`deeplink`,`contact`,`tel`,`tags`,`xmlsource`,`ordercomments`,`lastpadupdate`,`padfile`,`lastmonthlycheck`,`invisibleto`,`profileurl`,`lastprofileurl`,`otherbannerattach` FROM wsnlinks_links WHERE type='recip' AND deleted=0 AND recipverified=1 AND lastmonthlycheck < 1185470084 ORDER BY lastmonthlycheck ASC LIMIT 0,1

Number of rows is 0

Load time so far: 0.19 seconds.




Query 12: 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`,`location`,`articletext`,`copyright`,`validatedemail`,`unpaid`,`recipverified`,`effectivetime`,`sugcatid`,`pagerank`,`wysihtml`,`movedid`,`unrevised`,`feedurl`,`feedcache`,`feedcachetime`,`author`,`keywords`,`smallbanner`,`banner`,`price`,`promotiontext`,`advertiser`,`imageurl`,`deeplink`,`contact`,`tel`,`tags`,`xmlsource`,`ordercomments`,`lastpadupdate`,`padfile`,`lastmonthlycheck`,`invisibleto`,`profileurl`,`lastprofileurl`,`otherbannerattach` FROM wsnlinks_links WHERE ((time < 1187889284 && lastmonthlycheck = 0) || lastmonthlycheck < 1187889284) AND deleted=0 AND recipverified=0 AND type='recip'

Number of rows is 3

Load time so far: 0.2 seconds.




Query 13: 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`,`breedorigins`,`breeddescription`,`breedtemperament`,`breedcolour`,`breedsize`,`breeduses`,`photoattach`,`photocredit`,`linksperpage`,`wysihtml`,`numonline`,`keywords`,`profile`,`profilehelp`,`sponsorship`,`lastprofileurl` FROM wsnlinks_categories WHERE id=57

Load time so far: 0.34 seconds.




Query 14: UPDATE wsnlinks_links SET deletedby=Ƈ' WHERE id=13

Load time so far: 0.34 seconds.




Query 15: SELECT COUNT(id) FROM wsnlinks_links WHERE alias=13

Count is 1


Load time so far: 0.35 seconds.




Query 16: UPDATE wsnlinks_links SET deletedby=Ƈ' WHERE alias=13

Load time so far: 0.35 seconds.




Query 17: 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`,`breedorigins`,`breeddescription`,`breedtemperament`,`breedcolour`,`breedsize`,`breeduses`,`photoattach`,`photocredit`,`linksperpage`,`wysihtml`,`numonline`,`keywords`,`profile`,`profilehelp`,`sponsorship`,`lastprofileurl` FROM wsnlinks_categories WHERE id=57

Load time so far: 0.35 seconds.




Query 18: SELECT `id`,`type`,`objectid`,`filename`,`filetitle`,`filesize`,`width`,`height`,`memberid`,`time`,`deleted`,`field`,`downloads`,`validated`,`ownerip`,`catid` FROM wsnlinks_attachments WHERE type='link' AND objectid=13

Number of rows is 0


Fatal error: Cannot instantiate non-existent class: modlog in /home/thehorse/public_html/classes/onelink.php on line 406


Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 26, 2007 - 1:54 PM:

It's trying to delete a link which has an attachment. I don't know of any script process involving deleting links (other than the obvious process of deleting links), so I can't imagine how that would happen.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Aug 26, 2007 - 10:16 PM:

Paul wrote:
It's trying to delete a link which has an attachment. I don't know of any script process involving deleting links (other than the obvious process of deleting links), so I can't imagine how that would happen.



so what can I do? This site is set up exactly the same as my others (which don't have the problem). This only started when I upgraded.




Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 27, 2007 - 12:03 AM:

It's link #13. Can you see any reason why that link would need deleting? Do you have an expiration date set, and selected to delete on expiration? Are you doing the automatic reciprocal check and deletion?
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Aug 27, 2007 - 1:07 PM:

Paul wrote:
It's link #13. Can you see any reason why that link would need deleting? Do you have an expiration date set, and selected to delete on expiration? Are you doing the automatic reciprocal check and deletion?



It was a reciprocal link whereas the reciprocal wasn't found. When upgrading the default was set to automatic reciprocal check. It was hidden so I deleted it. Could this foresee a problem with the auto recip check and deletion?
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Aug 27, 2007 - 10:39 PM:

babrees wrote:



It was a reciprocal link whereas the reciprocal wasn't found. When upgrading the default was set to automatic reciprocal check. It was hidden so I deleted it. Could this foresee a problem with the auto recip check and deletion?



Paul - I had a job finding link #13 - is there a way we can search for ID numbers?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 28, 2007 - 8:42 AM:

Construct the url link.php?action=detail&id=13

Looking into the auto-recip-check.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Aug 28, 2007 - 11:21 PM:

Paul wrote:
Construct the url link.php?action=detail&id=13




oh dear, talk about being a dumb blonde - I never thought of that !!!rolling eyes

thanks.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.