CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Dashboard - DB Error: no such field
Pages: [1]

Author Topic: Dashboard - DB Error: no such field  (Read 1143 times)

rusty-

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 3.4
  • CMS version: Joomla 1.5.23
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.13
Dashboard - DB Error: no such field
April 23, 2011, 04:38:38 pm
Since upgrading to 3.4, all of my dashlets return the "DB Error: no such field".

Any suggestions on resolving this?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Dashboard - DB Error: no such field
April 24, 2011, 02:49:34 am
Can you copy paste entire error message. Also did you try "Refresh Dashboard"?

Kurund
Found this reply helpful? Support CiviCRM

rusty-

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 3.4
  • CMS version: Joomla 1.5.23
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.13
Re: Dashboard - DB Error: no such field
April 24, 2011, 08:03:52 am
Sorry, should have included this in my original post.
Code: [Select]
Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -19
    [message] => DB Error: no such field
    [mode] => 16
    [debug_info] =>
SELECT MAX(id) FROM civicrm_report_instance
WHERE  TRIM(BOTH '/' FROM CONCAT(report_id, '/', name)) = '9_reset_1_section_2_snippet_4' [nativecode=1054 ** Unknown column 'name' in 'where clause']
    [type] => DB_Error
    [user_info] =>
SELECT MAX(id) FROM civicrm_report_instance
WHERE  TRIM(BOTH '/' FROM CONCAT(report_id, '/', name)) = '9_reset_1_section_2_snippet_4' [nativecode=1054 ** Unknown column 'name' in 'where clause']
    [to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="
SELECT MAX(id) FROM civicrm_report_instance
WHERE  TRIM(BOTH '/' FROM CONCAT(report_id, '/', name)) = '9_reset_1_section_2_snippet_4' [nativecode=1054 ** Unknown column 'name' in 'where clause']"]
)

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Dashboard - DB Error: no such field
April 24, 2011, 11:33:23 pm
Error is bit strange :(  May be delete the dashlet and re-add it from report screen.

Hth
Kurund
Found this reply helpful? Support CiviCRM

rusty-

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 3.4
  • CMS version: Joomla 1.5.23
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.13
Re: Dashboard - DB Error: no such field
April 25, 2011, 04:18:42 pm
I tried that and still get a similar error, posted below.  This report works without error if I run it from the "Reports" menu, weird.
Code: [Select]
Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -19
    [message] => DB Error: no such field
    [mode] => 16
    [debug_info] =>
SELECT MAX(id) FROM civicrm_report_instance
WHERE  TRIM(BOTH '/' FROM CONCAT(report_id, '/', name)) = '25_reset_1_section_2_snippet_4' [nativecode=1054 ** Unknown column 'name' in 'where clause']
    [type] => DB_Error
    [user_info] =>
SELECT MAX(id) FROM civicrm_report_instance
WHERE  TRIM(BOTH '/' FROM CONCAT(report_id, '/', name)) = '25_reset_1_section_2_snippet_4' [nativecode=1054 ** Unknown column 'name' in 'where clause']
    [to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="
SELECT MAX(id) FROM civicrm_report_instance
WHERE  TRIM(BOTH '/' FROM CONCAT(report_id, '/', name)) = '25_reset_1_section_2_snippet_4' [nativecode=1054 ** Unknown column 'name' in 'where clause']"]
)

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Dashboard - DB Error: no such field
April 25, 2011, 09:08:52 pm
Can you ping us on #civicrm irc channel.

Kurund
Found this reply helpful? Support CiviCRM

seashell

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
Re: Dashboard - DB Error: no such field
July 05, 2012, 07:36:33 am
We are having the same issue, reports run fine from reports menu but dashlet reports the same error.  Removed/readded and still nothing appears to fix the error.  Tried adding "standard" reports as well.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Dashboard - DB Error: no such field

This forum was archived on 2017-11-26.