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) »
  • missing templates - creates most but some are missing
Pages: [1]

Author Topic: missing templates - creates most but some are missing  (Read 453 times)

questions

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 2
  • CiviCRM version: 4.4.6
  • CMS version: Durpal, 7
  • MySQL version: 5.1
  • PHP version: 5.3
missing templates - creates most but some are missing
September 15, 2014, 05:53:25 pm
I'm not sure if this is really the right forum

I have just upgraded to 4.4.6.  I have found that some of the templates are missing in the sites/default/templace_c/civicrm/

It's missing at least these two directories:
en_US//%%01
en_US//%%CA

The first one has the debug ones and the second has at least the one for displaying the email blast report.
I find errors in the log about not being able to open stream because the template doesn't exists.  I find an error for the email report saying Smarty error: problem creating directory.  I tried creating the directories manually with not issues but it still reports it can't create them.  What's odd to me is I deleted the whole en__US directory and everything underneath as suggested.  It recreates all the rest but not these.

Other forum posts suggest open_basedir as an issue but it isn't set on the box plus I think with that problem it doesn't create any of them.  It creates most of them.

I'm not sure how to debug this further.  I'm not really sure what code gets run to create these in the first place.  The error message point to Smarty.class.php but always a line number that is either where it tries to get the template or the chunk of code for reporting the error.  Of course, I don't get a back trace.

I'm not sure this is strictly an upgrade issue.  We moved this site from another server prior to the upgrade from 4.3.5 and it was having similar issues, of course, with different templates.  One of the reasons to upgrade was in test, the upgrade seemed to fix the issue.  Of course, not knowing where all these templates are used, I couldn't look at every menu path and while the upgrade fixed all the ones I knew about, these new ones popped up after upgrading production.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: missing templates - creates most but some are missing
September 15, 2014, 05:54:53 pm
the "_c" stands for "cache". It's essentially a temp folder. I suggest you delete all the contents of templates_c and that should solve your problem.
Try asking your question on the new CiviCRM help site.

questions

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 2
  • CiviCRM version: 4.4.6
  • CMS version: Durpal, 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: missing templates - creates most but some are missing
September 15, 2014, 06:00:41 pm
I suppose I should have put that I deleted all the contents of the templates_c directory at the top of the post instead of buried near the bottom and that it recreates most of them but not all.

BTW. there is nothing in the php log, nor the nginx log.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • missing templates - creates most but some are missing

This forum was archived on 2017-11-26.