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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Inconsistent dumping to the home page without errors.(Solved)
Pages: [1]

Author Topic: Inconsistent dumping to the home page without errors.(Solved)  (Read 1239 times)

sograph

  • Guest
Inconsistent dumping to the home page without errors.(Solved)
September 03, 2009, 04:36:43 pm
I have solved a simple problem that I came across, but didn't find a solution when searching.  Thought I would post my answer to help others.

Problem:
Every time I tried running transactions on a contribution or membership page, I didn't have a problem.  Everything worked perfectly.  My customer would try to run transactions, to test it, and would be taken back to the home page without any errors.

Solution:
After I figured out what the problem was, I felt like an idiot.  The customer was adding a www to the beginning of the domain when going to the site, while I left it out.  Ah, now you see why I felt stupid.  We all have our moments.

Add a redirect to what ever your domain is in your settings and should be the same as in your civicrm.settings.php file.

.htaccess example

Right after RewriteEngine On on about line 28

RewriteCond %{HTTP_HOST} ^www.yourdomainname\.com$ [NC]
RewriteRule ^(.*)$ http://yourdomainname.com/$1 [R=301,L]


This is if you don't want the www in there, do the opposite if you want the www.

Please feel free to correct me if this is incorrect.

Thanks CiviCRM developers for a great creation.

cantusnovus

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 3.4.5
  • CMS version: Joomla 1.5.26
  • MySQL version: 5.0.95-community
  • PHP version: 5.2.17
Re: Inconsistent dumping to the home page without errors.(Solved)
May 16, 2014, 09:10:45 am
I know I am replying to an old post, but just want to thank the author for the tip. Very helpful!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Inconsistent dumping to the home page without errors.(Solved)

This forum was archived on 2017-11-26.