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) »
  • Xampp for Windows 1.8.1 Drupal 7.16 CiviCRM 4.2.4 Module Enabling Failed
Pages: [1]

Author Topic: Xampp for Windows 1.8.1 Drupal 7.16 CiviCRM 4.2.4 Module Enabling Failed  (Read 1730 times)

timothywcrane

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.2.4
  • CMS version: Drupal7
  • MySQL version: 5.5.27
  • PHP version: 5.4.7
Xampp for Windows 1.8.1 Drupal 7.16 CiviCRM 4.2.4 Module Enabling Failed
October 29, 2012, 11:24:05 am
CiviCRM settings file does not exist. It should be created by CiviCRM install Error in dashboard

install link does not redirect correctly due to H:/localhost/drupal/admin/\sites\all\modules\civicrm/install/index.php slash and backslash interchange.

I correctly put the url and it simply takes me to the module admin page.

I went to the H://localhost/drupal/sites/all/modules/civicrm/install/index.php page in my browser and was given the following info


Notice: Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' in C:\_______\xampp\htdocs\drupal\sites\all\modules\civicrm\install\index.php on line 68

Notice: Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' in C:\________\xampp\htdocs\drupal\sites\all\modules\civicrm\install\index.php on line 69

Notice: Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' in C:\_________\xampp\htdocs\drupal\sites\all\modules\civicrm\install\index.php on line 71

Warning: require_once(WP_PLUGIN_DIR\civicrm\civicrm\/CRM/Core/ClassLoader.php): failed to open stream: No such file or directory in C:\_______\xampp\htdocs\drupal\sites\all\modules\civicrm\install\index.php on line 76

Fatal error: require_once(): Failed opening required 'WP_PLUGIN_DIR\civicrm\civicrm\/CRM/Core/ClassLoader.php' (include_path='.;C:\_______\xampp\php\PEAR;WP_PLUGIN_DIR\civicrm\civicrm\') in C:\________\xampp\htdocs\drupal\sites\all\modules\civicrm\install\index.php on line 76


I am assuming that the \civicrm\/CRM/ with slash-backslash interchange may be a source of my problems, but I thought I might ask the opinion of those more knowledgeable than myself before I start editing files.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Xampp for Windows 1.8.1 Drupal 7.16 CiviCRM 4.2.4 Module Enabling Failed
October 29, 2012, 11:51:33 am
Well the error

Code: [Select]
Notice: Use of undefined constant WP_PLUGIN_DIR -
assumed 'WP_PLUGIN_DIR' in C:\_______\xampp\htdocs\drupal\sites\all\modules\civicrm\install\index.php on line 68

is actually a bit odd because the constant it can't find WP_PLUGIN_DIR is a WordPress constant, which isn't used in Drupal. Seems your system is thinking it's WordPress not Drupal.

There was another user with such a problem here http://forum.civicrm.org/index.php?topic=23558.0
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Xampp for Windows 1.8.1 Drupal 7.16 CiviCRM 4.2.4 Module Enabling Failed

This forum was archived on 2017-11-26.