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) »
  • Install Problems: Drupal 6.19 & CiviCRM civicrm-3.2.1-drupal
Pages: [1]

Author Topic: Install Problems: Drupal 6.19 & CiviCRM civicrm-3.2.1-drupal  (Read 1334 times)

PhilG

  • Guest
Install Problems: Drupal 6.19 & CiviCRM civicrm-3.2.1-drupal
August 18, 2010, 03:48:49 pm
I've been following the instruction from the wiki.

I am starting from a clean install of Drupal and a clean install of CiviCRM.

The first thing I noted is that when I go to my install URL:
http://192.168.5.2/cms/drupal/sites/all/modules/civicrm/install/index.php

It says "Standalone CiviCRM Installer" ??? I would have thought it would say 'drupal' installer??

I fill in all the requested info and get the 'green' light that everything is okay.

Then I get a series of warning: (after the first time, I put in some 'echo's to display the directories it was having trouble with. I've highlighed those in RED)

Warning: mkdir() [function.mkdir]: No such file or directory in /Volumes/ShareOne/home2/ridicul/public_html/cms/drupal-6.19/sites/all/modules/civicrm/install/civicrm.php on line 53
/sites/default/files

Warning: chmod() [function.chmod]: No such file or directory in /Volumes/ShareOne/home2/ridicul/public_html/cms/drupal-6.19/sites/all/modules/civicrm/install/civicrm.php on line 55

Warning: mkdir() [function.mkdir]: No such file or directory in /Volumes/ShareOne/home2/ridicul/public_html/cms/drupal-6.19/sites/all/modules/civicrm/install/civicrm.php on line 60
/sites/default/files/civicrm

Warning: mkdir() [function.mkdir]: No such file or directory in /Volumes/ShareOne/home2/ridicul/public_html/cms/drupal-6.19/sites/all/modules/civicrm/install/civicrm.php on line 66
/sites/default/files/civicrm/templates_c/

Warning: fopen(/sites/default/civicrm.settings.php) [function.fopen]: failed to open stream: No such file or directory in /Volumes/ShareOne/home2/ridicul/public_html/cms/drupal-6.19/sites/all/modules/civicrm/install/civicrm.php on line 73
Cannot open /sites/default/civicrm.settings.php

Seems to me like it's not appending part of the base directory to the names of the directories it's trying to create. Instead of "/sites/default/files" shouldn't it be "/path/to/myhost/html/drupal/sites/default/files" or something like that??

I've got all the permissions set correctly at "/path/to/myhost/html/drupal/sites/", so it's not an issue of permissions so much as it appears that the installer isn't deriving the correct site path??

PhilG

  • Guest
Re: Install Problems: Drupal 6.19 & CiviCRM civicrm-3.2.1-drupal
August 18, 2010, 04:15:51 pm
Some how the installer got set to 'Standalone' install.

Only AFTER  I manually deleted the session cookies on my browser, did the installer revert back to "Drupal" install.

My advice to the developers would be to not store this information as a session variable as a convenience, but rather explicitly make the user choose each time. Alternatively, the session variable should be expired/deleted after each attempted install to prevent a loop.

Once I removed the session variable, it allowed me to successfully install the 'Drupal' version instead of the 'standalone' version.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Install Problems: Drupal 6.19 & CiviCRM civicrm-3.2.1-drupal

This forum was archived on 2017-11-26.