Uploaded image for project: 'CiviVolunteer'
  1. CiviVolunteer
  2. VOL-85

Enable Volunteer Management fails in WordPress

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.3.2
    • Fix Version/s: None
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      After manual installation of v4.5-1.3.2.zip in a WordPress based setup with CiviCRM 4.5, the Enable Volunteer Management function fails.

      To reproduce after installation of the component.
      --> CiviCRM » CiviEvent Dashboard » Manage Events
      --> Volunteer Tab on a given event
      --> Check the 'Enable Volunteer Management' box then Save

      With debug on the following error is returned:

      backTrace

      #0 //myserverpath/web/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(191): CRM_Core_Error::backtrace()
      #1 [internal function](): CRM_Core_Error::handle(Object(DB_Error))
      #2 //myserverpath/web/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(931): call_user_func((Array:2), Object(DB_Error))
      #3 //myserverpath/web/wp-content/plugins/civicrm/civicrm/packages/DB.php(975): PEAR_Error->PEAR_Error("DB Error: no such table", -18, 16, (Array:2), "INSERT INTO civicrm_volunteer_project (entity_table , entity_id , target_cont...")
      #4 //myserverpath/web/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(564): DB_Error->DB_Error(-18, 16, (Array:2), "INSERT INTO civicrm_volunteer_project (entity_table , entity_id , target_cont...")
      #5 //myserverpath/web/wp-content/plugins/civicrm/civicrm/packages/DB/common.php(1905): PEAR->raiseError(NULL, -18, NULL, NULL, "INSERT INTO civicrm_volunteer_project (entity_table , entity_id , target_cont...", "DB_Error", TRUE)
      #6 //myserverpath/web/wp-content/plugins/civicrm/civicrm/packages/DB/mysql.php(899): DB_common->raiseError(-18, NULL, NULL, NULL, "1146 ** Table 'CIVIDBNAME.log_civicrm_volunteer_project' doesn't exist")
      #7 //myserverpath/web/wp-content/plugins/civicrm/civicrm/packages/DB/mysql.php(328): DB_mysql->mysqlRaiseError()
      #8 //myserverpath/web/wp-content/plugins/civicrm/civicrm/packages/DB/common.php(1216): DB_mysql->simpleQuery("INSERT INTO civicrm_volunteer_project (entity_table , entity_id , target_cont...")
      #9 //myserverpath/web/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(2442): DB_common->query("INSERT INTO civicrm_volunteer_project (entity_table , entity_id , target_cont...")
      #10 //myserverpath/web/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(1060): DB_DataObject->_query("INSERT INTO civicrm_volunteer_project (entity_table , entity_id , target_cont...")
      #11 //myserverpath/web/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(455): DB_DataObject->insert()
      #12 //myserverpath/web/wp-content/plugins/files/civicrm/extensions/org.civicrm.volunteer-4.5-1.3.2/CRM/Volunteer/BAO/Project.php(161): CRM_Core_DAO->save()
      #13 //myserverpath/web/wp-content/plugins/files/civicrm/extensions/org.civicrm.volunteer-4.5-1.3.2/CRM/Volunteer/Form/Volunteer.php(148): CRM_Volunteer_BAO_Project::create((Array:4))
      #14 //myserverpath/web/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(328): CRM_Volunteer_Form_Volunteer->postProcess()
      #15 //myserverpath/web/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Upload.php(158): CRM_Core_Form->mainProcess()
      #16 //myserverpath/web/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Upload.php(129): CRM_Core_QuickForm_Action_Upload->realPerform(Object(CRM_Volunteer_Form_Volunteer), "upload")
      #17 //myserverpath/web/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Upload->perform(Object(CRM_Volunteer_Form_Volunteer), "upload")
      #18 //myserverpath/web/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Volunteer_Form_Volunteer), "upload")
      #19 //myserverpath/web/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(356): HTML_QuickForm_Page->handle("upload")
      #20 //myserverpath/web/wp-content/plugins/civicrm/civicrm/CRM/Utils/Wrapper.php(117): CRM_Core_Controller->run()
      #21 //myserverpath/web/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(304): CRM_Utils_Wrapper->run("CRM_Volunteer_Form_Volunteer", "Manage Volunteer", NULL)
      #22 //myserverpath/web/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(75): CRM_Core_Invoke::runItem((Array:14))
      #23 //myserverpath/web/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
      #24 //myserverpath/web/wp-content/plugins/civicrm/civicrm.php(502): CRM_Core_Invoke::invoke((Array:4))
      #25 [internal function](): CiviCRM_For_WordPress->invoke("")
      #26 //myserverpath/web/wp-includes/plugin.php(505): call_user_func_array((Array:2), (Array:1))
      #27 //myserverpath/web/wp-admin/admin.php(212): do_action("toplevel_page_CiviCRM")
      #28

      {main}

      On this setup, the WordPress database and CiviCRM databases are separate and on a remote mysql server.

      Checking in MYSQL, the table 'civicrm_volunteer_project' does existing in CIVIDBNAME

        Attachments

          Activity

            People

            • Assignee:
              pittstains Frank J. Gómez
              Reporter:
              rex.wickham rex wickham
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: