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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • New error with CiviMember and Administer CiviCRM
Pages: [1]

Author Topic: New error with CiviMember and Administer CiviCRM  (Read 1319 times)

crayon

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 1
  • CiviCRM version: 3.3.6
  • CMS version: Drupal 6.2
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
New error with CiviMember and Administer CiviCRM
March 20, 2008, 09:43:44 am
I get this error when I click on CiviMember or CiviCRM.  I never had it before:

    * user error: Smarty error: unable to write to $compile_dir '/home/earthsav/public_html/donations/files/civicrm/templates_c/en_US'. Be sure $compile_dir is writable by the web server user. in /home/earthsav/public_html/donations/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1095.
    * warning: Smarty::include(/home/earthsav/public_html/donations/files/civicrm/templates_c/en_US//%%E4/E4D/E4DECB8D%%DashBoard.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory in /home/earthsav/public_html/donations/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1871.
    * warning: Smarty::include() [function.include]: Failed opening '/home/earthsav/public_html/donations/files/civicrm/templates_c/en_US//%%E4/E4D/E4DECB8D%%DashBoard.tpl.php' for inclusion (include_path='.:/home/earthsav/public_html/donations/sites/all/modules/civicrm:/home/earthsav/public_html/donations/sites/all/modules/civicrm/packages:.:/usr/lib/php:/usr/local/lib/php') in /home/earthsav/public_html/donations/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1871.


emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: New error with CiviMember and Administer CiviCRM
March 20, 2008, 09:56:22 am
It looks like it is having problems with your templates_c folder. Check permissions on that folder which lives here:

/home/earthsav/public_html/donations/files/civicrm/templates_c

It needs to be writable by the webserver. You can also start by completly clearing it's contents (it's the Smarty cache that CiviCRM uses).

If you can't make it work properly, start by giving that directoy 777 permissions (and clearing the contents of it). If that gets rid of the answer, then just make it owned and writable by the webserver. You should *probably* not leave it as 777 if you can help it.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • New error with CiviMember and Administer CiviCRM

This forum was archived on 2017-11-26.