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) »
  • Error: Could not create directory...templates_c
Pages: [1]

Author Topic: Error: Could not create directory...templates_c  (Read 1103 times)

jamieforrest

  • Guest
Error: Could not create directory...templates_c
May 27, 2009, 08:22:11 pm
It's been a few months since I logged in to my civicrm installation, and when I did I was getting the "smarty" error. I rm'd everything in the templates_c directory but now I'm getting this error:

Code: [Select]
Error: Could not create directory: /home/jamie/public_html/development.maplestreetschool.org/sites/default/files/civicrm/templates_c/en_US/.

If you have moved your database from a development install to a production install and the directory paths are different, please set the column config_backend in the civicrm_domain table to NULL. You will need to reinitialize your settings in the production install.

When I visit the url: http://development.maplestreetschool.org/civicrm/dashboard

I searched these forums for that error, and tried changing the permissions of the templates_c directory to 777. But I am still getting the error. If I manually create the en_US and en_US/en_US directories (and make them 777 also), I get this error:

Code: [Select]
Fatal error: Uncaught exception 'Exception' with message 'Please make sure the IDS/tmp folder is writable' in /home/jamie/public_html/development.maplestreetschool.org/sites/all/modules/civicrm/packages/IDS/Monitor.php:187 Stack trace: #0 /home/jamie/public_html/development.maplestreetschool.org/sites/all/modules/civicrm/CRM/Core/IDS.php(117): IDS_Monitor->__construct(Array, Object(IDS_Init)) #1 /home/jamie/public_html/development.maplestreetschool.org/sites/all/modules/civicrm/CRM/Core/Invoke.php(74): CRM_Core_IDS->check(Array) #2 /home/jamie/public_html/development.maplestreetschool.org/sites/all/modules/civicrm/drupal/civicrm.module(315): CRM_Core_Invoke::invoke(Array) #3 [internal function]: civicrm_invoke('dashboard') #4 /home/jamie/public_html/development.maplestreetschool.org/includes/menu.inc(348): call_user_func_array('civicrm_invoke', Array) #5 /home/jamie/public_html/development.maplestreetschool.org/index.php(18): menu_execute_active_handler() #6 {main} thrown in /home/jamie/public_html/development.maplestreetschool.org/sites/all/modules/civicrm/packages/IDS/Monitor.php on line 187
I've hit a wall. Any suggestions?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Error: Could not create directory...templates_c
May 27, 2009, 08:53:07 pm
Did you try turning on debugging & adding directoryCleanup=1 to your url

http://wiki.civicrm.org/confluence/display/CRMDOC/Debugging.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

jamieforrest

  • Guest
Re: Error: Could not create directory...templates_c
May 28, 2009, 10:49:10 am
I can't even access the CiviCRM Admin page.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error: Could not create directory...templates_c

This forum was archived on 2017-11-26.