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 »
  • 3.4 and 4.0 Releases Testing »
  • can't install 4.0.1 on drupal-7.x-dev
Pages: [1]

Author Topic: can't install 4.0.1 on drupal-7.x-dev  (Read 2571 times)

johanbeckers

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
  • CiviCRM version: 4.3.2
  • CMS version: Drupal 7
  • MySQL version: 5.0.51a
  • PHP version: 5.2.14
can't install 4.0.1 on drupal-7.x-dev
May 12, 2011, 11:15:56 am
For a new project I'm using Drupal-7.x-dev since a nasty bug has been solved here.
Now I'm trying to install CiviCRM version 4.0.1 but sirenes start to go off:

Oops! Incorrect Drupal Version

This version of CiviCRM can only be used with Drupal 7.x. Please ensure that '/home/carecomp/domains/domain.com/public_html/includes/bootstrap.inc' exists if you are running Drupal 7.0 and over.

Bootstrap.inc is in place.

Can this be solved or am I stuck at the moment?

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: can't install 4.0.1 on drupal-7.x-dev
May 12, 2011, 03:57:09 pm

i suspect this is an easy fix, u might want to edit:

install/index.php

line 167 or so:

Code: [Select]
    if ( !defined('VERSION') or version_compare(VERSION, '7.0-rc1') < 0 ) {

and see what is happening and why and fix it. If you do so, please submit a patch so others can benefit

thanx

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.4 and 4.0 Releases Testing »
  • can't install 4.0.1 on drupal-7.x-dev

This forum was archived on 2017-11-26.