Needs review
Project:
Location Views
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2007 at 18:55 UTC
Updated:
21 Oct 2008 at 05:14 UTC
Jump to comment: Most recent file
I assume this is a gmap.module function rather than a location.module one because it accepts co-ordinates rather than post codes ;)
user warning: 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 '1 WHERE cid = 'views_tables'' at line 1 query: DELETE FROM 1 WHERE cid = 'views_tables' in .../includes/database.mysql.inc on line 172.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | location_cache.patch | 744 bytes | temujin9 |
Comments
Comment #1
jamesJonas commentedSame error. I have not been able to track down its cause.
WHERE cid = 'views_tables'
cid - this may be inside the table 'cache_views'
I do have an entry for cid = 'views_tables:en'
This looks like an attempt to clear part of the cache.
Hope this helps.
Comment #2
bdragon commentedNope, it's a location_views problem.
Specifically, location_views_pre_view() isn't being nice.
Comment #3
wolfderby commentedSame Error
Comment #4
csc4 commentedSame error here - anyone found a fix?
Comment #5
Tpainton-1 commentedSAME ERROR. This is too bad. I really need to implement this.
I am basically filtering frontpage content based on proximity to users zipcode.
Comment #6
fatfish commentedSame issue. Any solutions yet ?
Comment #7
eggthing commentedYup. Same here.
Comment #8
rup3rt commentedCVS looks close, will test
Comment #9
ehtesham commentedI got the same problem while trying to list contents based on proximity map.
Comment #10
Turkish Delight commentedSame error
Comment #11
tom_o_t commentedSame problem on a site with:
location modules 5.x-1.x-dev
gmap modules 5.x-1.x-dev
But don't get this error with similar configuration on another site using:
location 5.x-3.x-dev
gmap 5.x-1.x-dev
So upgrading should fix this - just be careful as the upgrade path is not always always smooth - backup!
Comment #12
temujin9 commentedProblem was a bad invocation of cache_clear_all in location_views.module, corrected in the attached patch.