View Single Post
  #1 (permalink)  
Old 06-29-09, 06:48
CinqueXX CinqueXX is offline
Registered User
 
Join Date: Jun 2009
Posts: 3
MYSQL + WP woes help appreciated.

Hi, and thanks for looking.

This tiny piece of code is driving me absolutely nuts.
The error reported by the http server log is:

#1064 - 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 'made by require, require_once, include, get_header, locate_template, load_templa' at line 1

The query is as follows:

Code:
SELECT * FROM `wp_eventscalendar_main` WHERE `eventStartDate` >= '2009-06-28' OR `eventEndDate` >= '2009-06-28' ORDER BY `eventStartDate`, `eventStartTime` LIMIT made by require, require_once, include, get_header, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, "WidgetCache->widget_cache_redirected_callback", call_user_func_array, "EC_Widget->display", "EC_Calendar->displayEventList", "EC_DB->getUpcomingEvents"
I have tried everything I can think of including ';' after LIMIT, specifying specific numbers and ranges with and without comment delimeters after...
Reply With Quote