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) »
  • Does Personal Campaign Page always require a contribution?
Pages: [1]

Author Topic: Does Personal Campaign Page always require a contribution?  (Read 2332 times)

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Does Personal Campaign Page always require a contribution?
March 15, 2009, 05:44:51 am
Folks:

I've installed 2.2 stable on Drupal and want to use the personal campaign page feature to allow walkers to solicit donations for a walkathon.  The opportunity to set up a PCP comes at the tail end of a contribution.  But is there a way to allow people to set up PCPs without first making a contribution?

One other question - can ANY kind of contribution (such as an event fee) lead the donor to the opportunity to create a PCP?

Thanks,

Tracey

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: Does Personal Campaign Page always require a contribution?
March 15, 2009, 07:12:41 am

You can direct your user to the PCP page directly via a url: http://drupal.demo.civicrm.org/civicrm/contribute/campaign?reset=1&id=1

You might want to give them some context about what type of contribution page they are personalizing etc

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

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: Does Personal Campaign Page always require a contribution?
March 15, 2009, 07:41:09 am
I've tried that, but I get this error:

Sorry. A non-recoverable error has occurred.
We experienced an unexpected error. Please file an issue with the backtrace

Not sure where the backtrace is.  What does id=1 in the URL refer to?

Thanks,

Tracey
« Last Edit: March 15, 2009, 09:00:45 am by tmccartney »

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: Does Personal Campaign Page always require a contribution?
March 15, 2009, 09:19:58 am

id=1 refers to the contribution page id where PCP is enabled. Most likely you are getting the error because that contribution page does not exists etc. Replace that with the correct id :)

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

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: Does Personal Campaign Page always require a contribution?
March 15, 2009, 12:30:50 pm
That makes sense, and I changed the id to 3, but I'm still getting the error.  :(  Any other suggestions?


Thanks,

Tracey the Pest

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Does Personal Campaign Page always require a contribution?
March 15, 2009, 05:02:17 pm
Make sure you've enabled Personal Campaign Pages for the referenced contribution page and have selected a profile in the PCP configuration page that includes first name, last name and email.

If that doesn't fix things - then briefly enable "Display Backtrace" from Administer CiviCRM >> Global Settings >> Debugging - and go to the link - then paste the backtrace in this thread.
Protect your investment in CiviCRM by  becoming a Member!

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: Does Personal Campaign Page always require a contribution?
March 15, 2009, 08:04:15 pm
Thanks, Dave.  Here's the backtrace:

backTrace

/home/namilouis/www/www/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 258
/home/namilouis/www/www/sites/all/modules/civicrm/CRM/Core/DAO.php, fatal, 707
/home/namilouis/www/www/sites/all/modules/civicrm/CRM/Contribute/Form/PCP/PCPAccount.php, getFieldValue, 133
/home/namilouis/www/www/sites/all/modules/civicrm/CRM/Core/Form.php, buildQuickForm, 324
/home/namilouis/www/www/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php, buildForm, 98
/home/namilouis/www/www/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/home/namilouis/www/www/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/home/namilouis/www/www/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 245
/home/namilouis/www/www/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 205
/home/namilouis/www/www/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 339
, civicrm_invoke,
/home/namilouis/www/www/includes/menu.inc, call_user_func_array, 348
/home/namilouis/www/www/index.php, menu_execute_active_handler, 18

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: Does Personal Campaign Page always require a contribution?
April 05, 2009, 06:44:21 pm
Checking back in to see if there are any clues about the above backtrace.  I tried this on a different site on a different host, and I got the same backtrace.  Bug in ver. 2.2, perhaps?   ???

Thanks!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Does Personal Campaign Page always require a contribution?
April 05, 2009, 08:10:17 pm
Tracey - that error indicates that we're either not finding a valid contribution page with the ID in the URL, or we're not  finding a valid PCP configuration record for that contribution page. Can you verify the contribution page ID and verify that Personal Campaign Pages are enabled under the Configure menu for that contribution page. If that doesn't turn up the problem, then paste the URL you're using here so we can get a look at what's going on.

Also please verify on your forum profile what version of CiviCRM you're using (2.1.x vs. 2.2.x?).

« Last Edit: April 05, 2009, 08:17:32 pm by Dave Greenberg »
Protect your investment in CiviCRM by  becoming a Member!

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: Does Personal Campaign Page always require a contribution?
April 05, 2009, 08:24:26 pm
Unfortunately, both of those conditions appear to be met.  Still no go. :(

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: Does Personal Campaign Page always require a contribution?
April 12, 2009, 07:45:20 pm
Thanks to Dave G., things are running great. :)  I have a somewhat related question, though - is there a way to display a list of PCPs to non-registered users and non-admins?  This is a walkathon project, and I want a page where people can choose the walker they want to support.

Thanks!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Does Personal Campaign Page always require a contribution?
April 12, 2009, 10:36:30 pm
Hmm - I think you'd have to write a drupal module which uses a CiviCRM BAO class to make this happen in an automated way. Probably your best bet if the number of walkers is not too big is to simply create a Drupal page (and / or block) and add the links as you approve the campaign pages.

If you have some coding skills / resources and want to take a crack at the first option, let us know and we can give you some pointers.
Protect your investment in CiviCRM by  becoming a Member!

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: Does Personal Campaign Page always require a contribution?
April 13, 2009, 05:45:55 am
Thanks, Dave - we'll probably just create the Drupal page with links.


Tracey

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Does Personal Campaign Page always require a contribution?

This forum was archived on 2017-11-26.