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) »
  • Smarty error on fresh install
Pages: [1]

Author Topic: Smarty error on fresh install  (Read 1122 times)

victorsmarch

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.0.1
  • CMS version: 7.0
  • MySQL version: 5.0.32
  • PHP version: 5.2.14
Smarty error on fresh install
May 23, 2011, 11:48:36 pm
Hello. Fresh install of CiviCRM 4 and Drupal 7, install went smoothly. Now I get the following error when I click to the Dashboard or the config settings:

   
Quote
Warning: include(/home/100164/domains/blah.org/html/sites/default/files/civicrm/templates_c/en_US//%%06/06C/06C5296F%%jquery.files.tpl.php) [function.include]: failed to open stream: No such file or directory in Smarty::fetch() (line 1263 of /nfs/c07/h02/mnt/100164/domains/blah.org/html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).
    Warning: include() [function.include]: Failed opening '/home/100164/domains/blah.org/html/sites/default/files/civicrm/templates_c/en_US//%%06/06C/06C5296F%%jquery.files.tpl.php' for inclusion (include_path='.:/home/100164/domains/blah.org/html/sites/all/modules/civicrm:/home/100164/domains/blah.org/html/sites/all/modules/civicrm/packages:.:/usr/local/php-5.2.14-2/share/pear') in Smarty::fetch() (line 1263 of /nfs/c07/h02/mnt/100164/domains/blah.org/html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).
    Warning: include(/home/100164/domains/blah.org/html/sites/default/files/civicrm/templates_c/en_US//%%06/069/0693F89E%%drupal.tpl.php) [function.include]: failed to open stream: No such file or directory in Smarty::fetch() (line 1263 of /nfs/c07/h02/mnt/100164/domains/blah.org/html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).
    Warning: include() [function.include]: Failed opening '/home/100164/domains/blah.org/html/sites/default/files/civicrm/templates_c/en_US//%%06/069/0693F89E%%drupal.tpl.php' for inclusion (include_path='.:/home/100164/domains/blah.org/html/sites/all/modules/civicrm:/home/100164/domains/blah.org/html/sites/all/modules/civicrm/packages:.:/usr/local/php-5.2.14-2/share/pear') in Smarty::fetch() (line 1263 of /nfs/c07/h02/mnt/100164/domains/blah.org/html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).

Commenting out line 1263 just gives me a blank dashboard. Setting permissions of the /files/ folder and subdirectories to 777 didn't change it.

Anyone got any ideas?

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Re: Smarty error on fresh install
May 27, 2011, 05:08:26 pm
The only notably thing in the paths and messages that I notice off-hand is that there is a double // in a few places: ...en_US//%...

It's down a level from where the directories are specified, but still it might be that you provided a trailing slash for the templates_c directory or ???

I'd try reinstalling, but that's mainly because I'm not sure what the problem is.
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Smarty error on fresh install
May 28, 2011, 03:00:59 pm
Check your file permissions on

/home/100164/domains/blah.org/html/sites/default/files/civicrm/templates_c

Seems Apache doesn't have sufficient permissions there.
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.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Smarty error on fresh install

This forum was archived on 2017-11-26.