Current calendar: Gregorian
Error

Software Error

Message:

Error in get_events_by_date
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 '= 0 OR (repeat = 1 AND DAYOFWEEK( DATE '2010-03-01' ) = DAYOFWEEK( startdat' at line 8
SQL query: SELECT * FROM phpc_events WHERE calendar='0' AND ( startdate = DATE '2010-03-01' OR ( DATE '2010-03-01' >= startdate AND ( repeat = 0 OR (repeat = 1 AND DAYOFWEEK( DATE '2010-03-01' ) = DAYOFWEEK( startdate )) OR (repeat = 2 AND DATE_FORMAT( DATE '2010-03-01', '%d' ) = DATE_FORMAT( startdate, '%d' )) OR (repeat = 3 AND DATE_FORMAT( DATE '2010-03-01', '%m-%d' ) = DATE_FORMAT( startdate, '%m-%d' )) ) ) ) ORDER BY starttime

Backtrace

  1. /home/exo12/domains/sightedmoon.com/public_html/calendar/includes/calendar.php:68 - soft_error
  2. /home/exo12/domains/sightedmoon.com/public_html/calendar/includes/calendar.php:360 - db_error
  3. /home/exo12/domains/sightedmoon.com/public_html/calendar/includes/display.php:243 - get_events_by_date
  4. /home/exo12/domains/sightedmoon.com/public_html/calendar/includes/display.php:278 - display_days
  5. /home/exo12/domains/sightedmoon.com/public_html/calendar/includes/display.php:170 - display_days
  6. /home/exo12/domains/sightedmoon.com/public_html/calendar/includes/display.php:160 - create_weeks
  7. /home/exo12/domains/sightedmoon.com/public_html/calendar/includes/display.php:152 - create_month
  8. /home/exo12/domains/sightedmoon.com/public_html/calendar/includes/display.php:40 - display_month
  9. /home/exo12/domains/sightedmoon.com/public_html/calendar/index.php(79) : eval()'d code:1 - display
  10. /home/exo12/domains/sightedmoon.com/public_html/calendar/index.php:79 - eval