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) »
  • Manual installation went also wrong
Pages: [1]

Author Topic: Manual installation went also wrong  (Read 2859 times)

volmark

  • I post occasionally
  • **
  • Posts: 81
  • Karma: -6
Manual installation went also wrong
December 13, 2007, 07:06:10 am
After some unsuccessful attempts to automatically install CiviCRM on Drupal I decided to try manual installation. Carefully following instructions on http://wiki.civicrm.org/confluence/display/CRMDOC/Install+CiviCRM+1.9+for+Drupal
I edited configuration file and processed all the recommended operations. I have found some inconsistencies between instructions in manual and real installation. Despite my very careful job I’ve got a lot of Drupal errors and still need help …
Below is review of inconsistencies and Drupal error dump …

Section 4 Download and Install CiviCRM Code

Passage 3:
“Copy or ftp the tarball file to your server's drupal/modules directory”

And below:
“// Move into Drupal's modules directory
cd /var/www/drupal/sites/all/modules”

My comment:
It’s very unclear what the directory you should to use.

Section 6. Edit CiviCRM Configuration File
Passage 2:
“Now open the file <drupal_root>/sites/default/civicrm.settings.php in your favorite editor. It should look like this”

My comment:
There is no file civicrm.settings.php in installation directory. There is  civicrm.settings.php.sample file. Should you renamed it to civicrm.settings.php an so on??
Still unclear :o(



After careful check of all positions in civicrm.settings.php and uploading this file to .../drupal/sites/default/ I’ve got following Drupal errors:

    * warning: include_once(sites/default/civicrm.settings.php): failed to open stream: No such file or directory in /hsphere/local/home/volmark/...../drupal/sites/all/modules/civicrm/drupal/civicrm.module on line 234.
    * warning: include_once(): Failed opening 'sites/default/civicrm.settings.php' for inclusion (include_path='.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/volmark/...../drupal/sites/all/modules/civicrm/drupal/civicrm.module on line 234.
    * warning: include_once(sites/default/civicrm.settings.php): failed to open stream: No such file or directory in /hsphere/local/home/volmark/...../drupal/sites/all/modules/civicrm/drupal/civicrm.module on line 234.
    * warning: include_once(): Failed opening 'sites/default/civicrm.settings.php' for inclusion (include_path='.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/volmark/...../drupal/sites/all/modules/civicrm/drupal/civicrm.module on line 234.

    * Oops! - The CiviCRM settings file (civicrm.settings.php) was not found in the expected location (sites/default/civicrm.settings.php). Please review the Installation Instructions, Installation FAQs, and Trouble-shooting documentation for assistance.
    * The configuration options have been saved.
    *Oops! - The CiviCRM settings file (civicrm.settings.php) was not found in the expected location (sites/default/civicrm.settings.php). Please review the Installation Instructions, Installation FAQs, and Trouble-shooting documentation for assistance.

By the way Drupal reported also another error in CiviCRM OG Sync:
Synchronize Organic Groups and CiviCRM Groups and ACL's. More information at: http://wiki.civicrm.org/confluence//x/nDw
Depends on: Og (missing), CiviCRM (enabled)
 

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Manual installation went also wrong
December 13, 2007, 01:01:53 pm
Hey,

Thanks for your remarks. Some comments below.

Quote from: volmark on December 13, 2007, 07:06:10 am
Passage 3:
“Copy or ftp the tarball file to your server's drupal/modules directory”

And below:
“// Move into Drupal's modules directory
cd /var/www/drupal/sites/all/modules”

My comment:
It’s very unclear what the directory you should to use.


Thanks for noticing it, I removed this glitch from our docs.

Quote from: volmark on December 13, 2007, 07:06:10 am
Section 6. Edit CiviCRM Configuration File
Passage 2:
“Now open the file <drupal_root>/sites/default/civicrm.settings.php in your favorite editor. It should look like this”

My comment:
There is no file civicrm.settings.php in installation directory. There is  civicrm.settings.php.sample file. Should you renamed it to civicrm.settings.php an so on??
Still unclear :o(


There is a line in section 6 saying:
cp civicrm.settings.php.sample /var/www/drupal/sites/default/civicrm.settings.php
 which makes civicrm.settings.php appear in there. You probably missed this line?

Quote from: volmark on December 13, 2007, 07:06:10 am
After careful check of all positions in civicrm.settings.php and uploading this file to .../drupal/sites/default/ I’ve got following Drupal errors:

    * warning: include_once(sites/default/civicrm.settings.php): failed to open stream: No such file or directory in /hsphere/local/home/volmark/...../drupal/sites/all/modules/civicrm/drupal/civicrm.module on line 234.
    * warning: include_once(): Failed opening 'sites/default/civicrm.settings.php' for inclusion (include_path='.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/volmark/...../drupal/sites/all/modules/civicrm/drupal/civicrm.module on line 234.
    * warning: include_once(sites/default/civicrm.settings.php): failed to open stream: No such file or directory in /hsphere/local/home/volmark/...../drupal/sites/all/modules/civicrm/drupal/civicrm.module on line 234.
    * warning: include_once(): Failed opening 'sites/default/civicrm.settings.php' for inclusion (include_path='.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/volmark/...../drupal/sites/all/modules/civicrm/drupal/civicrm.module on line 234.

    * Oops! - The CiviCRM settings file (civicrm.settings.php) was not found in the expected location (sites/default/civicrm.settings.php). Please review the Installation Instructions, Installation FAQs, and Trouble-shooting documentation for assistance.
    * The configuration options have been saved.
    *Oops! - The CiviCRM settings file (civicrm.settings.php) was not found in the expected location (sites/default/civicrm.settings.php). Please review the Installation Instructions, Installation FAQs, and Trouble-shooting documentation for assistance.

This means that civicrm.settings.php is not in expected place. Might be the effect of missing the action that I mentioned above.

Quote from: volmark on December 13, 2007, 07:06:10 am
By the way Drupal reported also another error in CiviCRM OG Sync:
Synchronize Organic Groups and CiviCRM Groups and ACL's. More information at: http://wiki.civicrm.org/confluence//x/nDw
Depends on: Og (missing), CiviCRM (enabled)

Not sure what might be the problem here - perhaps let's try to solve other problems before coming back to this one.

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Manual installation went also wrong

This forum was archived on 2017-11-26.