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) »
  • Almost there Drupal 5.1 Civicrm 1.8
Pages: [1]

Author Topic: Almost there Drupal 5.1 Civicrm 1.8  (Read 1931 times)

dcullen

  • Guest
Almost there Drupal 5.1 Civicrm 1.8
October 16, 2007, 07:00:29 am
I've almost got this work with a manual install but I still got some niggling warnings and I'm not sure where to fix them.  Drupal is install in a subdomain and these seem to be all permisions issues.



    * warning: mkdir(/upload/) [function.mkdir]: Permission denied in /home/dcullen7/public_html/tj/modules/civicrm/CRM/Utils/File.php on line 118.
    * warning: mkdir(/custom/) [function.mkdir]: Permission denied in /home/dcullen7/public_html/tj/modules/civicrm/CRM/Utils/File.php on line 118.
    * warning: fopen(/upload/latest-version-cache.txt) [function.fopen]: failed to open stream: No such file or directory in /home/dcullen7/public_html/tj/modules/civicrm/CRM/Utils/VersionCheck.php on line 120.
    * warning: fwrite(): supplied argument is not a valid stream resource in /home/dcullen7/public_html/tj/modules/civicrm/CRM/Utils/VersionCheck.php on line 121.
    * warning: fclose(): supplied argument is not a valid stream resource in /home/dcullen7/public_html/tj/modules/civicrm/CRM/Utils/VersionCheck.php on line 122.

any ideas

Thanks

Doug

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Almost there Drupal 5.1 Civicrm 1.8
October 16, 2007, 07:28:49 am
It seems you try to create root-level (/upload, /custom) directories, which you obviously aren’t allowed to create.

Please check your $civicrm_root and CIVICRM_TEMPLATE_COMPILEDIR settings in civicrm.settings.php – the first should be something around /home/dcullen7/public_html/tj/modules/civicrm/ and the second something to the point of /home/dcullen7/public_html/tj/files/civicrm/templates_c/
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

dcullen

  • Guest
Re: Almost there Drupal 5.1 Civicrm 1.8
October 16, 2007, 08:57:00 am
Quote from: Piotr Szotkowski on October 16, 2007, 07:28:49 am
It seems you try to create root-level (/upload, /custom) directories, which you obviously aren’t allowed to create.

Please check your $civicrm_root and CIVICRM_TEMPLATE_COMPILEDIR settings in civicrm.settings.php – the first should be something around /home/dcullen7/public_html/tj/modules/civicrm/ and the second something to the point of /home/dcullen7/public_html/tj/files/civicrm/templates_c/

here is what I have currently in civicrm.settings.php

$civicrm_root = '/home/dcullen7/public_html/tj/modules/civicrm/';
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/home/dcullen7/public_html/tj/files/civicrm/templates_c/' );

IN addition I have manually created a custom and upload directory in /home/dcullen7/public_html/tj/modules/civicrm/ with 775 permission (tried 777 with no difference)

I do seem to be able to use the CRM features but with continual warnings (which I suspect will bite me at some point)

More ideas?

Thanks

Doug




« Last Edit: October 16, 2007, 09:00:43 am by dcullen »

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: Almost there Drupal 5.1 Civicrm 1.8
October 17, 2007, 11:03:42 am

can u check the directories section: administer civicrm >> global settings >> directories

and ensure that the directory path there is valid. Ideally you should keep them under to make permissioning simple and consistent

/home/dcullen7/public_html/tj/files/civicrm/

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Almost there Drupal 5.1 Civicrm 1.8

This forum was archived on 2017-11-26.