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) »
  • 2.1.2 Upgrade Problems
Pages: [1]

Author Topic: 2.1.2 Upgrade Problems  (Read 5689 times)

MikeKlev

  • I’m new here
  • *
  • Posts: 15
  • Karma: 1
2.1.2 Upgrade Problems
November 20, 2008, 07:37:35 pm
I just upgraded to 2.1.2.  I followed the "Upgrade to a New Revision - Joomla" instructions.  I received the appropriate messages in step 10: "Upgrade Successful" and "Menu has been rebuilt."  I completed the debugging process but I didn't see any error message.  Firebug listed 3 errors on the bottom of the page.  When I open any CiviCRM page the same 3 errors appear.  The messages are copied at the end of this post.

A little background: My first install of CiviCRM was 2.1.0 which worked perfectly.  After having some problems because of mistakes I made migrating my site from one location on my server to another, I needed to reinstall CiviCRM so I upgraded to 2.1.1.  I had the two problems described below and quite a few more.  Fixing some improper URL's in my database table fixed everything except the Contact Dashboard which hasn't worked since 2.1.0.

I sought help on the Post-installation Setup and Configuration forum. for my previous problems.  Here's my post and the responses.  My last post is still looking for help with the Contact Dashboard issue.  http://forum.civicrm.org/index.php/topic,5493.0.html

Here are the two problems I'm having:

#1 Missing Contact Menu
 
When I view a contact the menu with "Summary / Contribute / Pledges / Memberships / Events / Activities / ..." is missing.  It was working prior to the upgrade.

#2 The Contact Dashboard Isn't Working

I was having this problem with 2.1.1.   

This is the error message I get when I select the Contact Dashboard in either the backend or the frontend. 

"Sorry. A non-recoverable error has occurred.
Invalid value passed to getPayment function"


I really need some help.  I don't have a clue how to proceed to address these issues. 

Below is what I'm running on. It does appear that my hosting company had upgraded the MySQL version from 5.0.47 to 5.0.67.

Mike



Joomla 1.5.7
CiviCRM 2.1.2
Apache version   2.2.9 (Unix)
PHP version   5.2.6
MySQL version 5.0.67-community-log



Error messages recorded by FireBug when any CiviCRM page is opened.

#1 Firebug's log limit has been reached. %S entries not shown.      Preferences   
failed loading http://bridgesoc.org/administrator/components/com_civicrm/civicrm/packages/dojo/dojo/./nls/commonWidgets_en-us.js with error: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "http://bridgesoc.org/administrator/components/com_civicrm/civicrm/packages/dojo/dojo/dojo.js Line: 20"]

#2 Could not load 'dojo.nls.commonWidgets_en-us'; last tried './nls/commonWidgets_en-us.js'
[Break on this error] (function(){var _1=null;if((_1||(typeof ...equire,"dojo['require'](item);");}}})();
dojo.js (line 20)

#3 [Exception... "'Error: Bundle not found: validate in dijit.form , locale=en-us' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]


Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: 2.1.2 Upgrade Problems
November 21, 2008, 01:53:58 am
Quote
#1 Missing Contact Menu
 
When I view a contact the menu with "Summary / Contribute / Pledges / Memberships / Events / Activities / ..." is missing.  It was working prior to the upgrade.

These are the few steps that you could try -
1. Go to "Administer CiviCRM >> Global Settings >>Debugging" and switch on "Display Backtrace" and "Enable Debugging".
2. Reset config by visitng a url like - http://_path_to_civicrm_/admin/setting?reset=1&configReset=1 (note the configreset).
3. clear templates_c as suggested here

Quote
#2 The Contact Dashboard Isn't Working

I was having this problem with 2.1.1.   

This is the error message I get when I select the Contact Dashboard in either the backend or the frontend.

"Sorry. A non-recoverable error has occurred.
Invalid value passed to getPayment function"

No idea on this, but switching on the backtrace (using step1) will give you more clues/details, and tracing down will help identify the problem.

« Last Edit: November 21, 2008, 06:07:32 am by Deepak Srivastava »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

MikeKlev

  • I’m new here
  • *
  • Posts: 15
  • Karma: 1
Re: 2.1.2 Upgrade Problems
November 21, 2008, 05:55:42 am
Deepak,

Thanks for the suggestion.  Would you please send me the Reset config URL format for a Joomla install?  I'm not using Drupal.  Then I'll give your suggestions a try.

Mike

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: 2.1.2 Upgrade Problems
November 21, 2008, 06:12:59 am
(I have changed the url to reflect the idea.)

For joomla it would be sth like -
http://path_to_joomla/administrator/index2.php?option=com_civicrm&task=civicrm/admin&reset=1&configReset=1

