SQL Statement Debugger

Record::get_records_for_sql()

SELECT
  COALESCE(MIN(DATE(`history_created_date`)),'0000-00-00') `min`,
  COALESCE(MAX(DATE(`history_created_date`)),'0000-00-00') `max`
FROM
  `pages`
WHERE
  `history_created_date`>'1000-00-00' AND
  `systemID` IN()

Error:

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 8

Call stack trace:
[12] Record::get_record_for_sql() via /var/www/2380/classes/class.system.php line 769
[11] System::get_global_date_range() via /var/www/2380/classes/class.search.php line 101
[10] Search::_draw_controls() via /var/www/2380/classes/class.search.php line 297
[09] Search::_draw_results() via /var/www/2380/classes/class.search.php line 90
[08] Search::draw() via /var/www/2380/codebase.php(982) : eval()'d code line 3
[07] eval() via /var/www/2380/codebase.php line 982
[06] convert_ecl_tags() via /var/www/2380/codebase.php line 942
[05] convert_safe_to_php() via /var/www/2380/codebase.php line 982
[04] convert_ecl_tags() via /var/www/2380/codebase.php line 942
[03] convert_safe_to_php() via /var/www/2380/classes/class.layout.php line 133
[02] Layout::prepare() via /var/www/2380/system.php line 189
[01] main() via /var/www/2380/functions.php line 151
[00] include() via /var/www/clients/client5/web76/web/index.php line 4

SQL Statement Debugger

Record::get_records_for_sql()

SELECT
  COALESCE(MIN(DATE(IF(`type`='event',`effective_date_start`,`date`))),'0000-00-00') `min`,
  COALESCE(MAX(DATE(IF(`type`='event',`effective_date_start`,`date`))),'0000-00-00') `max`
FROM
  `postings`
WHERE
  IF(`type`='event',`effective_date_start`,`date`)>'1000-00-00' AND
  `systemID` IN()

Error:

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 8

Call stack trace:
[12] Record::get_record_for_sql() via /var/www/2380/classes/class.system.php line 779
[11] System::get_global_date_range() via /var/www/2380/classes/class.search.php line 101
[10] Search::_draw_controls() via /var/www/2380/classes/class.search.php line 297
[09] Search::_draw_results() via /var/www/2380/classes/class.search.php line 90
[08] Search::draw() via /var/www/2380/codebase.php(982) : eval()'d code line 3
[07] eval() via /var/www/2380/codebase.php line 982
[06] convert_ecl_tags() via /var/www/2380/codebase.php line 942
[05] convert_safe_to_php() via /var/www/2380/codebase.php line 982
[04] convert_ecl_tags() via /var/www/2380/codebase.php line 942
[03] convert_safe_to_php() via /var/www/2380/classes/class.layout.php line 133
[02] Layout::prepare() via /var/www/2380/system.php line 189
[01] main() via /var/www/2380/functions.php line 151
[00] include() via /var/www/clients/client5/web76/web/index.php line 4
Search Results
Skip to Content
Click to print

Search Results

Text:
Categories:
Tags:
Date Range:
- to -
Items:
Sites:

Found 1208 Articles: showing 26 to 50
< 1 2 3 4 5 644 45 46 47 48 49 >
Title Summary Date
The Gift of Presence Shopping for others can be tough. Finding the gift that&rsqu… Sat 20th Dec 2008
Toy Drive Every year, more than 130,000 children receive toys from The… Fri 19th Dec 2008
Gift Giving One evening my four-year-old son was saying his prayers and … Thu 18th Dec 2008
How the Christmas Kettle Made … Each year, clients from The Salvation Army’s Hope Acre… Thu 18th Dec 2008
It's a Guarantee Since October 2007, the Gifts of Hope program has provided a… Thu 18th Dec 2008
Community Support in Langley, … Langley, B.C., is getting behind the Army’s Gateway of… Wed 17th Dec 2008
No Longer the Same There was no panic, no screaming. We just watched while my d… Mon 15th Dec 2008
Infant Holy It all began with a tiny infant. Not just any child. This wa… Thu 11th Dec 2008
Today is a Gift I watched Kung Fu Panda with my kids last weekend. I love th… Wed 10th Dec 2008
Commissioner Francis Installed… Commissioner William W. Francis, Territorial Commander of Th… Tue 9th Dec 2008
Ethical Shopping Any article on ethical shopping has to say at the outset tha… Tue 9th Dec 2008
All I Want for Christmas In this Salvationist.ca series, Captain Amy Reardon, Editor … Fri 5th Dec 2008
No Room in the Inn Luke 2:7: “And she gave birth to her firstborn, a son.… Fri 5th Dec 2008
The Salvation Army's 100th You… Over the past two years The Salvation Army has been busy upl… Thu 4th Dec 2008
Heaven’s Rehearsal A few weeks ago, an event called “Heaven’s Rehea… Tue 2nd Dec 2008
Stories from the Kettle I’ve been working on Salvation Army Christmas kettles … Tue 2nd Dec 2008
Oberammergau Passion Play 2010 As the leaders of The Salvation Army in Canada and Bermuda, … Mon 1st Dec 2008
Senior Reserved Appointments Following extensive consultation with territories, and in-de… Mon 1st Dec 2008
Enhanced Community Very few offenders serve life sentences. This means that man… Fri 28th Nov 2008
I Believe in Miracles I believe God performs miracles today. Every time I see a ma… Fri 28th Nov 2008
It’s Christmas Time As we approach Christmas, I’ve been reading the ancien… Fri 28th Nov 2008
Lt-Colonels Copple Promoted to… Lt-Colonels Donald and Ann Copple, Chief Secretary and Terri… Fri 28th Nov 2008
Alternative Measures The Salvation Army seeks the restoration of people, not the … Tue 25th Nov 2008
Reality Check Prostitution has been called the world’s oldest profes… Fri 21st Nov 2008
OK Kids I wish there had been something like the OK Kids support gro… Wed 19th Nov 2008