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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrade 4.3.7 to 4.4 missing set.php error
Pages: [1]

Author Topic: upgrade 4.3.7 to 4.4 missing set.php error  (Read 984 times)

civi5

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 3
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: MySQL 5
  • PHP version: 5.3.6
upgrade 4.3.7 to 4.4 missing set.php error
November 03, 2013, 09:57:43 am
I just upgraded from 4.3.7 to 4.4 and all went smoothly.  However when I try to view one of the contribution pages I get the following error:
require_once(): Failed opening required 'CRM/Price/BAO/Set.php'

It seems to be looking for an old file structure that does not exist anymore as there is a priceset.php but not a Set.php.

Even if I dont have a price set enabled I get the error. 

I flushed the caches thinking an old template might be referencing old code but I cant seem to get it to work.

Any suggestions on where to start looking?  Everything else in 4.4 seems to work correctly.

I resaved all the contribution pages and they still thrown the error. Even if I create a new page with no price sets it still throws the error once I enable contribution or memberships on the contribution page.

civi5

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 3
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: MySQL 5
  • PHP version: 5.3.6
Re: upgrade 4.3.7 to 4.4 missing set.php error
November 03, 2013, 10:27:25 am
Found the problem.  There was some custom code in the custom code directory that was based off the old 4.2 files.  These will need to be updated to version 4.3. 
I removed the custom code and now all new contribution pages load but anytime I try to load the old pages they hang until php times out. I will keep looking into the old pages to see what I can find out is causing the hang and will report back.

If anyone has and suggestions please let me know

civi5

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 3
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: MySQL 5
  • PHP version: 5.3.6
Re: upgrade 4.3.7 to 4.4 missing set.php error
November 03, 2013, 11:51:37 am
Last bit was resolved as well. Turns out it was a problem with
max_allowed_packet in mysql. I was running with the default and that worked previously but now in 4.4 it does not work anymore.  I bumped it up to 32MB and then everything just worked.  It was having problems specifically with an inset on the cache table.

Stuart Parker

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
  • CiviCRM version: 4.5.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.63
  • PHP version: 5.2.14
Re: upgrade 4.3.7 to 4.4 missing set.php error
November 05, 2013, 06:15:46 am
I also got this problem with CiviDiscount v2.2 enabled for running Civi 4.4.0. When I disabled that extension, it went away.

In extensions/org.civicrm.module.cividiscount-2.1/CDM/Utils.php you need this patch if you want to run CiviDiscount v2.2:

-     if (CRM_Core_DAO::getFieldValue('CRM_Price_DAO_Set', $priceSetId, 'is_quick_config')) {
+    if (CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceSet', $priceSetId, 'is_quick_config')) {

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: upgrade 4.3.7 to 4.4 missing set.php error
November 05, 2013, 07:09:03 am

can u please file an issue on the github issue tracker for this module please

thanx for figuring out and locating this issue


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

Stuart Parker

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
  • CiviCRM version: 4.5.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.63
  • PHP version: 5.2.14
Re: upgrade 4.3.7 to 4.4 missing set.php error
November 05, 2013, 09:07:28 am
Yep, have filed an issue here:
https://github.com/dlobo/org.civicrm.module.cividiscount/issues/27

Stuart

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrade 4.3.7 to 4.4 missing set.php error

This forum was archived on 2017-11-26.