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 »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Report Display Column "Total Amount Paid" gives "DB Error: no such field"
Pages: [1]

Author Topic: Report Display Column "Total Amount Paid" gives "DB Error: no such field"  (Read 1876 times)

bob_k

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Joomla 2.5.8
  • MySQL version: 5.1.65
  • PHP version: 5.3.17
Report Display Column "Total Amount Paid" gives "DB Error: no such field"
December 12, 2012, 11:22:21 am
Hi, I am attempting to configure the Pledge Summary Report's Display Columns options, but one (Total Amount Paid) always throws an error ... here's the play-by-play recap:

1. Occurred when attempting to update the report - several "Display Columns" options & "Available for Dashboard".

2. Backed out of error, added all available dashlets to dashboard (PSR not available)

3. Returned to report, first updated "Available for Dashboard" (successfully), then added preferred options ... same error.

4. Removed all "Display Columns" options, updated successfully

5. Added "Display Columns" options one-by-one:
   Contact ID: ok
   Email: ok
   Frequency Unit: ok
   Installments: ok
   Pledge Made Date: ok
   Pledge Start Date: ok
   Pledge End Date: ok
>   Total Amount Paid: Error > disabled, continued ...
   Address Name, Street Address, Supplementary Address Field 1, Supplementary Address Field 2, Street Number, Street Name, Street Unit, City, Postal Code, County, State/Province, Country = All ok
>   re-enabled "Total Amount Paid": Error repeats ... bad choice option!

6. Searched Forums ... several/various "DB Error" and "no such field" posts, some with various "code fixes" (outside my scope/knowledge), but nothing exactly like this event for this report.

7. Posted to Forum: Help please!  Error screenshot attached.

Thanks in advance,
Bob

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Report Display Column "Total Amount Paid" gives "DB Error: no such field"
December 12, 2012, 01:02:47 pm

can you try the same sequence of steps on our demo server please:

http://joomla.demo.civicrm.org/

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

bob_k

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Joomla 2.5.8
  • MySQL version: 5.1.65
  • PHP version: 5.3.17
Re: Report Display Column "Total Amount Paid" gives "DB Error: no such field"
December 12, 2012, 03:32:02 pm
Hello Lobo,

The Pledge Summary Report (template) is/was not available on the demo site.

Curiously, I also don't see it in my Reports Listing page either ... but it is listed in the Reports menu drop-down (was there with the install, didn't make any custom reports) ... and this is true for two different sites / installations (used the Joomla 'alt' install package for both).

Best regards,
Bob

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Report Display Column "Total Amount Paid" gives "DB Error: no such field"
December 12, 2012, 04:07:10 pm

pledges are now enabled on the joomla demo.

can u try again

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

bob_k

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Joomla 2.5.8
  • MySQL version: 5.1.65
  • PHP version: 5.3.17
Re: Report Display Column "Total Amount Paid" gives "DB Error: no such field"
December 13, 2012, 03:48:04 pm
Greetings,

Would if I could ... demo/demo > "Username and password do not match or you do not have an account yet."

 ???

Bob

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Report Display Column "Total Amount Paid" gives "DB Error: no such field"
December 13, 2012, 07:01:05 pm

i reset the demo. hopefully should work now

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

bob_k

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Joomla 2.5.8
  • MySQL version: 5.1.65
  • PHP version: 5.3.17
Re: Report Display Column "Total Amount Paid" gives "DB Error: no such field"
December 14, 2012, 06:53:11 am
Good morning Lobo,

Thanks ... link to Admin area from Home page is missing, but the /administrator path worked.

Unfortunately/Likewise, the exact same error for this report (alone and/or with other options).

Side Q: how do I add the Pledge Reports section under the Reports Listing page?

Standing by,
Bob

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Report Display Column "Total Amount Paid" gives "DB Error: no such field"
December 14, 2012, 11:42:10 am

Check:

http://joomla.demo.civicrm.org/administrator/?option=com_civicrm&task=civicrm/report/instance/16&reset=1

just doing a search seems to work for me

ENsure you've enabled the Pledge Component, in Administer CiviCRM >> System Settings

might want to read the online free book: http://book.civicrm.org/user/

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

bob_k

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Joomla 2.5.8
  • MySQL version: 5.1.65
  • PHP version: 5.3.17
Re: Report Display Column "Total Amount Paid" gives "DB Error: no such field"
December 14, 2012, 02:19:49 pm
Total Amount Paid still returns the error on this latest link ... as if with no payments (yet) received/recorded this column object doesn't have anything to process/doesn't like null or "$0.00".  (?)

My bad on not searching/reading the documentation re: enabling - thanks for the quick answer!   :-[

Bob

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Report Display Column "Total Amount Paid" gives "DB Error: no such field"
January 23, 2013, 03:59:50 pm
This Error IS reproducable on the drupal demo server

http://drupal.demo.civicrm.org/civicrm/report/pledge/detail?reset=1

if you check the box 'total_paid' you get a fatal error (this worked in 3.4 / 4.0 - I can't speak for 4.2). I have a customer who uses it who has just upgraded so I'm taking a look now.

NB it appears to be  a bad query not a data issue as it is referencing a field that doesn't exist
« Last Edit: January 23, 2013, 04:01:23 pm by Eileen »
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Report Display Column "Total Amount Paid" gives "DB Error: no such field"
January 23, 2013, 07:08:16 pm
http://issues.civicrm.org/jira/browse/CRM-11749
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Report Display Column "Total Amount Paid" gives "DB Error: no such field"

This forum was archived on 2017-11-26.