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) »
  • errors installing 4.1.5 to Windows XAMPP Drupal
Pages: [1]

Author Topic: errors installing 4.1.5 to Windows XAMPP Drupal  (Read 1833 times)

kamorrissey

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
    • Democratic Party of Denver County
  • CiviCRM version: 3.3.6
  • CMS version: Drupal 6.x
  • MySQL version: 14.14
  • PHP version: 5.2.17
errors installing 4.1.5 to Windows XAMPP Drupal
August 19, 2012, 08:49:50 pm
I'm having a lot of problems getting 4.1.5 to install in Drupal using the Windows XAMPP WAMP package.

The Drupal installer wouldn't work, even if I gave it the path to a downloaded install file. I wound up un-tar-ing the install file and copying the civicrm directory to C:\xampp\htdocs\civi\sites\all\modules.

My test Drupal site is addressed as http : //localhost/civi/, which has a filesystem location of C:\xampp\htdocs\civi.

The next sign of something odd is on the http : //localhost/civi/sites/all/modules/civicrm/install/index.php page. At the top is the following message:

Strict Standards: Non-static method CRM_Utils_System_Drupal::cmsRootPath() should not be called statically in C:\xampp\htdocs\civi\sites\all\modules\civicrm\install\index.php on line 143


After providing my database configuration, the install result page begins with this:

Strict Standards: Non-static method CRM_Utils_System_Drupal::cmsRootPath() should not be called statically in C:\xampp\htdocs\civi\sites\all\modules\civicrm\install\index.php on line 143

Strict Standards: Non-static method DB::connect() should not be called statically in C:\xampp\htdocs\civi\sites\all\modules\civicrm\install\civicrm.php on line 130

Strict Standards: Non-static method DB::parseDSN() should not be called statically in C:\xampp\htdocs\civi\sites\all\modules\civicrm\packages\DB.php on line 522

Strict Standards: Non-static method DB::isError() should not be called statically in C:\xampp\htdocs\civi\sites\all\modules\civicrm\packages\DB.php on line 559

Strict Standards: Non-static method PEAR::isError() should not be called statically in C:\xampp\htdocs\civi\sites\all\modules\civicrm\install\civicrm.php on line 131

Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\civi\sites\all\modules\civicrm\packages\DB\common.php on line 2195


After that is what looks like hundreds of repetitions of:

Strict Standards: Non-static method PEAR::isError() should not be called statically in C:\xampp\htdocs\civi\sites\all\modules\civicrm\install\civicrm.php on line 151

Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\civi\sites\all\modules\civicrm\packages\DB\common.php on line 2195


Ultimately, the install claims to have been successful, but when I go to the CiviCRM link under Navigation, I see messages that begin with the following and go on for hundreds of lines:

Strict warning: Non-static method PEAR_ErrorStack::singleton() should not be called statically in PEAR_ErrorStack::singleton() (line 983 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\packages\PEAR\ErrorStack.php).
Strict warning: Declaration of CRM_Core_Error::singleton() should be compatible with & PEAR_ErrorStack::singleton($package, $msgCallback = false, $contextCallback = false, $throwPEAR_Error = false, $stackClass = 'PEAR_Error...') in require_once() (line 52 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\CRM\Core\Error.php).
Strict warning: Non-static method PEAR_ErrorStack::singleton() should not be called statically in PEAR_ErrorStack::singleton() (line 625 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\CRM\Core\Error.php).
Strict warning: Non-static method PEAR::setErrorHandling() should not be called statically in PEAR::setErrorHandling() (line 183 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\CRM\Core\Config.php).
Strict warning: Non-static method CRM_Utils_File::createDir() should not be called statically, assuming $this from incompatible context in CRM_Core_Config->_initialize() (line 330 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\CRM\Core\Config.php).
Strict warning: Non-static method CRM_Utils_File::createDir() should not be called statically, assuming $this from incompatible context in CRM_Core_Config->_initialize() (line 341 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\CRM\Core\Config.php).
Strict warning: Non-static method CRM_Core_DAO::init() should not be called statically, assuming $this from incompatible context in CRM_Core_Config->_initDAO() (line 376 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\CRM\Core\Config.php).
Strict warning: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in CRM_Core_DAO->init() (line 93 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\CRM\Core\DAO.php).
Strict warning: Non-static method CRM_Core_DAO::setFactory() should not be called statically, assuming $this from incompatible context in CRM_Core_Config->_initDAO() (line 380 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\CRM\Core\Config.php).
Strict warning: Non-static method Log::singleton() should not be called statically, assuming $this from incompatible context in CRM_Core_Config->_initialize() (line 360 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\CRM\Core\Config.php).
Strict warning: Non-static method Log::factory() should not be called statically, assuming $this from incompatible context in Log->singleton() (line 221 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\packages\Log.php).
Strict warning: Non-static method Log::_classExists() should not be called statically, assuming $this from incompatible context in Log->factory() (line 163 of C:\xampp\htdocs\civi\sites\all\modules\civicrm\packages\Log.php).


Any ideas why this is happening and what I can do about it?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: errors installing 4.1.5 to Windows XAMPP Drupal
August 20, 2012, 06:30:12 am
Hi. No one from the CiviCRM team nor those who assist on these forums have expertise in Windows. We all use Linux or OS/X. So it's hard for us to help you.

I would suggest you review all of these:

http://www.grahamnott.com/2012/02/civicrm-wordpress-windows/
http://forum.civicrm.org/index.php?topic=25248.0

and then here is a whole board just for Windows installs:

http://forum.civicrm.org/index.php?board=23.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.

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: errors installing 4.1.5 to Windows XAMPP Drupal
August 20, 2012, 08:24:43 am

also can you configure your php to suppress 'strict notices' from php

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) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • errors installing 4.1.5 to Windows XAMPP Drupal

This forum was archived on 2017-11-26.