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) »
  • Oops! Please Correct Your Install Location
Pages: [1]

Author Topic: Oops! Please Correct Your Install Location  (Read 2424 times)

JoopSJ

  • I post occasionally
  • **
  • Posts: 80
  • Karma: 2
Oops! Please Correct Your Install Location
January 03, 2008, 08:54:04 am
I extraced the CIVICRM files to
[my site base url]/sites/all/civicrm   (www.mysite.com/sites/all/modules/civicrm)
The location on the disk: C:\inetpub\vhosts\httpdocs\mydomain\drupal\sites\all\modules\civicrm

When I execute install/index.php i get a warning:
 
Oops! Please Correct Your Install Location

And the automatic installer stops. I think my CIVICRM-files are in the proper directory, so I think this warning i not correct.

I have commented out the file-location check in index.php and then the first page of the installer gets presented, but with the following error:

Notice: Undefined index: SERVER_SIGNATURE in C:\Inetpub\vhosts\mydomain\httpdocs\drupal\sites\all\modules\civicrm\drupal\install\index.php on line 214


All the entries and the form look good but the last (forward) slash on the following line worries me:

Does the webserver know where files are stored? OK (C:\Inetpub\vhosts\mydomain\httpdocs\drupal\sites\all\modules\civicrm\drupal\install/)

Anyone?
Thanx
IIS6.0
Drupal5.5


Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: Oops! Please Correct Your Install Location
January 03, 2008, 04:31:25 pm
I think that the Drupal / CiviCRM application does know where it is located.  Try looking in two config files:

In <your site installation>/sites/default/civicrm.settings.php which I think is used for the online interface, locate:
define( 'CIVICRM_UF_BASEURL'      , 'my installation location is here' );

Also in <your site installation>/sites/all/modules/civicrm/civicrm.settings.php which I think is used for the Cron jobs (I may have this wrong or backwords).  look for the same line.
Interesting my line says exactly the following here:
define( 'CIVICRM_UF_BASEURL'      , '' );

Are these set right for your installation?

Here is the discussion by Piotr Szotkowski:
http://forum.civicrm.org/index.php/topic,1734.msg8074.html#msg8074
Quote
Note that the civicrm.config.php files are the same. All the non-UI-set settings go to civicrm.settings.php file, and the location of that file is determined by civicrm.config.php based on the domain it’s being run off of (and can be overridden by a settings_location.php file).
« Last Edit: January 03, 2008, 04:35:49 pm by Denver Dave »

JoopSJ

  • I post occasionally
  • **
  • Posts: 80
  • Karma: 2
Re: Oops! Please Correct Your Install Location
January 04, 2008, 06:02:23 am
Thank You,
I just went ahead and continued the installation reagardless of the errors.
I think I have to try a manual install for IIS.

The problem is that the Smarty is using forward slashes iso backslashes for the file path location:

user warning: Smarty error: problem creating directory 'C:/Inetpub/vhosts/vnvdalpa.nl' in

On IIS it should be C:\Inetpub\vhosts\domain.....

I cannot find where i can change the slash
Thanx

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: Oops! Please Correct Your Install Location
January 04, 2008, 08:57:58 am
Does the Smarty compiler have to be used?  How do I tell if my host is using the smarty compiler?

Could be an IIS issue.  Do you have an option to run on a Unix server?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Oops! Please Correct Your Install Location

This forum was archived on 2017-11-26.