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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Custom Data "To Bottom" arrow crashes
Pages: [1]

Author Topic: Custom Data "To Bottom" arrow crashes  (Read 546 times)

tabletguy

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
Custom Data "To Bottom" arrow crashes
April 23, 2010, 12:59:21 am
While on the custom data field screen (Joomla 1.5.15), I clicked the down to bottom arrow to move a field to the bottom.

CiviCRM 3.1.4

I got this crash error:
Code: [Select]
    Sorry. A non-recoverable error has occurred.

    DB Error: syntax error

    Database Error Code: 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 '' at line 1, 1064

    Return to home page.

Error Details:

Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -2
    [message] => DB Error: syntax error
    [mode] => 16
    [debug_info] => UPDATE civicrm_custom_field SET weight = weight - 1 WHERE id != 12 AND weight > 3 AND custom_group_id =  [nativecode=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 '' at line 1]
    [type] => DB_Error
    [user_info] => UPDATE civicrm_custom_field SET weight = weight - 1 WHERE id != 12 AND weight > 3 AND custom_group_id =  [nativecode=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 '' at line 1]
    [to_string] => [db_error: message="DB Error: syntax error" code=-2 mode=callback callback=CRM_Core_Error::handle prefix="" info="UPDATE civicrm_custom_field SET weight = weight - 1 WHERE id != 12 AND weight > 3 AND custom_group_id =  [nativecode=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 '' at line 1]"]
)
[/code]

Ashwini

  • I’m new here
  • *
  • Posts: 5
  • Karma: 1
Re: Custom Data "To Bottom" arrow crashes
April 23, 2010, 04:02:57 am
It looks like functionality is working fine for my local install as well as on demo site.
Could you try to replicate on http://joomla.demo.civicrm.org/

If issue persists, you might want to give steps to replicate.

thanks
Ashwini

tabletguy

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
Re: Custom Data "To Bottom" arrow crashes
April 23, 2010, 04:31:02 am
It was after doing several other operations. Too bad the crash information isn't helpful. I didn't keep track of all the steps and things I had been doing before hand. Just doing this and nothing else (new sign-in) doesn't cause the problem, but it did happen.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Custom Data "To Bottom" arrow crashes

This forum was archived on 2017-11-26.