Access: Member
Total Posts: 107
Joined: 2009-11-28
Getting the following error on calling search.php
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE timestamp >= '1275346801' AND timestamp <= '1275433201'' at line 1
Statement: SELECT COUNT(id) AS hasnews FROM WHERE timestamp >= ? AND timestamp <= ?
Arguments: 1275346801,1275433201
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
Hint: the search form has been moved into the templates.
If you're using an older template, like 3.2, it won't have the search form. Use Ajax 3.6 template as the default and it should work, compare the differences between it and the one you're currently using.
Access: Member
Total Posts: 107
Joined: 2009-11-28
Thank you Chris
Ive got it....
By the way, it implements a nice list.....
Just a further question, what is the best way to get the search box directly under the article ? I tried a few ideas. Obviously it could be added in an i frame but I was hoping to put the box under article so that search stayed within same frame [no new window].
edit : sort of expected the search to added in 'news structure' ?