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 Profiles (Moderator: Dave Greenberg) »
  • Use of State field in profile breaks contribution page
Pages: [1]

Author Topic: Use of State field in profile breaks contribution page  (Read 2328 times)

EdP

  • I post frequently
  • ***
  • Posts: 260
  • Karma: 7
  • CiviCRM version: 4.4
  • CMS version: Joomla 2.5.x
Use of State field in profile breaks contribution page
October 13, 2009, 05:57:19 am
I have a contribution (membership sign up) page. It has two profiles in it. One of these is a 'full name and details' set of fields for members joining. One of the fields is "county" which is really contacts>state>home or contacts>state>primary. If this field is included in the profile, the contribution page refuses to load - I get a white screen with no Joomla background, no source code on 'view source' etc. If that field isn't enabled in the profile the page loads fine. None of the other profile fields in the profile induce the behaviour.

I'm running an implementation localised to the UK, if that is relevant. v3.0.1 on Joomla 1.15.14.

Why would this one field cause problems? Any ideas?


Thanks.

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: Use of State field in profile breaks contribution page
October 13, 2009, 07:55:51 am

hey ed:

can u reproduce this on the demo machine (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

MikeyLikesIt

  • Guest
Re: Use of State field in profile breaks contribution page
October 28, 2009, 04:00:03 am
I encountered something similar in 2.0.7.  My profile is just a profile for batch editing address fields for contacts.  I can include all the address fields except for the state field.  I'm using Drupal 5.

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: Use of State field in profile breaks contribution page
October 28, 2009, 07:38:46 am

at this time we are not actively supporting 2.0.x (or 2.1.x)

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

EdP

  • I post frequently
  • ***
  • Posts: 260
  • Karma: 7
  • CiviCRM version: 4.4
  • CMS version: Joomla 2.5.x
Re: Use of State field in profile breaks contribution page
October 30, 2009, 03:51:42 pm
Quote from: Donald Lobo on October 13, 2009, 07:55:51 am

hey ed:

can u reproduce this on the demo machine (joomla.demo.civicrm.org)

thanx

lobo


Seemingly not, but it does exhibit two other possible bugs:
1. If you click on on the dashboard menu link before being logged in you get an error screen rather than just a prompt to log in; and
2. once logged in, the menu item gets greyed out when one of the CiviCRM menu items is clicked (which isn't normal behaviour for the template.

Neither is at all serious but worth mentioning.

darylcrouse

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
Re: Use of State field in profile breaks contribution page
November 05, 2009, 03:22:43 pm
I'm seeing the same thing though and I am using CiviCRM 3.02.

If I make the state field inactive the membership form works beautifully but the moment that I use the state field I get Server Error Internal Error 500.

Any advice????

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Use of State field in profile breaks contribution page
November 06, 2009, 04:59:01 pm
The state field is populated by an "Ajax" call back to the server. Try opening the page w/ Firebug enabled and the Console tab open and see if an explicit error is reported back. You should also see the URL that is being called to get the states list and so you can try accessing that directly in your browser and see what happens.
Protect your investment in CiviCRM by  becoming a Member!

gotMoxie

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Use of State field in profile breaks contribution page
November 09, 2009, 09:16:22 am
Quote from: Dave Greenberg on November 06, 2009, 04:59:01 pm
The state field is populated by an "Ajax" call back to the server. Try opening the page w/ Firebug enabled and the Console tab open and see if an explicit error is reported back. You should also see the URL that is being called to get the states list and so you can try accessing that directly in your browser and see what happens.

Dave,

I'm trying to helping Daryl out with this problem and I can confirm it is not an Ajax issue. The page is failing in php. We get a  500 error (Internal Server Error). Trying to force the error to show up in the error log has proved feudal so far. Can't seem to reproduce it on the demo server. Noticed the version number on the demo server seems to be an svn version or something? Didn't know if there might be any changes between 3.0.2 and what is on the demo server.

Sam Lewis

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Use of State field in profile breaks contribution page
November 09, 2009, 12:01:23 pm
Sam - the demo server runs off of SVN and there have been some commits to the 3.0 branch since 3.0.2 was generated. However, since we haven't had other reports of this problem and I'm almost certain the State field worked fine on the demo throughout the 3.0 lifecycle - its quite likely that this is a configuration issue on your server.

One thing to check out is whether accessing the form from the admin (back-end) site vs. the front-end site makes any difference in the result.

I would also double-check that the ajax call isn't part of the problem by accessing the ajax URL directly. It will be something like this:

http://<your_joomla_site>/index.php?option=com_civicrm&task=civicrm/ajax/jqState&&_id=country-1&_name=country-1&_value=1228

... and AFAIK there should be something in your apache error logs when 500 error happens ???
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Use of State field in profile breaks contribution page

This forum was archived on 2017-11-26.