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 CiviContribute (Moderator: Donald Lobo) »
  • Contribution page failure
Pages: [1]

Author Topic: Contribution page failure  (Read 728 times)

kbarron

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.3.4
Contribution page failure
August 10, 2011, 01:19:23 pm
I've been going in circles for days, and despite reading the floss manual, online docs, and searching the forums, I can't find out why the member contribution setup is failing.

The "Title and Settings" section gets saved, but when I try to save the "Contribution Amounts" I get kicked back to the Welcome to your New Drupal site screen. Originally I got an error saying "No user associated with account" which I tracked down to the empty Paypal test account; once I corrected that, I no longer got the error.

In fact, the frustrating thing is that CiviCRM.log is empty despite the fact that I ensured write permissions to sites/default/files/civicrm/upload/CiviCRM.log

What is also strange is that I keep losing the changes made to the next section: "Membership Settings". I have tried with and without price sets, and ensured that an Org contact exists for the membership; I've also ensured that the anon users can make online contributions and has "Profile Listings and Forms" permissions.

Clearly I'm missing something, but without a log to let me see the error, I'm in the dark. I turned on DEBUG but that didn't seem to provide any feedback. I also turned on syslog at the Drupal level, but it's not giving me anything useful.

How do I get a better idea of what the error is? Any pointers appreciated!
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: Contribution page failure
August 10, 2011, 03:15:50 pm

Do u have clean urls enabled? if not, can u turn them on and see if that works

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

kbarron

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.3.4
Re: Contribution page failure
August 10, 2011, 04:04:40 pm
Thanks for the thought Lobo - but I haven't even got there yet (I had intended to turn on clean URLs, but I like to start with a vanilla install).

Any idea why the CiviCRM.log file is empty? All my upload files are in that dir, so I know it's writeable. But I had to touch the file to create it, and then made sure it was 640 with www as owner.
Or is there a better way to get troubleshooting output?

tnx,
 Kevin

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: Contribution page failure
August 10, 2011, 04:15:52 pm

its failing due to a bug in the code (since u dont have clean urls on) and hence nothing is written to CiviCRM.log file

lbo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

kbarron

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.3.4
Re: Contribution page failure
August 10, 2011, 05:36:44 pm
<facepalm>
Sorry, I misunderstood your first note to mean that Clean URLs were the problem.

I turned on clean url's, but the CiviCRM.log is still empty. And although I don't get dumped back to the newb page, the drop-down menu for configuring the contribution page still shows RED (as in, not configured). Memb Settings, Thank-You, and Tell-a-Friend all show as configured, so presumably there's a problem in the Contribution section.

thanks,
 Kevin

kbarron

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.3.4
Re: Contribution page failure
August 12, 2011, 12:26:40 pm
Managed to get the Contribution page to work, but not the log file.

Any suggestions to get CiviCRM.log to start logging?

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: Contribution page failure
August 12, 2011, 08:58:37 pm

The log file only gets written to when there is a fatal error. Wanna try a url like:

q=civicrm/profile/create&reset=1&gid=10001

(assuming u dont have a profile with id 10001 )

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

kbarron

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.3.4
Re: Contribution page failure
August 13, 2011, 12:30:47 am
Well that certainly caused a non-recoverable error!  ;D

I got a full backtrace out of it, but the log file stubbornly refuses to record the event. Just for grins, I renamed CiviCRM.log and created the error again, to see if the file would be created if it was absent. No joy.

Probably not worth worrying about since it doesn't sound like the log will tell me anything useful at this point.

tnx!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribution page failure

This forum was archived on 2017-11-26.