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) »
  • templates_c problem copying to a test site
Pages: [1]

Author Topic: templates_c problem copying to a test site  (Read 1786 times)

hallman

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 10
templates_c problem copying to a test site
August 21, 2007, 01:03:27 pm
I have a test site so that I can try upgrading from 1.7 to 1.8 without messing up my live site.

While logged into the drupal2, public_html directory, to copy the entire Drupal site, I used the command:
  cp -r /home/drupal/public_html/*  .
and got the error message:
  cannot access `/home/drupal/public_html/files/civicrm/templates_c/en_US': Permission denied

The permissions for en_US are:
  drwx------ 76 drupal drupal 4096 Aug 14 12:12 en_US

Should I chmod 777 en_US, copy it, and then chmod 700 en_US?

Judy Hallman
Judy Hallman

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: templates_c problem copying to a test site
August 21, 2007, 02:11:50 pm

actually that error is fine. If the rest of the copy goes thru. We dont want templates_c copied to the new location. This is dynamically created and cached by smarty

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mojowen

  • Guest
Re: templates_c problem copying to a test site
March 06, 2009, 10:11:45 am
On a recently moved site I've been getting the error on Monitor.php (as discuss http://forum.civicrm.org/index.php?topic=5390.0).  I've tried changing the permissions for both:

files/civicrm/uploads
files/civicrm/templates_c

No avail.

I didn't do the move myself but I've tried to follow these instructions from the CiviCRM Wiki (http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location)

And delete /civicrm/upload/Config.IDS.ini and delete /civicrm/templates_c/*.  Unfortunately after deleting both of these files, CiviCRM hasn't rebuilt them for the new site.  How do I go about getting civi to recreate these files (I'll post elsewhere about the other error, I just wanted to ask this thread specifically about the problem).

Thanks for the help!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • templates_c problem copying to a test site

This forum was archived on 2017-11-26.