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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Views trouble on upgrade to 3.1
Pages: [1]

Author Topic: Views trouble on upgrade to 3.1  (Read 1817 times)

akasman

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 2
  • CiviCRM version: 3.4.5
  • CMS version: Drupal
Views trouble on upgrade to 3.1
February 02, 2010, 07:39:54 pm
Drupal: 6.8
PHP: 5.2.6
Views: 6.x-2.8

I am attempting to upgrade my CiviCRM 3.0.2 installation to 3.1.  I believe that I have followed the installation instructions carefully.

When I attempt to hit the upgrade url, I get the following error:

  http://<your_drupal_home>/civicrm/upgrade?reset=1

Fatal error: Call to a member function get_handlers() on a non-object in /webapps/d6/sites/all/modules/views/includes/view.inc on line 372
and no other content displayed:
I have deleted files under templates_c.

I am able to revert to 3.0.2 successfully. However,  I notice if I hit the upgrade path on my existing 3.0.2 site I get the same error. Otherwise, my 3.0.2 site seems to be ok.

Has anyone else run into something similar or have any suggestions? 

Thanks,

Aaron

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Views trouble on upgrade to 3.1
February 03, 2010, 02:52:15 am
Hm, haven’t encountered this one before. You can try disabling the views, then upgrading and re-enabling them again.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

akasman

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 2
  • CiviCRM version: 3.4.5
  • CMS version: Drupal
Re: Views trouble on upgrade to 3.1
February 18, 2010, 09:00:37 am
Turns out this seems to have been related to this issue around "Failed opening required 'CRM/Contact/Page/View/DashBoard.php' "  http://forum.civicrm.org/index.php/topic,12061.0.html.

After I disabled views, I could run the upgrade script and get rid of the DashBoard.php error. I then reenabled views.  Seems to be working nicely now.

Thanks,

Aaron

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Views trouble on upgrade to 3.1

This forum was archived on 2017-11-26.