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) »
  • Installation of CiviVolunteer seems incomplete
Pages: [1]

Author Topic: Installation of CiviVolunteer seems incomplete  (Read 2185 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Installation of CiviVolunteer seems incomplete
February 28, 2014, 09:16:33 pm
I am running CiviCRM version 4.4.4 and I tried installing CiviVolunteer version 1.3.

CiviVolunteer seems to be installed ( ie the manage extensions page shows it as installed, and I can activate volunteering for various events) BUT if I click on the buttons such as "Define Volunteer Needs" or "Assign Volunteer Hours" nothing happens.  If I click the button "Log Volunteer Hours" I get the error:

Code: [Select]
CiviCRM_API3_Exception: "Expected one CustomGroup but found 0"

#0 /home/nsteorg/public_html/pogstone_extensions/org.civicrm.volunteer/CRM/Volunteer/BAO/Assignment.php(242): civicrm_api3("CustomGroup", "getsingle", (Array:4))
#1 /home/nsteorg/public_html/pogstone_extensions/org.civicrm.volunteer/CRM/Volunteer/BAO/Assignment.php(264): CRM_Volunteer_BAO_Assignment::getCustomGroup()
#2 /home/nsteorg/public_html/pogstone_extensions/org.civicrm.volunteer/CRM/Volunteer/BAO/Assignment.php(64): CRM_Volunteer_BAO_Assignment::getCustomFields()
#3 /home/nsteorg/public_html/pogstone_extensions/org.civicrm.volunteer/CRM/Volunteer/Form/Log.php(66): CRM_Volunteer_BAO_Assignment::retrieve((Array:1))
#4 /home/nsteorg/public_html/sites/all/modules/civicrm/CRM/Core/Form.php(351): CRM_Volunteer_Form_Log->preProcess()
#5 /home/nsteorg/public_html/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php(93): CRM_Core_Form->buildForm()
#6 /home/nsteorg/public_html/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Volunteer_Form_Log), "display")
#7 /home/nsteorg/public_html/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Volunteer_Form_Log), "display")
#8 /home/nsteorg/public_html/sites/all/modules/civicrm/CRM/Core/Controller.php(345): HTML_QuickForm_Page->handle("display")
#9 /home/nsteorg/public_html/sites/all/modules/civicrm/CRM/Utils/Wrapper.php(117): CRM_Core_Controller->run()
#10 /home/nsteorg/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php(297): CRM_Utils_Wrapper->run("CRM_Volunteer_Form_Log", "Batch Data Entry for Logging Volunteer", NULL)
#11 /home/nsteorg/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php(72): CRM_Core_Invoke::runItem((Array:14))
#12 /home/nsteorg/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#13 /home/nsteorg/public_html/sites/all/modules/civicrm/drupal/civicrm.module(405): CRM_Core_Invoke::invoke((Array:3))
#14 [internal function](): civicrm_invoke("volunteer", "loghours")
#15 /home/nsteorg/public_html/includes/menu.inc(348): call_user_func_array("civicrm_invoke", (Array:2))
#16 /home/nsteorg/public_html/index.php(18): menu_execute_active_handler()
#17 {main}

BTW: I noticed the option group "volunteer_role" was missing, so I created it by hand. But this had no impact on my issue.    Also if I click "search ... find activities" none of the new CiviVolunteer choices are there.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

GinkgoFJG

  • Moderator
  • I post frequently
  • *****
  • Posts: 135
  • Karma: 4
    • Ginkgo Street Labs
Re: Installation of CiviVolunteer seems incomplete
March 01, 2014, 07:05:58 pm
Hi, epg,

I'm unable to reproduce this problem on 4.4.4 with 1.3. Folks have reported issues installing CiviVolunteer on multilingual installs. Are you by chance running Civi in multiple languages?

Did you get any errors during the install of CiviVolunteer? If you didn't get anything on-screen, you may find something in ConfigAndLog. Assuming you're running Drupal, you'd find that in sites/default/files/civicrm/ConfigAndLog/CiviCRM.{some-hash}.log. This probably doesn't matter, but what CMS are you running?

How far along did the install process get? You should have two new tables in your database: civicrm_volunteer_need and civicrm_volunteer_project.
Are you a CiviVolunteer user? Join the CiviVolunteer 2.0 Matching Grant effort to help the project win $15,000 in grant funding.

Flaf

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.6.4
  • CMS version: WordPress 4.2.2
  • MySQL version: 5.1.69
  • PHP version: 5.3.3
Re: Installation of CiviVolunteer seems incomplete
March 05, 2014, 05:52:23 am
I have notice the same behavior.
I don't have the time, at the moment, to do a extensive search but I confirm the same behavior on a  4.4.1 CIVICRM after upgrading CiviVunteer from 1.2 to 1.3

My setup is:
Wordpress 3.8.1
CiviCRM .4.4.1 ( in French, not multi language )

So it may not be related to CIVICRM 4.4.4 but more likely something that changed between CiviVolunteer 1.2 and 1.3
« Last Edit: March 05, 2014, 05:54:21 am by Flaf »

GinkgoFJG

  • Moderator
  • I post frequently
  • *****
  • Posts: 135
  • Karma: 4
    • Ginkgo Street Labs
Re: Installation of CiviVolunteer seems incomplete
March 07, 2014, 03:15:43 pm
So, epg, your issue is on a fresh install of CiviVolunteer 1.3, and, flaf, yours happens on upgrade from 1.2 to 1.3?
Are you a CiviVolunteer user? Join the CiviVolunteer 2.0 Matching Grant effort to help the project win $15,000 in grant funding.

Flaf

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.6.4
  • CMS version: WordPress 4.2.2
  • MySQL version: 5.1.69
  • PHP version: 5.3.3
Re: Installation of CiviVolunteer seems incomplete
April 11, 2014, 09:46:23 am
After upgrading to CiviCRM 4.4.4 I still have the same behavior (or lack of it) in CiviVolunteer.

Flaf

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.6.4
  • CMS version: WordPress 4.2.2
  • MySQL version: 5.1.69
  • PHP version: 5.3.3
Re: Installation of CiviVolunteer seems incomplete (one way to fix)
April 12, 2014, 05:05:55 am
Finally got it to work but the solution was not the most palatable one.

After many unsuccessful attenpt to make it work ( index refresh, upgrade Wordpress, upgrade CiviCRM to 4.4.4 )

1- I did a TOTAL removal of the extension. That include manually flushing the directory after uninstalling the extension from the CiviCRM estension manager menu.
(this was forced on us because just doing a uninstall/reinstall without the manual cleanup resulted in a broken CiviVolunteer that was totally unusable)
2- Fetch a fresh copy of the install file from the extension manager in CiviCRM
3- Run the install as a new extension

It is now working fine !

BUT .......

All previous data from pass event volunter registration and all the volunteer role created prior to the fix where LOST ! (This is the normal behavior when uninstalling an extension but it is kind of frustrating)

I suspect that in my case the problem came from the many manual upgrade to CiviVolunteer that where done in Dec. when some custom code was develop and added to our system before they became available in the official release.

I'm now looking forward to a bright future for CiviVolunteer in our org.

As we say "growing pain are still better than not growing at all"

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions »
  • CiviVolunteer (Moderators: GinkgoFJG, Michael Z Daryabeygi) »
  • Installation of CiviVolunteer seems incomplete

This forum was archived on 2017-11-26.