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) »
  • CiviCRM Install - step 1 ?
Pages: [1]

Author Topic: CiviCRM Install - step 1 ?  (Read 2463 times)

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
CiviCRM Install - step 1 ?
October 31, 2007, 10:23:39 pm
I think I'm ready for the CiviCRM step 1.  So far I've:

(1) Installed Drupal 5.3 and it seems to be running - at lease I can wander around the administrative pages, although I have not much of a clue as to what to do with it.  Drupal is installed in a /drupal directory

(2) I've verified that php5 and innodb is available

(3) I've downloaded the civicrm-1.9.11960-drupal-php5.tar.gz and "unzipped the files"

(4) I've reviewed the Automated Installer for Drupal documentation, but don't completely understand it.  I think I may be ready to upload some of the files but not sure which ones to upload.  I'm not sure why the installations files for drupal include a folder for Joomla as well as a folder for drupal.  Unzipped folders include api, bin, CRM, css, drupal, extern, i, joomla, js, packages, Reports, sql, templates as well as .txt files and civicrm.config.php in the top folder.

(5) Taking a guess - in the /drupal/sites/all folder, created a new folder called modules and then a folder called civicrm in that and then copied the folder drupal into the civicrm folder, so I now have /drupal/sites/all/modules/civicrm/drupal with the files that were in the unzipped civicrm drupal directory.  In this directory there is an install directory.

(6) Run the index.php file in the /drupal/sites/all/modules/civicrm/drupal/install directory - get what looks like a drupal page with our installation name and a message page not found within the html page, which is what I get if I'm not in the admin section of the drupal installation. (fixed the main drupal installation page not found - but still have for civicrm install)

Time to read the docs again and browse the forums.   If anyone is in a similar position or knows what my next step should be, please give suggestions.  Probably need a config file someplace unless the automated installer creates it.

- - allocating more space and uploading the rest of the files that were unzipped into the civicrm directory - just seems odd to upload joomla file directory for a drupal installation (also have a drupal folder), but worth a try.

Thanks. 

« Last Edit: November 01, 2007, 08:16:08 am by Denver Dave »

geilhufe

  • I post frequently
  • ***
  • Posts: 293
  • Karma: 33
    • Social Source Software
Re: CiviCRM Install - step 1 ?
November 01, 2007, 09:51:11 am
The installer will create your config file for you.

The basic process is:
Drupal is installed.
Unzip the civicrm tarball into [drupalroot]/sites/all/modules
You will need to create the folder modules as it does not exist by default.
Then in your web browser, hit the URL  http://[drupalroot]/sites/all/modules/civicrm/drupal/install/index.php
A screen will show up reviewing your system's readiness for CiviCRM.

You explanation is confusing me, but it looks like the problem you need to work on is that when you try to hit http://[drupalroot]/sites/all/modules/civicrm/drupal/install/index.php   you do not get the CiviCRM installer.

What is the full URL you are trying to hit for the installer?

 
Drupal and CiviCRM consulting, strategy and configuration
http://www.social-source.com/

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: CiviCRM Install - step 1 ?
November 01, 2007, 02:49:06 pm
Hi geilhufe - thank you very much for your reply

It would seem that your guess is correct, I may not be running the installer, or running it correctly.  What I'm getting when logged in as a drupal administrator is the same as what you will get with this link:

..... link removed for now - after error pointed out by geilhufe

the index.php file says:
/**
 * CiviCRM Installer
 */

I'm not sure I have all the files and folders at the correct levels - starting with:
www/drupal/sites/all/modules/civicrm - folders:
api, bin, CRM, css, drupal, extern, i, joomla (why joomla???), js, packages, Reports, sql, templates

Then additonal files in the cvicrm folder:
affero_gpl.txt, civicrm-version.txt (1.9.11960 Drupal PHP5), civicrm.config.php, civicrm.settings.php.sample, gpl.txt, README.txt

In the www/drupal/sites/all/modules/civicrm  we have the folder install as well as the following files:
api.php, civicrm.info, civicrm.module, civicrm_og_sync.info, civicrm_og_sync.module, civitest.module.sample

Does your directory structure and files look like this list?

We also may have a php5 issue, but I would think I'd at least get an error.  php5 is available, but the first php5 script in the series to use php5 must have a php5 extension and I have not done this.

Any suggestions appreciated.

- - -
Also, I would be interested in learning a little more about your website, social source software - perhaps we could have a discussion in the Professional CiviCRM Services forum section?
 
« Last Edit: November 02, 2007, 10:10:01 am by Denver Dave »

geilhufe

  • I post frequently
  • ***
  • Posts: 293
  • Karma: 33
    • Social Source Software
Re: CiviCRM Install - step 1 ?
November 02, 2007, 02:03:20 am
your path is slightly wrong. Missing the sites directory.
--drupal/sites/all--

Probably want to edit your post when you get a chance to not expose the URL of the installer to the world. (though I tend to be a little paranoid)

the joomla folder is becuase CiviCRM contains all the files you need to do everything... run in drupal or joomla, etc. This causes no end of consternation among the drupal purists that are *very* proud of the spare nature of their download.

social-source.com is just a website that is up as a representation of my private consulting practice.
Drupal and CiviCRM consulting, strategy and configuration
http://www.social-source.com/

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: CiviCRM Install - step 1 ?
November 02, 2007, 10:57:45 am
Thanks geilhufe

The path specified was indeed the issue and I removed the previous link - thank you.  Interesting that the result was a drupal page for a non existent path .... hmmm

I have php5 available, but it is not the default for php, so I renamed install.php to index.php5 and changed the form action in templates.html to be index.php5.

Installer did pass the checks and seemed to run.  Checking tables - oh my gosh 141 tables for drupal and civicrm - glad I put them in a separate database. ... oh my gosh !

Looks like we may have reached the end of CiviCRM Install - step 1 - should I now see some sign that CiviCRM is installed inside the drupal framework? ... here it is: reading the docs:
Administer / Site building / Modules

Thank you very much for your help.  I suppose, most will have gotten this right the first time, but maybe the notes will help some other lost souls.   .... on to step 2 - thank you, thank you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CiviCRM Install - step 1 ?

This forum was archived on 2017-11-26.