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 CiviEvent (Moderator: Yashodha Chaku) »
  • price fees and custom fields not showing up (ajax)
Pages: [1]

Author Topic: price fees and custom fields not showing up (ajax)  (Read 1196 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
price fees and custom fields not showing up (ajax)
June 22, 2009, 12:35:19 pm
I just did an upgrade from 2.1 to 2.2.6 on a site. Am running into an issue with ajax in the backend. When I try to register someone for an event, the price options and custom fields that are supposed to load after selecting the event aren't loading. Universal custom fields load (those that apply to all participants), but not event-specific ones.

I've gone through the obvious troubleshooting -- making sure urls, directories are set, cache/sessions cleared. Other javascript tools are functioning. It just won't load the ajax'd fees and fields.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: price fees and custom fields not showing up (ajax)
June 22, 2009, 01:16:00 pm
Hi brian - can you open Firebug and check if there are errors being returned from that ajax call?
Protect your investment in CiviCRM by  becoming a Member!

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: price fees and custom fields not showing up (ajax)
June 22, 2009, 01:57:37 pm
hmm... I do get a syntax error:

Quote
syntax error
[Break on this error] buildFeeBlock( this.value ); buildCustomData( 'Participant', this.value, );
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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: price fees and custom fields not showing up (ajax)
June 30, 2009, 11:58:44 am
Brain:

Can you ping me on #civicrm, will be easier to debug.

Kurund
Found this reply helpful? Support CiviCRM

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: price fees and custom fields not showing up (ajax)
June 30, 2009, 04:16:32 pm
Following up on our chat --
So I take it the upgrade script is supposed to walk through all of the sql files in CRM\Upgrade\Incremental\sql
It appears that with my installation, it completed the first script - alpha1 - successfully, but did not progress to the others. Rerunning the upgrade script yields a message indicating the db has already been upgraded.

So -- you think I can safely walk through and run those sql files one at a time?
I will also try doing a clean install of 2.1 and upgrade to 2.2 to see if the issue is replicated and/or where things are breaking down.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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: price fees and custom fields not showing up (ajax)
July 01, 2009, 02:33:01 am
Quote
So -- you think I can safely walk through and run those sql files one at a time?
I don't think so, since few sql might need some smarty variables that are assigned by php code. So I would recommend to check why upgrade is failing.
Can you also log mysql and check what sql's are fired during upgrade and when it fails.

HTh
Kurund
Found this reply helpful? Support CiviCRM

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: price fees and custom fields not showing up (ajax)
July 02, 2009, 08:53:55 pm
Kurund -
It appears the problem was not with the update script, but a problem with the temp folder on my testing server that was messing things up when the update script was run. I've run some tests with clean data and it seems to be working fine.
thx,
-Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • price fees and custom fields not showing up (ajax)

This forum was archived on 2017-11-26.