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) »
  • Discussion »
  • Extensions »
  • CiviVolunteer (Moderators: GinkgoFJG, Michael Z Daryabeygi) »
  • Getting CiviVolunteer working
Pages: [1]

Author Topic: Getting CiviVolunteer working  (Read 1092 times)

robbrandt

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal
  • MySQL version: 5.1.41-3ubuntu12.9
  • PHP version: 5.3.6
Getting CiviVolunteer working
February 11, 2015, 05:02:11 pm
Hi, we are trying out CiviVolunteer for an upcoming annual conference.  We are using CiviCRM 4.5.2 on Drupal, and CiviVolunteer 4.5-1.3.2.  I am aware that 4.5-1.3.3 is out but it requires a newer version of CiviCRM and that's not convenient at the moment.  I have watched the recent webinar video that's been posted.

I have CiviVolunteer installed and the event configured to use volunteers.  In Drupal permissions, I have all permission types, including anonymous, allowed to register to volunteer.

When I try to use the form (create mode, civicrm/profile/create?gid=52&reset=1) as a logged in admin/user entering an unknown contact, the contact gets created but is not registered as a volunteer.  Nor is my logged in admin/user, FWIW.

When I try to use the form anonymously, I get an error:
Sorry but we are not able to provide this at the moment.
The requested Profile (gid=52) is not configured to be used for 'Profile' edit and view forms in its Settings. Contact the site administrator if you need assistance.
Since it's a reserved profile, I can't access any of the form settings to see what's going on.

I've tried uninstalling the re-installing the extension several times to be sure I haven't messed something up during experimentation.

Suggestions?

Michael Z Daryabeygi

  • Moderator
  • I post occasionally
  • *****
  • Posts: 30
  • Karma: 3
    • Ginkgo Street Labs
  • CiviCRM version: 4.x
  • CMS version: drupal 7
  • MySQL version: 5.x
  • PHP version: 5.x
Re: Getting CiviVolunteer working
February 12, 2015, 06:10:44 am
Hello.

I think these are two unrelated issues.

For the anonymous user, check your drupal permissions for "CiviCRM: profile create" and "CiviCRM: profile edit".
I'm pretty sure edit wouldn't be used for an anonymous user. You may need it for authenticated users, but I suspect not... if you are being conservative with permissions.

For the other issue. How are you determining that the contact is not registered to volunteer?
There should be an activity created for the contact and when you go to the "Assign" interface from the Volunteer tab, the contact should appear on the left.

If you still find the problem, you should enable debugging and try to find more information of what is going wrong.

Cheers
Sign up for news on CiviVolunteer Development at http://ginkgostreet.com

Please help us prioritize new Functionality by commenting on the Wiki: http://is.gd/civivol

robbrandt

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal
  • MySQL version: 5.1.41-3ubuntu12.9
  • PHP version: 5.3.6
Re: Getting CiviVolunteer working
February 12, 2015, 09:12:36 am
Thanks.  I am determining that the contact is not registered as a volunteer because there is no Activity for that and they don't show up in the Assign interface.

Michael Z Daryabeygi

  • Moderator
  • I post occasionally
  • *****
  • Posts: 30
  • Karma: 3
    • Ginkgo Street Labs
  • CiviCRM version: 4.x
  • CMS version: drupal 7
  • MySQL version: 5.x
  • PHP version: 5.x
Re: Getting CiviVolunteer working
February 12, 2015, 09:24:37 am
What about the error message? is that resolved by changing the permissions?

We will try to replicate. Please search your error logs for any other clues.
Sign up for news on CiviVolunteer Development at http://ginkgostreet.com

Please help us prioritize new Functionality by commenting on the Wiki: http://is.gd/civivol

robbrandt

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal
  • MySQL version: 5.1.41-3ubuntu12.9
  • PHP version: 5.3.6
Re: Getting CiviVolunteer working
February 12, 2015, 09:28:28 am
Just checked, and the "CiviCRM: profile create" and "CiviCRM: profile edit" items were already checked.

robbrandt

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal
  • MySQL version: 5.1.41-3ubuntu12.9
  • PHP version: 5.3.6
