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) »
  • Trouble with civicrm installation under windows 7 - impossible ? can ANYONE help
Pages: [1]

Author Topic: Trouble with civicrm installation under windows 7 - impossible ? can ANYONE help  (Read 3325 times)

barbarae

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
Trouble with civicrm installation under windows 7 - impossible ? can ANYONE help
August 23, 2010, 06:01:48 pm
At this point I think the installation process is ignoring all embedded php statements.  Took a while to figure out it was not anything I did, but rather the template script simply fails to execute the PHP statements and falls through all tests - I end up with a screen that has no civicrm version number, displays all possible result bars (red, orange and green bars with their corresponding messages) and is unable to access any database information - just displays the variables.  Example below in text and attached the bitmap.

Is this fixable ?  Drupal under WAMP works perfectly ! Also, the basic modules appear under Drupal, but no database tables created, and not all modules are complete - plus no civicrm.settings.php created. Is there a straight databse import I could execute into MySQL ?
_____________________________________________________________________________________________________________

CiviCRM Installer

Thanks for choosing to use CiviCRM! Please follow the instructions below to get CiviCRM installed.

You aren't currently able to install the software. Please see below for details.
hasWarnings()) { ?>

There are some issues that we recommend you look at before installing, however, you are still able to install the software. Please see below for details.
hasErrors()) { ?>

You're ready to install!   

  (this will take a few minutes)
Database Version and Connection Settings

CiviCRM stores its content in a MySQL database. Please provide the username and password to connect to the server here. If this account has permission to create databases, then we will create the database for you; otherwise, you must give the name of a database that already exists.
hasErrors()) { ?>

Your database settings don't appear to be correct. Please check the Database Details below for specific errors.

Database version and connection settings have been verified and look correct!
CiviCRM Database Settings

MySQL server:                   <?php echo $databaseConfig['server'] ?>
MySQL username:              <?php echo $databaseConfig['username'] ?>
MySQL password:               ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
MySQL database:               <?php echo $databaseConfig['database'] ?>
Drupal Database Settings

MySQL server:                   <?php echo $databaseConfig['database'] ?>
MySQL username:              <?php echo $drupalConfig['username'] ?>
MySQL password:               ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
MySQL database:               <?php echo $drupalConfig['database'] ?>
Other Settings

Language of basic data:       $language
Load sample data:               x
Check this box to pre-populate CiviCRM with sample English contact records, online contribution pages, profile forms, etc. These examples can help you learn about CiviCRM features.

CiviCRM Database Details
showTable("MySQL CiviCRM Configuration"); ?> Drupal Database Details"; $dbReq->showTable("MySQL Drupal Configuration"); }?>
Requirements
showTable(); ?>
____________________________________________________________________________________________________________
attached the picture bitmap. 



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: Trouble with civicrm installation under windows 7 - impossible ? can ANYONE help
August 23, 2010, 07:05:04 pm

at this point your best bet might be to hire someone from http://civicrm.org/professional/

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

barbarae

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
Re: Trouble with civicrm installation under windows 7 - impossible ? can ANYONE help
August 23, 2010, 07:48:45 pm
Actually, seems like the forum, or a "professional", needs to fix the windows installation script since it's nothing I did incorrectly and it simply doesn't work. I may chat with a cohort who works with civiCRM, but I suspect he's running on Linux. I've noticed other posts that indicate windows has been a known "problem" area. So not just my problem. I'll post any progress I make. And feel free to pass on news you find.

barbara

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Trouble with civicrm installation under windows 7 - impossible ? can ANYONE help
August 23, 2010, 09:32:39 pm
I have multiple machines running drupal/civicrm on windows 7. I had problems at the start getting php to work but if you are saying drupal is working fine then obviously php is working.

Maybe a stray .htaccess file or other apache config issue?

barbarae

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
Re: Trouble with civicrm installation under windows 7 - impossible ? can ANYONE help
August 24, 2010, 05:21:14 am
I am SO GLAD to hear you have civiCRM working ok !!!  Did you have to do anything special with your installation files, or just run them directly as they were ?  I am not sure where to look for stray files or what might be wrong with my Apache config. What problems did you have to adjust ?  At least you have given me reason to keep trying ;-) :)

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Trouble with civicrm installation under windows 7 - impossible ? can ANYONE help
August 24, 2010, 01:36:26 pm
Mine was a PATH environment variable but your situation really seems to be a config issue. It isn't processing php commands that are inside files that end in .html.

Other options include using a different stack (e.g. acquia).

barbarae

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
Re: Trouble with civicrm installation under windows 7 - impossible ? can ANYONE help
August 24, 2010, 02:02:37 pm
_______________________________________________________________________________________________________
    Installing civiCRM under Drupal - Hooray I have a successfull civiCRM Install - only took three days.
_______________________________________________________________________________________________________ ;D

FIRST:

To install civiCRM under drupal - what the docs say about copying the install path to your browser address line
as described was not at all clear to me:

"http://<your_drupal_home>/www/all/modules/civicrm/install/index.php".  I thought it just meant the full path with "WAMP"
as my drupal home (my root directory).  Not correct.

So I dug around to figure out how to run a script under drupal and ended up (by looking up Apache stack issues)
and finally got to the installer page - BUT it thought my files were not in the correct place. STILL - WONDERFUL
progress and great joy ;-)

Here's the corrected statement: http://localhost/sites/all/Modules/civicrm/install/index.php

SECOND:

to avoid having the installer think you have your files in the wrong place (got this from the civiCRM forums):

comment out the check for multiple drupal sites since I have only one.

// comment out the multi site check so drupal does not have to be checked - avoids requiring "drupal/www" path

// if ( $installType == 'drupal' ) {
//    // do not check 'sites/all/modules' only since it could be a multi-site
//    // install. Rather check for existance of sites & modules in the url
//    if ( ! preg_match( "/" . preg_quote('sites' . CIVICRM_DIRECTORY_SEPARATOR, CIVICRM_DIRECTORY_SEPARATOR) .
//                       "([a-zA-Z0-9_.]+)" .
//                       preg_quote(CIVICRM_DIRECTORY_SEPARATOR . 'modules', CIVICRM_DIRECTORY_SEPARATOR) . "/",
//                       str_replace( "\\","/",$_SERVER['SCRIPT_FILENAME'] ) ) ) {
//        $errorTitle = "Oops! Please Correct Your Install Location";
//        $errorMsg = "Please untar (uncompress) your downloaded copy of CiviCRM in the <strong>" .
//  implode(CIVICRM_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>";
//        errorDisplayPage( $errorTitle, $errorMsg );
//    }
// }

_______________________________________________________________________________________________________
« Last Edit: August 24, 2010, 02:06:26 pm by barbarae »

lameei

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
Re: Trouble with civicrm installation under windows 7 - impossible ? can ANYONE help
November 17, 2010, 10:39:56 am
After a few hours of hard work which includes reading all the search results for this error i got it no working. by commenting out the lines of code mentioned here i can bypass the error but after installation i faced new problems with the Civicrm. when i click a link related to this very module it directs me to the new error:
Quote
Oops! CiviCRM is Already Installed
CiviCRM has already been installed in this Drupal site.

    * To start over, you must delete or rename the existing CiviCRM settings file - civicrm.settings.php - from [your Drupal root directory]/sites/default.
    * To upgrade an existing installation, refer to the online http://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Upgrades.


There is no need to say that i'm running my Drupal website on windows using LAMP.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Trouble with civicrm installation under windows 7 - impossible ? can ANYONE help

This forum was archived on 2017-11-26.