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) »
  • AJAX bug on Contact Summary
Pages: [1]

Author Topic: AJAX bug on Contact Summary  (Read 17871 times)

effex100

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.3.5
  • CMS version: Joomla 2.5.9
  • MySQL version: 5.0.96-community
  • PHP version: 5.3
AJAX bug on Contact Summary
July 07, 2013, 03:29:24 pm
Hello all. I'm having a strange issue. When I update info on a contact summary page using the AJAX controls and click the save button, it loads an empty Joomla admin template into space where it should be refreshing data.

I get no javascript errors on initial page load. After clicking save I get the following:

Uncaught TypeError: Cannot set property 'reset' of undefined
on line 83 of /administrator/components/com_civicrm/civicrm/templates/CRM/Contact/Page/View/Summary.js?r=CLD2h

and then Uncaught TypeError: undefined is not a function
on line 12 of /administrator/?option=com_civicrm&task=civicrm/contact/view&reset=1&cid=2875

The changed contact data is saved.

Any insight as to whats going on here is appreciated. Thanks.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: AJAX bug on Contact Summary
July 08, 2013, 10:11:42 am
Not sure of what the error is, but can you try using a default Joomla template?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

effex100

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.3.5
  • CMS version: Joomla 2.5.9
  • MySQL version: 5.0.96-community
  • PHP version: 5.3
Re: AJAX bug on Contact Summary
July 08, 2013, 10:20:01 am
I'm using the default template. Every other AJAX control seems to work fine. I'm stumped as well and I'm unfortunately not that great with Jquery.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: AJAX bug on Contact Summary
July 08, 2013, 04:45:54 pm
Might be a conflict w/ some other component you have loaded. What's the history of the problem (i.e. new site, always has this issue? worked fine until last upgrade? worked fine until I added XYZ component? ).
Protect your investment in CiviCRM by  becoming a Member!

effex100

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.3.5
  • CMS version: Joomla 2.5.9
  • MySQL version: 5.0.96-community
  • PHP version: 5.3
Re: AJAX bug on Contact Summary
July 08, 2013, 05:34:56 pm
I recently upgraded. It's been upgraded a number of times and has always been problematic. When it was first installed it didn't use innoDB and was converted later.

This last upgrade from 4.2.6 to 4.3.4 complete broke everything. I was forced, because of a botched backup file, to copy the bad partially upgraded tables. Delete everything, re-install and manually import the data. My custom fields were messed up and some setting were outright lost. It's very likely a setting stored in the database somewhere was corrupted.

If you have any ideas where to look it would be appreciated.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: AJAX bug on Contact Summary
July 09, 2013, 03:30:38 am
Not sure where to look, but could you consider exporting your data, installing CiviCRM fresh and then importing?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • AJAX bug on Contact Summary

This forum was archived on 2017-11-26.