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 4.3.2 missing ActionButtons.tpl?
Pages: [1]

Author Topic: upgrade to 4.3.2 missing ActionButtons.tpl?  (Read 713 times)

civi5

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 3
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: MySQL 5
  • PHP version: 5.3.6
upgrade to 4.3.2 missing ActionButtons.tpl?
May 05, 2013, 06:42:45 pm
I just upgraded to 4.3.2 and I was met with a smarty error saying that smarty could not find CRM/contact/form/actionButtons.tpl.   I did a quick look and there is not a template file in the template directory for actionButtons.  I downloaded CiviCRM4.3.0 and looked in there and the same actionbuttons.tpl file is missing as well.  I took an old copy from my 4.2.8 version and put it in the correct folder.  This solved the problem but I want to be sure I didnt introduce incompatibility bugs using this older version.  Is actionButtons being phased on out 4.3? Its possible a custom template that I have setup has an old reference in it but I could not see anything. 

Anyone know what the status of actionbuttons.tpl is? 

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: upgrade to 4.3.2 missing ActionButtons.tpl?
May 05, 2013, 08:16:54 pm
In most cases this is caused by a stale template cache post-upgrade. Try deleting the contents of your template_c folder after upgrading to 4.3
Try asking your question on the new CiviCRM help site.

civi5

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 3
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: MySQL 5
  • PHP version: 5.3.6
Re: upgrade to 4.3.2 missing ActionButtons.tpl?
May 06, 2013, 09:33:45 am
Well clearing the templates_c did not solve it unfortunately.

For now I just put the old version 4.2.8 actionButtons.tpl file in the folder and everything seems to work well. 

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: upgrade to 4.3.2 missing ActionButtons.tpl?
May 06, 2013, 10:33:45 am
This is the first I've heard of this issue so it may be specific to your setup, but just to make sure, could you enable debugging and give the backtrace when you get that error?
Try asking your question on the new CiviCRM help site.

civi5

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 3
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: MySQL 5
  • PHP version: 5.3.6
Re: upgrade to 4.3.2 missing ActionButtons.tpl?
May 06, 2013, 10:43:48 am
The exact error is

    User warning: Smarty error: unable to read resource: "CRM/Contact/Form/ActionsButton.tpl" in Smarty->trigger_error() (line 1093 of.../civicrm/packages/Smarty/Smarty.class.php).
    User warning: Smarty error: unable to read resource: "CRM/Contact/Form/ActionsButton.tpl" in Smarty->trigger_error() (line 1093 of.../civicrm/packages/Smarty/Smarty.class.php).


It seems to be looking in the CRM/Contact/Form for ActionsButton.tpl.  That file existed on the old 4.2.8 version I was running but I do not see the same file on either 4.3.0, 4.3.1 nor 4.3.2.  I removed the files in the template_c folder and it still gives that error.  Is there a setting that is cached in the DB perhaps that is telling it to look for that file?
« Last Edit: May 06, 2013, 01:36:26 pm by civi5 »

civi5

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 3
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: MySQL 5
  • PHP version: 5.3.6
Re: upgrade to 4.3.2 missing ActionButtons.tpl?
May 07, 2013, 09:44:08 am
Good news I got it resolved.  These are the steps I took last night when everyone was off.  I flushed the drupal caches, cleared the civicrm caches, truncated the civicm_cache table, removed all the files in the template_c folder, and rebooted the server.

Now when I load the page I get the action menu without the error message.  I am not sure which specific step cured it as most of that seems redundant but it solved the problem for me. 

TobiasLounsbury

  • I’m new here
  • *
  • Posts: 5
  • Karma: 1
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7.17
  • MySQL version: 5.5.24
  • PHP version: 5.3
Re: upgrade to 4.3.2 missing ActionButtons.tpl?
May 13, 2013, 12:00:20 pm
Just in case anyone else runs into this problem and Googles their way to this thread. The other reason you can run into this error is that you can have a custom template that is out of date in your custom templates folder that is still trying to include the actions button.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrade to 4.3.2 missing ActionButtons.tpl?

This forum was archived on 2017-11-26.