The other way you could use the following query on your db -
Code: [Select]
UPDATE civicrm_domain SET config_backend= NULL;
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

MikeKlev

  • I’m new here
  • *
  • Posts: 15
  • Karma: 1
Re: 2.1.2 Upgrade Problems
November 21, 2008, 06:47:19 am
Deepak,

I followed your instructions and problem #1 (Missing Contact Menu) is fixed.  The menu is back!  Thanks!

I did a back trace on my Contact Dashboard Error Message (Problem #2).  Below is the back trace report.  Any suggestions?

Mike



backTrace
/home/primary/public_html/domain.org/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 260
/home/primary/public_html/domain.org/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/PaymentProcessor.php, fatal, 155
/home/primary/public_html/domain.org/administrator/components/com_civicrm/civicrm/CRM/Contribute/BAO/ContributionRecur.php, getPayment, 134
/home/primary/public_html/domain.org/administrator/components/com_civicrm/civicrm/CRM/Contribute/Page/UserDashboard.php, getPaymentProcessor, 100
/home/primary/public_html/domain.org/administrator/components/com_civicrm/civicrm/CRM/Contribute/Page/UserDashboard.php, listContribution, 129
/home/primary/public_html/domain.org/administrator/components/com_civicrm/civicrm/CRM/Contact/Page/View/UserDashBoard.php, run, 146
/home/primary/public_html/domain.org/administrator/components/com_civicrm/civicrm/CRM/Contact/Page/View/UserDashBoard.php, buildUserDashBoard, 192
/home/primary/public_html/domain.org/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, run, 197
/home/primary/public_html/domain.org/administrator/components/com_civicrm/admin.civicrm.php, invoke, 45
/home/primary/public_html/domain.org/administrator/components/com_civicrm/admin.civicrm.php, civicrm_invoke, 22
/home/primary/public_html/domain.org/libraries/joomla/application/component/helper.php, require_once, 162
/home/primary/public_html/domain.org/administrator/includes/application.php, renderComponent, 130
/home/primary/public_html/domain.org/administrator/index.php, dispatch, 67
/home/primary/public_html/domain.org/administrator/index2.php, include, 14





Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: 2.1.2 Upgrade Problems
November 21, 2008, 07:52:25 am
Looks like you do not have payment processor set for "contribution pages, which are setup for recurring contributions". Setting them up might solve your problem.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

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: 2.1.2 Upgrade Problems
November 21, 2008, 07:55:14 am

seems like you have some recurring contributions in the db that do not have a payment processor associated with it. a couple of questions:

1. did u have any recurring contributions before the upgrade

2. did u create any of these contributions manually?

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

MikeKlev

  • I’m new here
  • *
  • Posts: 15
  • Karma: 1
Re: 2.1.2 Upgrade Problems
November 21, 2008, 08:53:58 am
Before the upgrade from 2.1.0 to 2.1.1 I experimented with some contribution pages.  I currently have one online contribution page that works and another left over from my experimenting. 

I created this practice contribution page before the upgrade from 2.1.0 to 2.1.1 but I don't use it. 

I tried deleting the practice contribution page just now but I received a message saying You cannot delete this Contribution Page because it has already been used to submit a contribution or membership payment.

I searched all of the individual contributions so I could delete the any contributions made by this page, but there were none.  I did see contributions from the contribution page that is functioning.

So, there is no contribution for the practice contribution page even though trying to delete the contribution page says there is one.  Does that mean I'll have to delete the contribution from the DB? If so, do I find the contribution in the DB?

I appreciate your help.  I think we're close to a solution.

Mike

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: 2.1.2 Upgrade Problems
November 21, 2008, 09:56:10 am

can you send your db to deepak at webaccess dot co dot in

we'll take a look at it and get back :)

thanx

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

MikeKlev

  • I’m new here
  • *
  • Posts: 15
  • Karma: 1
Re: 2.1.2 Upgrade Problems
December 10, 2008, 11:53:59 am
Deepak and lobo,

Thank you for your help.  My Contact Dashboard is up and running again.  I discovered that other registered users could view the contact dashboard with they were logged in.  I could also view the contact dashboard for all other user in the back end.  I only received the error message (see post above) when I tried to access the contact dashboard either through the front end or the back end. 

So I created another user account for myself, gave that account super administrator access, and then deleted my original user account in CiviCRM and in the Joomla user group area.  I then re-entered all of my contact info into CiviCRM under the new account and I'm up and running. 

I have no idea why I had a problem with the contact dashboard, but everything is working fine now.

I really appreciate your help and I am very thankful for CiviCRM!

Mike

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • 2.1.2 Upgrade Problems

This forum was archived on 2017-11-26.