Hello!
I have a problem with slashdot style theme.
instead of topic icons, below message shows-up always next to the main logo in slashdot style theme.
Warning: Supplied argument is not a valid MySQL result resource in themes/Default/header.php3 on line 29
i couldn't figure out, what coudl be the problem?
anyone else having this problem?
ismet
I renamed Slashdot to Default, but I don't think it causes the problem, it didn't worked when it was Slashdot either.
the slashdot theme needs 5 or more articles posted before it works correctly, or you can find this line
$result = mysql_query("select topic from stories order by sid DESC limit 3,5"); and change the 3,5 to 1,3 and it will work with less articles,
what it is doing is getting the article icons and putting them in a row at the top for quick links to articles furthur down the page.
Log in to post a comment.
Hello!
I have a problem with slashdot style theme.
instead of topic icons, below message shows-up always next to the main logo in slashdot style theme.
Warning: Supplied argument is not a valid MySQL result resource in themes/Default/header.php3 on line 29
i couldn't figure out, what coudl be the problem?
anyone else having this problem?
ismet
I renamed Slashdot to Default, but I don't think it causes the problem, it didn't worked when it was Slashdot either.
ismet
the slashdot theme needs 5 or more articles posted before it works correctly, or you can find this line
$result = mysql_query("select topic from stories order by sid DESC limit 3,5"); and change the 3,5 to 1,3 and it will work with less articles,
what it is doing is getting the article icons and putting them in a row at the top for quick links to articles furthur down the page.