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) »
  • Dojo.tpl missing from fresh 3.0 install
Pages: [1]

Author Topic: Dojo.tpl missing from fresh 3.0 install  (Read 2875 times)

matthewpetty

  • Guest
Dojo.tpl missing from fresh 3.0 install
October 07, 2009, 01:24:30 pm
Hey guys -

I installed 3.0 to an existing Drupal 6.14 site, after configuring permissions, I try to access the CiviCRM home and I get this error:

<code>
user warning: Smarty error: unable to read resource: "CRM/common/dojo.tpl" in /home/.tibert/omnicenter_admin/omnicenter.org-6.14/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1094.</code>

In addition, none of the link normally in the CiviCRM menu have been built (admin CiviCRM, links to components, manage groups, etc). However, I am able to access the admin screen by entering the URL.

Note: CiviCRM was installed on this site previously, but it was not being used. I disabled the module, removed the code, and am using a fresh database.
« Last Edit: October 07, 2009, 01:27:15 pm by Matthew Petty »

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: Dojo.tpl missing from fresh 3.0 install
October 07, 2009, 02:32:18 pm
Matthew,

I had an error like that after upgrading from v2.2, but on Joomla!

For me the issue was that (somehow) old templates that had been cached from v2.2 were being referenced.

Find 'em and delete 'em. The directory is something like .../media/civicrm/template_c/en_US/en_US (Delete the directory tree under here.)

Ken

matthewpetty

  • Guest
Re: Dojo.tpl missing from fresh 3.0 install
October 07, 2009, 05:32:47 pm
Thanks for the tip. That worked for me.

Dipesh Jivan

  • Guest
Re: Dojo.tpl missing from fresh 3.0 install
October 23, 2009, 07:48:49 am
Hi

I have been making some configuration to the civi and an error message appears:

 'Smarty error: unable to read resource: "CRM/common/dojo.tpl" in /var/www/vhosts/esn.millertech-civicrm.co.uk/httpdocs/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1094.'

Menu items appear to be duplicated with Civi - any reason to why this has happened?

Currently using version 3 and have deleted the exisiting templates as mentioned below. Is there any way in solving this problem?

Thanks

Dipesh

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Dojo.tpl missing from fresh 3.0 install
October 26, 2009, 12:29:48 am
Does the file /var/www/vhosts/esn.millertech-civicrm.co.uk/httpdocs/sites/all/modules/civicrm/templates/CRM/common/dojo.tpl exist in your install?
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.

benjeewest

  • Guest
Re: Dojo.tpl missing from fresh 3.0 install
November 07, 2009, 03:51:13 am
Hi There,

Just upgraded to 3.0.2 standalone and am having the same problem-

Php error:
Code: [Select]
Warning: Smarty error: unable to read resource: "CRM/common/dojo.tpl" in /home/ukycc/civicrm/packages/Smarty/Smarty.class.php on line 1094
And no admin menus. I've tried deleting the contents of the templates_c folder in order to refresh it, but doesn't seem to work. As the error says, dojo.tpl doesn't exist in CRM/common/dojo.tpl - should it?

Thanks for the help!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Dojo.tpl missing from fresh 3.0 install
November 07, 2009, 07:18:46 am
No - dojo.tpl is no longer part of the codebase.

1. most likely u did not clear the right templates_c

2. if the problem still exists, do a recursive search for dojo.tpl and see which file is including it

lobo
« Last Edit: November 07, 2009, 05:28:47 pm by Dave Greenberg »
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Dojo.tpl missing from fresh 3.0 install

This forum was archived on 2017-11-26.