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) »
  • Billing address fields missing from registration form
Pages: [1]

Author Topic: Billing address fields missing from registration form  (Read 5670 times)

gaiello

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Billing address fields missing from registration form
December 11, 2009, 01:37:16 pm
As shown on the attached jpg image, the billing information on the event registration form is missing the address fields. I may be missing something in the documentation but I've found nothing yet about this particular situation. When I check Administer > Options lists > Location types the Billing Address location does not include an edit button. So, I'm guessing something went awry with my installation or I've overlooked how to configure the billing address so it will be included on this form.

I've done many Drupal sites but this is my first with CiviCRM. The payment processor is Authorize.net in test mode at this time.

Drupal 6.14
CiviCRM 3.0.2

Any tips will be greatly appreciated.

Thank you,
George Aiello

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: Billing address fields missing from registration form
December 12, 2009, 07:13:11 am

can u check a url similar to:

http://drupal.demo.civicrm.org/civicrm/admin/setting/preferences/address&reset=1

on your install and ensure that some of the address fields are checked in the address settings

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

gaiello

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Billing address fields missing from registration form
December 12, 2009, 07:49:18 am
Hi lobo...

Thank you for responding...

Yes, the address settings are checked off. See attached.

One interesting thing for what it's worth is that there is no entry field for this line:
"Enter the maximum number of different locations/addresses that can be entered for a contact." So, I can't enter a number of locations.

-George Aiello


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: Billing address fields missing from registration form
December 12, 2009, 10:25:22 am

i'm assuming this is a new install

can u get on IRC (link at top of page) and we can try to narrow it down. If you can reinstall on another server (or do a clean new install) that would be great and might eliminate the issue. not sure what is happening and why

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

gaiello

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Billing address fields missing from registration form
December 12, 2009, 10:55:06 am
Yes, it is a new install on a site that is not officially released yet. I will install it on one of our available dev servers. If that works ok, I can do a clean install on the current site. I'll update this issue when those tasks are done and we can take it from there.

I appreciate the assistance.

Thanks.
George

gaiello

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Billing address fields missing from registration form
December 15, 2009, 09:31:02 pm
Hi lobo,

Sorry for the delay, I had to schedule a time to do the necessary work.

A new install of CiviCRM on a separate dev web server (same box though) included the billing address info on the event registration form as expected. Looked promising.

So, I proceeded to do a complete removal of CiviCRM along with a fresh install on the subject web server. Unfortunately, after deleting the CiviCRM database, civicrm_settings.php and modules from the problem web server and starting with a completely fresh install, the problem of no billing address fields persists.

Can there be something in the Drupal DB that I should have purged as well? The two Drupal tables that reference civicrm in the table name, e.g. civicrm_group_roles_rules and civicrm_member_roles_rules, are both empty.

'Tis a puzzlement.

Thank you,
George Aiello

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: Billing address fields missing from registration form
December 16, 2009, 07:10:07 am

what theme are you using on the old site? is it the same them as the dev site? can u switch to drupal's default theme

also can you do a view source on the old site and ensure that those fields are missing from the html

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

gaiello

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Billing address fields missing from registration form
December 16, 2009, 09:35:29 am
Hi lobo...

The theme is the same on both sites, a modified version of WhiteJazz by Roople Theme. I don't think that's it though because the problem manifests itself on Garland as well. The site does use a lot of modules and I'm in the process of checking that all our enabled on the test web server as well. At first, I thought it might be a conflict with Ubercart but they play nice together on the test web server.

I have attached the source for your review. You will see all the billing address table rows are there but no labels or form fields are output other than the first, middle, and last name fields. (I had to edit the top and bottom of the source to get it under 32k)

Even though this site is still in development it is temporarily publicly available. You can replicate the problem here:
http://www.viewpointdev.com > Workshop (menu) > Register (link on page) or you can go to it directly here: http://www.viewpointdev.com/workshops/home

I have turned off CSS optimization so you can see all of the modules and css files.

I can also grant you temporary access with a role that would give you full CRM admin access. I would just need a way to get a password to you. I don't want to intrude too much on your good nature and hospitality though, so don't feel compelled.

Thanks,
George

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: Billing address fields missing from registration form
December 16, 2009, 11:24:00 am

can u get on IRC (link at the top of the page)

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

gaiello

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Billing address fields missing from registration form
December 16, 2009, 01:00:14 pm
I've logged in and opened IRC as gaiello... and can see you and some recent messages you've made to paymete. However, I have never used IRC and don't see a full client where I can post an IM to you.

Feel a bit lame on that one.

-George

civicpixel

  • I’m new here
  • *
  • Posts: 25
  • Karma: 3
Re: Billing address fields missing from registration form
January 08, 2010, 03:52:06 pm
We're having the exact same problem with a installation that was upgraded from 2.2 to 3.0.1. Billing address fields are not appearing and preventing any processing of the contribution page:
http://progressivecoalition.org/civicrm/contribute/transact?reset=1&id=4

I'm wondering if there was ever a solution found to this issue or if I should just start digging in the code.

Thanks!
Brian

civicpixel

  • I’m new here
  • *
  • Posts: 25
  • Karma: 3
Re: Billing address fields missing from registration form
January 08, 2010, 04:21:37 pm
Well, dug into this and it's resolved now -- I can describe what I did to resolve it but not why. Basically I traced the problem back to $bltID not being set properly in /templates/CRM/Core/BillingBlock.tpl. While testing, I added a table row above where the street address is assigned {assign var=n value=billing_street_address-$bltID}, and printed the $bltID to debug. For some reason, just printing this inside of the template caused the rest of the address fields to appear. Even more mysteriously, removing the debug/row from the table still left the address fields printing properly on the form. Possibly a cache issue of some sort after the upgrade?

Anyways, resolved now. Hope that helps someone else in the future.

Brian

gaiello

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Billing address fields missing from registration form
January 08, 2010, 05:02:52 pm
Hi Brian,

Donald Logo solved the problem for us (I never could). I do recall he dumped a (template?) cache file and that corrected our problem. So, I think your effort probably cleared the cache as you suspected and that did the trick.

-George Aiello

gaiello

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Billing address fields missing from registration form
January 08, 2010, 05:03:42 pm
Sheesh... that's Lobo, not Logo... sorry 'bout that. -George

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Billing address fields missing from registration form

This forum was archived on 2017-11-26.