error in index.php
#1
its the problem;
Fatal error: Call to undefined function: object() in /home/wwwforum/public_html/mybb/index.php on line 38

and its my line 39 in index.php;
$db ("SELECT s.sid, s.ip, s.uid, s.time, s.location, u.username, u.invisible, u.usergroup, u.displaygroup FROM ".TABLE_PREFIX."sessions s LEFT JOIN ".TABLE_PREFIX."users u ON (s.uid=u.uid) WHERE s.time>'$timesearch' ORDER BY u.username ASC, s.time DESC");

can you edit it and give me again?
or can you give me your line 38 in index.php?
thanx..
#2
Replace it with.
	$query = $db->query("SELECT s.sid, s.ip, s.uid, s.time, s.location, u.username, u.invisible, u.usergroup, u.displaygroup FROM ".TABLE_PREFIX."sessions s LEFT JOIN ".TABLE_PREFIX."users u ON (s.uid=u.uid) WHERE s.time>'$timesearch' ORDER BY u.username ASC, s.time DESC");
#3
OK but my forums are destroyed...
it shoes only online users and statistics..
i can click links in statistics but my forums dowsn't shown??

www.forumesken.info
#4
Please try to reupload the original index.php. See if that fixes your problem.
Greets,
Michael
-------------
[Image: donation_drive_sig.png]


Forum Jump:


Users browsing this thread: 1 Guest(s)