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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.2 Release Testing »
  • Installation Bug 2.2.5
Pages: [1]

Author Topic: Installation Bug 2.2.5  (Read 5607 times)

ansm

  • Guest
Installation Bug 2.2.5
June 05, 2009, 07:41:59 am
Hello,
I just found a simple bug.  I can't install civicrm on a windows development system.  I get the error message:

Oops! Please Correct Your Install Location
Please untar (uncompress) your downloaded copy of CiviCRM in the sites\all\modules directory

$_SERVER['SCRIPT_FILENAME']=C:/wamp/www/sites/all/modules/civicrm/install/index.php with the following code being run, in civicrm/install/index.php:

    // install. Rather check for existance of sites & modules in the url
    if ( ! preg_match( "/" . preg_quote('sites' . DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR) .
                       "([a-zA-Z0-9_.]+)" .
                       preg_quote(DIRECTORY_SEPARATOR . 'modules', DIRECTORY_SEPARATOR) . "/",
                       $_SERVER['SCRIPT_FILENAME'] ) ) {
        $errorTitle = "Oops! Please Correct Your Install Location";
        $errorMsg = "Please untar (uncompress) your downloaded copy of CiviCRM in the <strong>" . implode(DIRECTORY_SEPARATOR, array('sites', 'all', 'modules')) . "</strong> directory below your Drupal root directory. Refer to the online " . $docLink . " for more information.<p>If you want to setup / install a <strong>Standalone CiviCRM</strong> version (i.e. not a Drupal or Joomla module), <a href=\"?mode=standalone\">click here</a>.</p>" . $_SERVER['SCRIPT_FILENAME'];
        errorDisplayPage( $errorTitle, $errorMsg );
    }

I'm not setup for submitting patches, it would take me at least an hour to get setup, code and test and submit - sorry....

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.2 Release Testing »
  • Installation Bug 2.2.5

This forum was archived on 2017-11-26.