Re: Getting CiviVolunteer working
February 12, 2015, 09:29:57 am
BTW, I did install 4.5-1.3.3 earlier, before discovering the conflict with CiviCRM 4.5.2.  I completely uninstalled and then installed 4.5-1.3.2.

FWIW.

robbrandt

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal
  • MySQL version: 5.1.41-3ubuntu12.9
  • PHP version: 5.3.6
Re: Getting CiviVolunteer working
February 12, 2015, 05:11:30 pm
I've spent some time snooping around the database looking for something obvious.  Not really knowing what to look for, I didn't find anything.  But FWIW, here are backups of the relevant tables I looked at.  Maybe you can see something. Feel free to ask for more.

Michael Z Daryabeygi

  • Moderator
  • I post occasionally
  • *****
  • Posts: 30
  • Karma: 3
    • Ginkgo Street Labs
  • CiviCRM version: 4.x
  • CMS version: drupal 7
  • MySQL version: 5.x
  • PHP version: 5.x
Re: Getting CiviVolunteer working
February 12, 2015, 05:58:04 pm
I wouldn't expect to find anything in the database.
What about enabling debugging?
Administer > System Settings > Debugging and Error Handling.
Sign up for news on CiviVolunteer Development at http://ginkgostreet.com

Please help us prioritize new Functionality by commenting on the Wiki: http://is.gd/civivol

robbrandt

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal
  • MySQL version: 5.1.41-3ubuntu12.9
  • PHP version: 5.3.6
Re: Getting CiviVolunteer working
February 13, 2015, 01:27:24 pm
I have debugging, watchdog and backtrace turned on.

There are no error messages on screen.

Watchdog has some confusing results, which I suppose could point us in the right direction.

There were two entries relating to http://dev.crm.botany.org/civicrm/profile/create

1) Type: php
message: %type: !message in %function (line %line of %file).
variables: a:6:{s:5:"%type";s:6:"Notice";s:8:"!message";s:24:"Undefined index: on_hold";s:9:"%function";s:23:"mailchimp_civicrm_pre()";s:5:"%file";s:122:"/home/crm/domains/dev.domain.org/public_html/sites/all/civicrm_estensions/uk.co.vedaconsulting.mailchimp/mailchimp.php";s:5:"%line";i:304;s:14:"severity_level";i:5;}
location: http://dev.domain.org/civicrm/profile/create
referrer: http://dev.domain.org/civicrm/profile/create?gid=46&reset=1

2) Type: php
message: %type: !message in %function (line %line of %file).
variables: a:6:{s:5:"%type";s:6:"Notice";s:8:"!message";s:28:"Undefined index: is_bulkmail";s:9:"%function";s:23:"mailchimp_civicrm_pre()";s:5:"%file";s:122:"/home/crm/domains/dev.domain.org/public_html/sites/all/civicrm_estensions/uk.co.vedaconsulting.mailchimp/mailchimp.php";s:5:"%line";i:304;s:14:"severity_level";i:5;}
location: http://dev.domain.org/civicrm/profile/create
referrer: http://dev.domain.org/civicrm/profile/create?gid=46&reset=1

Not sure what mailchimp has to do with this...

robbrandt

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal
  • MySQL version: 5.1.41-3ubuntu12.9
  • PHP version: 5.3.6
Re: Getting CiviVolunteer working
February 18, 2015, 03:59:34 pm
I've discovered my problem.

I was trying to use the reserved profile directly (see url I pasted originally) rather than going through the "Volunteer" button on the Event info page.  I was doing this because I wanted to use an html snippet to embed the form in another site, which doesn't seem to be an option in the event-based form.

I watched the recent video on the new version of CiviVolunteer, but not being familiar with how the old one worked I couldn't recognize the difference between seeing new features in 1.4 and not seeing normal stuff in 1.3.2.  In the video, the transition to the Volunteer form was so quick you couldn't even see how it was gotten to, and that it wasn't the actual reserved form.

In any case, I am on my way now...  :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions »
  • CiviVolunteer (Moderators: GinkgoFJG, Michael Z Daryabeygi) »
  • Getting CiviVolunteer working

This forum was archived on 2017-11-26.