Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in tag.php
Asked by
Peter
It displayed another similar error when there were no tags (mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /path-to-
After I added a test tag, I get: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /path-to-
Using PHP 5.2.8 & MySQL 4.1.10 < is this the problem?
Edit:
From log:
[MYSQL -- Monday 28th December 2009 11:21:05 PM]
Invalid use of group function
[MYSQL -- Monday 28th December 2009 11:21:05 PM]
Invalid use of group function
which is this query
SELECT `tag`, COUNT(`id`) FROM tags_n WHERE (UNIX_TIMESTAMP() - `timestamp`) < 86400 GROUP BY `tag` ORDER BY COUNT(`id`) DESC LIMIT 5
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Jisko Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Peter
- Solved:
- Last query:
- Last reply:
To post a message you must log in.