Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-14145

Error when saving Campaign Widget

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 4.4.3
    • Fix Version/s: None
    • Component/s: CiviCampaign
    • Labels:
      None

      Description

      I am using drupal 7.26, Civicrm 4.3.4, PHP-FPM 5.3
      When I first time create a campaign widget, it works fine. But If I make some changes in widget and Click any of the button (Save, cancel, save & preview...) it throws an error and brings a blank page with "data;," in address bar.

      If I use the widget code to create a page in drupal, also getting the same response (blank page) and the page is not saving.
      Here is the error log from civicrm

      2014/01/30 11:00:04 [warn] 5541#0: *15 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000003, client: 192.168.1.108, server: localhost, request: "POST /civicrm/admin/contribute/widget HTTP/1.1", host: "localhost", referrer: "https://localhost/civicrm/admin/contribute/widget?reset=1&action=update&id=1"

      Jan 30 10:59:53 [info] $Fatal Error Details = Array
      (
      [message] =>
      [code] =>
      )

      Jan 30 10:59:53 [info] $backTrace = #0 /srv/www/html/sites/all/modules/civicrm/CRM/Core/Error.php(322): CRM_Core_Error::backtrace("backTrace", TRUE)
      #1 /srv/www/html/sites/all/modules/civicrm/CRM/Core/DAO.php(744): CRM_Core_Error::fatal()
      #2 /srv/www/html/sites/all/modules/civicrm/CRM/Contribute/Form/ContributionPage/Widget.php(64): CRM_Core_DAO::getFieldValue("CRM_Contribute_DAO_ContributionPage", NULL, "title")
      #3 /srv/www/html/sites/all/modules/civicrm/CRM/Core/Form.php(351): CRM_Contribute_Form_ContributionPage_Widget->preProcess()
      #4 /srv/www/html/sites/all/modules/civicrm/CRM/Core/StateMachine.php(136): CRM_Core_Form->buildForm()
      #5 /srv/www/html/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Next.php(60): CRM_Core_StateMachine->perform(Object(CRM_Contribute_Form_ContributionPage_Widget), "next", "Next")
      #6 /srv/www/html/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Contribute_Form_ContributionPage_Widget), "next")
      #7 /srv/www/html/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contribute_Form_ContributionPage_Widget), "next")
      #8 /srv/www/html/sites/all/modules/civicrm/CRM/Core/Controller.php(345): HTML_QuickForm_Page->handle("next")
      #9 /srv/www/html/sites/all/modules/civicrm/CRM/Utils/Wrapper.php(117): CRM_Core_Controller->run()
      #10 /srv/www/html/sites/all/modules/civicrm/CRM/Core/Invoke.php(297): CRM_Utils_Wrapper->run("CRM_Contribute_Form_ContributionPage_Widget", "Configure Widget", NULL)
      #11 /srv/www/html/sites/all/modules/civicrm/CRM/Core/Invoke.php(72): CRM_Core_Invoke::runItem((Array:13))
      #12 /srv/www/html/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
      #13 /srv/www/html/sites/all/modules/civicrm/drupal/civicrm.module(456): CRM_Core_Invoke::invoke((Array:4))
      #14 [internal function](): civicrm_invoke("admin", "contribute", "widget")
      #15 /srv/www/html/includes/menu.inc(517): call_user_func_array("civicrm_invoke", (Array:3))
      #16 /srv/www/html/index.php(21): menu_execute_active_handler()
      #17

      {main}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tapash Tapash Datta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: