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) »
  • Joomla 1.6 undefined calls
Pages: [1]

Author Topic: Joomla 1.6 undefined calls  (Read 1510 times)

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Joomla 1.6 undefined calls
May 15, 2011, 07:47:08 am
Hi,

I’m working on a Joomla 1.5 > 1.6 migration that requires going from CiviCRM 3.3.0 > 4.0.1. Generally the upgrade went fine but I’m experiencing a couple of issues.

1.   Membership dashboard errors with Fatal error: Call to undefined method CRM_Member_BAO_Membership::getMembershipJoins() in /home/bertie/public_html/16/administrator/components/com_civicrm/civicrm/CRM/Member/Page/DashBoard.php on line 110

2.   Viewing a contacts membership tab errors with Fatal error: Call to undefined method CRM_Member_BAO_Membership::getStatusANDTypeValues() in /home/bertie/public_html/16/administrator/components/com_civicrm/civicrm/CRM/Member/Page/Tab.php on line 100

This is bugging the heck out of me as a check around the code shows them as being valid and have the necessary required_once statements.  I deleted all the cache and session info as per http://wiki.civicrm.org/confluence/display/CRMDOC40/Upgrade+Joomla+Sites+to+4.0 but it is still the same. Any ideas?

« Last Edit: May 15, 2011, 08:11:51 am by speleo »

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: Joomla 1.6 undefined calls
May 15, 2011, 08:19:51 am

r u using an php accelerator / op-code cache / zend optimizer?

if so, can u disable that and/or restart that process. If part of the php code, restart apache

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

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: Joomla 1.6 undefined calls
May 15, 2011, 10:11:44 am
Thanks Lobo. My server is set to use Zend. I restarted Apache but it is still the same.

I had a look at the 3.3 function and thats called getStatusANDTypeVaues (note Vaues not Values).  Doesn't make a lot of sense to me.

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: Joomla 1.6 undefined calls [SOLVED]
May 15, 2011, 02:54:41 pm
Beware of using custom PHP and templates and forgetting about it...

Amazing how when everything looks right the problem is actually coming left field. What a dweeb!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Joomla 1.6 undefined calls

This forum was archived on 2017-11-26.