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) »
  • mkdir error upload, custom, en_us folders, Utils/File.php line 118
Pages: [1]

Author Topic: mkdir error upload, custom, en_us folders, Utils/File.php line 118  (Read 1744 times)

Rayvan

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
mkdir error upload, custom, en_us folders, Utils/File.php line 118
November 06, 2007, 03:31:38 pm
This error was asked before but with no solution.  Please help if you have some insight, I have tried so many different methods.

Code: [Select]
    * warning: mkdir(/upload/) [function.mkdir]: Permission denied in /home/powerful/public_html/sites/all/modules/civicrm/CRM/Utils/File.php on line 118.
    * warning: mkdir(/custom/) [function.mkdir]: Permission denied in /home/powerful/public_html/sites/all/modules/civicrm/CRM/Utils/File.php on line 118.
    * warning: mkdir(/home/powerful/public_html/files/civicrm/en_US/) [function.mkdir]: Permission denied in /home/powerful/public_html/sites/all/modules/civicrm/CRM/Utils/File.php on line 118.
    * warning: mkdir(/home/powerful/public_html/files/civicrm/en_US/) [function.mkdir]: Permission denied in /home/powerful/public_html/sites/all/modules/civicrm/CRM/Utils/File.php on line 118.

The CDIR is now $civicrm_root = '/home/powerful/public_html/sites/all/modules/civicrm/';
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/home/powerful/public_html/files/civicrm/' );

--Yes, it is running off the domain and I've tried creating the folder with writes manually to no avail

Appreciate any help.

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: mkdir error upload, custom, en_us folders, Utils/File.php line 118
November 08, 2007, 02:30:18 am
Are you sure you’re editing the right civicrm.settings.php file? It should be located in /home/powerful/public_html/sites/all.

There’s something clearly wrong with the path, as mkdir() tries to create directories at the root of the filesystem (/upload and /custom). Also, are you sure the webserver has write rights to the /home/powerful/public_html/files/civicrm directory?
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.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • mkdir error upload, custom, en_us folders, Utils/File.php line 118

This forum was archived on 2017-11-26.