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) »
  • Fatal Errors after upgrading
Pages: [1]

Author Topic: Fatal Errors after upgrading  (Read 1438 times)

MydKnight

  • Guest
Fatal Errors after upgrading
June 22, 2010, 08:29:04 pm
I just upgraded to civi 3.1.5 and thought things went generally smooth, but I am getting errors on many of my civicrm pages (too many to list here, but at the least the event dashboard, find contacts menu, and many others. Others seem to work, such as register event participant. The errors are all of the same format, for instance, when I click on find contact I get this error:

Fatal error: Class 'CRM_Contact_Form_Task_Print' not found in /home/abcbmc/public_html/abcsql5/sites/all/modules/civicrm/CRM/Core/Controller.php on line 367

When I click on Event Dashboard, I get this one:

Fatal error: Class 'CRM_Core_Form' not found in /home/abcbmc/public_html/abcsql5/sites/all/modules/civicrm/CRM/Event/Form/Search.php on line 48

all of them are various classes not found errors. Has anyone got any feedback on this kind of error? Help very appreciated.

xcf33

  • I post frequently
  • ***
  • Posts: 181
  • Karma: 7
  • CiviCRM version: 3.3.2
  • CMS version: Drupal 6.19/6.20
  • MySQL version: 5.x
  • PHP version: 5.2.6
Re: Fatal Errors after upgrading
June 22, 2010, 09:22:50 pm
You will probably have to provide us with the full log, (Maybe you can attach it here).

Did you follow the upgrade guide and replaced the whole code base with civicrm 3.15?

You should always clean out the old installation code base (either move it up one directory or just delete the whole "civicrm" directory)


The errors from what you described is due to missing class library files required for certain functions.

Also it would be helpful to let us know what version of CiviCRM you are upgrading from.


Best,


Cheers

MydKnight

  • Guest
Re: Fatal Errors after upgrading
June 22, 2010, 09:40:10 pm
Unfortunatley, I am not sure what version of civicrm I came from, but it was several revisions ago (still a 3.x however). As for the logs, point me in the direction of the ones you need, and I will get and attach them.

Yes, I followed the upgrade procedure as exactly as I could. I removed the previous civicrm folder and unzipped the new one in its place. Thats part of why I am confused as to it telling me that it is missing class libraries. I am hoping that the log files will help straighten things out. Where can I get those?

MydKnight

  • Guest
Re: Fatal Errors after upgrading
June 23, 2010, 07:24:56 am
So, hopefully this helps a bit. I was digging some more this morning, specifically into the error I get when I click the event dashboard:

Fatal error: Class 'CRM_Core_Form' not found in /home/abcbmc/public_html/abcsql5/sites/all/modules/civicrm/CRM/Event/Form/Search.php on line 48

So I figure, lets look and see whats there. I hit the search.php script and scroll down to line 48. There is indeed a class extending another class there. Someone told me in the chat room last night that I can find the base classes by replacing the _ with / to get to the files. So I go looking for CRM/Core/Form.php....which I also find, and which looks good to me. So my thought is...something tells the system to do that conversion of _ to / to get to its files...perhaps that is whats broken? The file does indeed exist, and has code in it, but Civi seems unable to find it. Anyone know if that is actually my problem? I am also still looking for those log files requested...anyone who can give me info on them, please do.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal Errors after upgrading
June 23, 2010, 11:40:34 pm
Are you on php 5.0 ? If yes please try upgrading to 5.2.x and check if that helps.

Kurund
Found this reply helpful? Support CiviCRM

MydKnight

  • Guest
Re: Fatal Errors after upgrading
June 24, 2010, 08:39:49 am
Unfortunately...no dice on that front. At 5.2.9 now. Any other possible ideas floating around out there? Is there a process somewhere that would let me backup the data of my civi database and do a completely fresh install, then reload the data back in once i verify that everything is working?

xcf33

  • I post frequently
  • ***
  • Posts: 181
  • Karma: 7
  • CiviCRM version: 3.3.2
  • CMS version: Drupal 6.19/6.20
  • MySQL version: 5.x
  • PHP version: 5.2.6
Re: Fatal Errors after upgrading
June 28, 2010, 08:30:08 pm
What kind of data do you currently have on your (half-working) upgraded version?

If you mainly just have contact and activity data, you can always export them and import them into a fresh install, but if you have a lot of non-exportable data it would be harder.

MydKnight

  • Guest
Re: Fatal Errors after upgrading
June 29, 2010, 11:58:38 am
Its all contact data and event registration data. At this point I have only used civi for contact and event management.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal Errors after upgrading
June 29, 2010, 12:29:12 pm
Bit strange, can you check if permissions are correct for civicrm folder, make sure all the files under this folder can be accessed by web server.

Kurund
Found this reply helpful? Support CiviCRM

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Fatal Errors after upgrading
July 13, 2010, 11:39:19 pm
have you tried clearing out your templates_c directory?
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Fatal Errors after upgrading

This forum was archived on 2017-11-26.