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) »
  • Dying right out of the box! Oops! Please Correct Your Install Location
Pages: [1]

Author Topic: Dying right out of the box! Oops! Please Correct Your Install Location  (Read 2566 times)

chetdude

  • Guest
Dying right out of the box! Oops! Please Correct Your Install Location
June 13, 2009, 07:00:06 pm
But...

I carefully followed instructions about where to unpack civicrm.

It's in the /sites/all/modules/ folder and is all in a folder called civicrm therin.

I enter the URL for the installation module in my site:

http://localhost/drupal/sites/all/modules/civicrm/install/index.php

And get the aforementioned horrible error message:

Oops! Please Correct Your Install Location

Please untar (uncompress) your downloaded copy of CiviCRM in the sites\all\modules directory below your Drupal Root Directory.  (refer to documentation -- already have -- no help!).

No, I don't want to install a standalone version...


My full path to the civicrm folder is (since I used XAMPP to setup my environment):

C:\Xampp\htdocs\drupal\sites\all\modules\civicrm

My url to my drupal site is:

http://localhost/drupal

Again, the url I entered to get this egregiously uninformative "error" message is:

http://localhost/drupal/sites/all/modules/civicrm/install/index.php

If that's not where the civicrm folder should be, then where should it be?

Help!!!    :(   ???

chetdude

  • Guest
Re: Dying right out of the box! Oops! Please Correct Your Install Location
June 16, 2009, 06:09:40 pm
I'm not getting an answer!

Is there anyone out there???   >:(
« Last Edit: June 16, 2009, 06:12:24 pm by chetdude »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Dying right out of the box! Oops! Please Correct Your Install Location
June 16, 2009, 06:20:07 pm

we have no idea why you are getting those messages and hence no response :(

Since you have a fair amount of programming experience, your best bet might be to debug index.php and see why it is throwing that error.

Alternatively you can hire someone from http://civicrm.org/professional/

most of the civicrm developers are on ubuntu/macs. Our support for windows based machines is even more limited (and yes we do know that windows is the dominant OS)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

oban

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 2
Re: Dying right out of the box! Oops! Please Correct Your Install Location
June 16, 2009, 11:01:09 pm
I've seen this a billion times. Just open your index.php file in the install directory and replace all references to DIRECTORY_SEPARATOR with '/'. That should fix it.

oban

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 2
Re: Dying right out of the box! Oops! Please Correct Your Install Location
June 16, 2009, 11:27:13 pm
btw, you should always check the forum archives before you post here. This question has been answered, by my count, at least six times.

chetdude

  • Guest
Re: Dying right out of the box! Oops! Please Correct Your Install Location
June 17, 2009, 12:53:39 pm
Thanks for the answer.  I'll try it...

I spent at least 1/2 hour scouring the forums for the answer.  It either was buried too deep or was not clear from the thread title...  <shrug>

I've got a silly idea, why isn't the fix already in the install file for the Drupal download??
« Last Edit: June 17, 2009, 12:55:49 pm by chetdude »

oban

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 2
Re: Dying right out of the box! Oops! Please Correct Your Install Location
June 17, 2009, 01:25:24 pm
Quote from: chetdude on June 17, 2009, 12:53:39 pm
I spent at least 1/2 hour scouring the forums for the answer.  It either was buried too deep or was not clear from the thread title...  <shrug>

I usually search for the error message. "Oops! Please Correct Your Install Location" briings a lot of results.

Quote from: chetdude on June 17, 2009, 12:53:39 pm
I've got a silly idea, why isn't the fix already in the install file for the Drupal download??

It's probably because it's a Windows specific error. Most developers use linux based systems. I would submit a patch but I'm not an expert on PHP internals. 

Someone should really take up the torch on this issue. It's been coming up very often.

chetdude

  • Guest
Re: Dying right out of the box! Oops! Please Correct Your Install Location
June 17, 2009, 01:30:24 pm
Thanks...

I'll try the search function more carefully next time.

Cheers;

PS: Believe me.  If my career as a Foxpro Expert over the last 19 years or so hadn't required me to suffer with windoze, I wouldn't have... :)

Cedeira

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 1
    • CompuLogiX Systems, Inc.
Re: Dying right out of the box! Oops! Please Correct Your Install Location
June 26, 2009, 04:45:42 pm
I just ran into this error myself, lucky to have found it easily on the forums. Not to make it seem too simple or that the folks in the development team don't have enough to do, but in order to fix this all the install process has to do is ask what type of OS the Apache server is running under, for example: Are you installing CiviCRM in a Windows environment? and adjust the DIRECTORY_SEPARATOR accordingly. This would avoid having to look into internal calls to figure out what type of disk subsystem the application is being installed on.

jose
God grant me the serenity to accept the things I can not change, valor to change the ones I can, and the knowledge to recognize the difference!

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

This forum was archived on 2017-11-26.