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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • first use front end contributor redirected to home page, then not again
Pages: [1]

Author Topic: first use front end contributor redirected to home page, then not again  (Read 1415 times)

helenbn

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 2
    • Pretty Good Designs
  • CiviCRM version: 4.5.x
  • CMS version: Joomla 2.5.x, 3.x
  • MySQL version: 5.x.x
  • PHP version: 5.x.x
first use front end contributor redirected to home page, then not again
June 19, 2009, 10:11:26 am
CiviCRM 2.2.2
Joomla 1.5.9
php 5.2.9
mySQL 5.0.67-community

I am using the Contribute part and it works great AFTER the first time. The first time they fill out the form and click contribute, they get redirected to home page, like a 404 error. My hosting error logs show a no 404 errors. Where else can I look?
« Last Edit: June 19, 2009, 10:48:32 am by helenbn »
Pretty Good Designs | http://prettygooddesigns.com | Hey, that's pretty good!

helenbn

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 2
    • Pretty Good Designs
  • CiviCRM version: 4.5.x
  • CMS version: Joomla 2.5.x, 3.x
  • MySQL version: 5.x.x
  • PHP version: 5.x.x
Re: first use front end contributor redirected to home page, then not again
June 19, 2009, 12:22:57 pm
This is a security error that is only occuring in IE 7 and 8. Not in Chrome or FF 3.0.11.

Code: [Select]
File does not exist: /home/site/public_html/401.shtml, referer: http://site.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&&_qf_Confirm_display=true&qfKey=a329dca2f65062268f389252c441ffea
Pretty Good Designs | http://prettygooddesigns.com | Hey, that's pretty good!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: first use front end contributor redirected to home page, then not again
June 19, 2009, 03:54:47 pm
Sounds like there may be two different site URLs in play (due to some web server and / or joomla and / or CiviCRM config discrepancies). Does the user's URL look different between first try (failure) and next try? e.g. http://www.site.org/... vs. http://site.org/...
Protect your investment in CiviCRM by  becoming a Member!

helenbn

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 2
    • Pretty Good Designs
  • CiviCRM version: 4.5.x
  • CMS version: Joomla 2.5.x, 3.x
  • MySQL version: 5.x.x
  • PHP version: 5.x.x
Re: first use front end contributor redirected to home page, then not again
June 20, 2009, 09:04:13 am
(Sorry, I don't seem to be receiving my emails to notify of a response to this forum??)

hmm, I am not sure. I tried to set everything up without www. Server is setup to handle both.

IE7 shoots you back to the homepage.
IE8 wants a username and password in a pop-up, and if you cancel it, takes you back to the contribution page to continue again:

live site:  http://usgbcswva.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&reset=1&id=1&Itemid=82

Please feel free to test because it is just from the first page to the confirmation page, so no record or payment is recorded as long as you don't confirm it on the second page and then go to PayPal.

I have one .htaccess protecting the administrator directory and and one allowing the administrator/components/com_civcrm/cvicrm directory.

[Is the double "&" ok in that error url??]
« Last Edit: July 05, 2009, 08:13:12 am by helenbn »
Pretty Good Designs | http://prettygooddesigns.com | Hey, that's pretty good!

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: first use front end contributor redirected to home page, then not again
June 22, 2009, 10:44:29 am
I tried reproducing on IE7 and IE8 and couldn't.

But I think Dave's comments are applicable. You've defined the Civi resource url in global settings, and it either has the www. form or not. I've seen instances where there are problems when the url used to access the page is different from the resource url setting, and it messes things up. Usually I see that when SSL is enabled because it's form-specific with how it checks security and stores sessions. You don't have SSL enabled, but it may still be related.

I would add an htaccess directive that redirects any www. domains to the root domain.

Also clean out the CiviCRM sessions and cache files just to make sure there's nothing there messing things up. You can do that by turning debug on and then adding the following to a CiviCRM admin page: &sessionReset=2&directoryCleanup=3
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

helenbn

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 2
    • Pretty Good Designs
  • CiviCRM version: 4.5.x
  • CMS version: Joomla 2.5.x, 3.x
  • MySQL version: 5.x.x
  • PHP version: 5.x.x
Re: first use front end contributor redirected to home page, then not again
July 05, 2009, 08:14:17 am
[note: I have updated link to live site.]

I have implemented the suggested changes. I will continue testing on other cpus and report back.
Pretty Good Designs | http://prettygooddesigns.com | Hey, that's pretty good!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • first use front end contributor redirected to home page, then not again

This forum was archived on 2017-11-26.