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) »
  • permission problems civicrm drupal 5 and Civicrm 1.7
Pages: [1]

Author Topic: permission problems civicrm drupal 5 and Civicrm 1.7  (Read 4855 times)

mariagwyn

  • I post frequently
  • ***
  • Posts: 149
  • Karma: 4
  • CiviCRM version: CiviCRM 3.3.3
  • CMS version: Drupal 6.20
  • MySQL version: 5.2.14
  • PHP version: 5.0.91-50-log
permission problems civicrm drupal 5 and Civicrm 1.7
May 05, 2007, 09:24:32 pm
I have been running a development site in drupal 5.1, and want to bring in civicrm (which I have been using successfully on my 4.x site).  I just downloaded 1.7.  I have followed all the upgrade instructions, but when I activate the module, my entire drupal site goes blank.  I get 4 errors each time, 3 identical, 1 different:

fetch(/home/mgwynm/drupal-files/snq-files/civicrm/templates_c//%%40/40D/40D353E1%%fatal.tpl.php) [<a href='function.fetch'>function.fetch</a>]: failed to open stream: Permission denied in /home/mgwynm/public_html/sites/snq.mariagwyn.com/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.

fetch() [<a href='function.include'>function.include</a>]: Failed opening '/home/mgwynm/drupal-files/snq-files/civicrm/templates_c//%%40/40D/40D353E1%%fatal.tpl.php' for inclusion (include_path='.:/home/mgwynm/public_html/sites/snq.mariagwyn.com/modules/civicrm/:/home/mgwynm/public_html/sites/snq.mariagwyn.com/modules/civicrm//packages:.:/usr/lib/php:/usr/local/lib/php') in /home/mgwynm/public_html/sites/snq.mariagwyn.com/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.

Clearly, there seems to be a permissions problem with my files/civicrm folder.  However, I have now set the permissions for the 'civicrm', 'template_c' and '40D' at 777.  Same errors each time.

One unique piece to my installation: I am not storing the drupal site files BELOW the drupal root, but instead ABOVE.
So, drupal root is this: /home/mgwynm/public_html/sites/snq.mariagwyn.com/
Civicrm is this:  /home/mgwynm/public_html/sites/snq.mariagwyn.com/modules/
BUT
all site files are here /home/mgwynm/drupal-files/snq-files/civicrm...(notice that they are NOT in public_html)

Below is the relevant settings from the civicrm.settings.php file:

$civicrm_root = '/home/mgwynm/public_html/sites/snq.mariagwyn.com/modules/civicrm/';
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/home/mgwynm/drupal-files/snq-files/civicrm/templates_c/' );

What am I missing?
Many thanks,
Maria

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: permission problems civicrm drupal 5 and Civicrm 1.7
May 05, 2007, 11:44:26 pm
Hey Maria,

I think you can find your solution here http://forum.civicrm.org/index.php/topic,149.msg543.html#msg543
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

mariagwyn

  • I post frequently
  • ***
  • Posts: 149
  • Karma: 4
  • CiviCRM version: CiviCRM 3.3.3
  • CMS version: Drupal 6.20
  • MySQL version: 5.2.14
  • PHP version: 5.0.91-50-log
Re: permission problems civicrm drupal 5 and Civicrm 1.7
May 06, 2007, 01:08:46 pm
Deepak,

Thanks.  the solution was not in the thread, but reading through made me go back and check every level of my permissions.  Turns out that I had to manually reset permissions on each folder involved, including '%%40' and '40D'.  Thanks for your time.
m

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • permission problems civicrm drupal 5 and Civicrm 1.7

This forum was archived on 2017-11-26.