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) »
  • Unexpected Page Reload Behavior on Registration Form
Pages: [1]

Author Topic: Unexpected Page Reload Behavior on Registration Form  (Read 3787 times)

datt0pr0x

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Joomla 2.5.14
  • MySQL version: 5.5
  • PHP version: 5.3
Unexpected Page Reload Behavior on Registration Form
September 10, 2014, 02:09:05 pm
I have a relatively simple event registration form up right now for an academic conference. The page contains two profiles, a basic name and address form and a form with a couple of custom fields specific to the participant record. This is the second year using CiviCRM for this event. The form is a single page, confirmation, and then it redirects to a payment gateway. I have been receiving numerous complaints from people attempting to register who, after clicking continue on the confirm page, are redirecting to the website's main page instead of being directed to the payment form. The behavior is extremely inconsistent. I have not been able to reproduce it myself so I'm afraid I can't offer much additional information. I know it appears to happen across all browsers and that it does not necessarily happen to the same person twice. I've checked server logs, both access and error hoping to find something but so far I am at a loss. Hopefully this issue triggers something for someone in the community.

datt0pr0x

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Joomla 2.5.14
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Unexpected Page Reload Behavior on Registration Form
September 10, 2014, 02:52:28 pm
I have a hunch that this may be caused by having multiple domains pointing to the same site. If you go to a domain that is different than the one listed as the base url in civicrm.settings, the form will reset to the site index. I'm not sure if there is a way around this other than to stop using the additional domains.

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Unexpected Page Reload Behavior on Registration Form
September 12, 2014, 03:08:04 am
I think you are right and that this is to do with cookies. If you require the site to be available on multiple domains, one approach would be to create an apache rewrite that redirects civicrm pages to the canoncial domain, so that they can only leave from the correct domain, and then be sent back there.

Alternatively, I think you *might* be able to do something clever with sharing cookies and sessions amongst different domains but I have not investigated that, so you might want to do some research before going down that route.

Michael
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Unexpected Page Reload Behavior on Registration Form
September 12, 2014, 01:16:34 pm
also check if you have these variations all on offer http and https and/or http://www.sitename and http://sitename
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Unexpected Page Reload Behavior on Registration Form

This forum was archived on 2017-11-26.