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 to 3.4.0 fails with error in Smarty.php
Pages: [1]

Author Topic: Upgrade to 3.4.0 fails with error in Smarty.php  (Read 1315 times)

thomasat12meter

  • I’m new here
  • *
  • Posts: 21
  • Karma: 1
Upgrade to 3.4.0 fails with error in Smarty.php
April 25, 2011, 09:47:56 pm
Hi,
This is a Drupal 6 installation, currently on 3.0.2.
I am working on upgrading civicrm to 3.4.0.
When running the upgrade script (/civicrm/upgrade?reset=1) I get the following result:
Fatal error: Call to undefined method stdClass::get() in /path-to-drupal/sites/all/modules/civicrm/CRM/Core/Smarty.php on line 120

The drupal files directory is writable.
Can't find any hint in any error logs.
Tried also to upgrade to version 3.3.6 with the same result, which leads me to believe there is some fundamental issue.

Appreciate any pointers.
Tom

thomasat12meter

  • I’m new here
  • *
  • Posts: 21
  • Karma: 1
Re: Upgrade to 3.4.0 fails with error in Smarty.php
April 25, 2011, 10:33:21 pm
wanted to add, the only reference to a similar situation I could find was this:
http://forum.civicrm.org/index.php/topic,17255.msg72997.html#msg72997
but in my case the error persists.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Upgrade to 3.4.0 fails with error in Smarty.php
April 26, 2011, 03:53:05 am
One thing to try is to replace your CiviCRM core files -- perhaps one is missing...
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

thomasat12meter

  • I’m new here
  • *
  • Posts: 21
  • Karma: 1
Re: Upgrade to 3.4.0 fails with error in Smarty.php
April 29, 2011, 06:28:02 am
Hi,
All the files are in place - extracted this from the original tar multiple times.

Is there anyone who has experienced this and found a solution?

Thanks, Thomas

kfogel

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.4.1
  • CMS version: Drupal 6.19
  • MySQL version: MySQL 5.0.51a-24+lenny2 (Debian)
  • PHP version: PHP 5.2.14
Re: Upgrade to 3.4.0 fails with error in Smarty.php
May 14, 2011, 05:16:35 pm
I believe Donald Lobo of CiviCRM has fixed this now.   See the patch in CiviCRM issue CRM-8120.  I'd give the link, but these forums apparently don't allow external links -- it's "issues.civicrm.org SLASH jira SLASH browse SLASH CRM-8120".

thomasat12meter

  • I’m new here
  • *
  • Posts: 21
  • Karma: 1
Re: Upgrade to 3.4.0 fails with error in Smarty.php
June 16, 2011, 06:19:38 am
Hi,
I wanted to close the loop on this. The problem in my instance was:
The site had been migrated from another server and environment. As a result the paths defined under Global Settings > Directories were not valid. This caused the issue descibed above.

Tom

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade to 3.4.0 fails with error in Smarty.php

This forum was archived on 2017-11-26.