Help PLEASE!
I would GREATLY appreciate help for this:
http://i193.photobucket.com/albums/z132 ... rrorrr.png
Only happens when you're not logged in!
And has got something to do with /sources/Portal.php
[PHP]Line 442: $DB->query("SELECT COUNT(DISTINCT(t.tid)) as tcnt, COUNT(DISTINCT(p.pid)) as pcnt FROM ibf_posts p, ibf_topics t WHERE p.post_date < ".time()." AND p.post_date > ".$ibforums->member['last_visit']." AND p.topic_id=t.tid");
Line 456: $today = mktime (0,0,0,date("M"),date("D"),date("Y"));
Line 457: $DB->query("SELECT COUNT(DISTINCT(t.tid)) as tcnt, COUNT(DISTINCT(p.pid)) as pcnt FROM ibf_posts p, ibf_topics t WHERE p.post_date > ".$today." AND p.topic_id=t.tid");[/PHP]
Please help!
Thanks!