Answers.Body: <p>A warning like Cannot redeclare class CRM_Core_ClassLoader can indicate that all is not good in the civicrm.settings.php file, such as incorrect paths. not quite the same warning you have but may be a useful pointer</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-01T20:04:34.220Z
Answers.LastActivityDate: 2017-10-01T20:04:34.220Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>In the civicrm.settings.php file which should be located in 
  <code>wp-content\uploads\civicrm</code>, search for $civicrm_root variable and check if it is directing to the directory where you installed CiviCRM plugin. That should fix the problem.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-02T20:12:07.507Z
Answers.LastActivityDate: 2017-10-02T20:12:07.507Z
Answers.UserDisplayName: Hassan Farooq
Answers.Body: <p>I had the same problem, but found it was due to having an old copy of the directory <em>civicrm</em> in the wp-content/uploads folder. When I deleted this whole folder the plugin activated normally. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-29T18:28:16.027Z
Answers.LastActivityDate: 2019-07-29T18:28:16.027Z
Answers.UserDisplayName: Vshura
Answers.Body: <p>To solve the 2nd error related to "civicrm/civicrm/packages/kcfinder/themes/dark/img/files/big/..png" simply unzip downloaded civicrm file on local machine; look for the file "..png" and delete it. There should be 4 of them - one each in dark/default themes in big/small directories.</p>
  
  <p>After deleting these files, create a zip with remaining file and upload to your wordpress using Install Plugin page. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-26T00:56:25.680Z
Answers.LastActivityDate: 2017-11-26T00:56:25.680Z
Answers.UserDisplayName: Dharmendar Kumar 'DK'
Body: <p>We had this issue activating CiviCRM</p>
  
  <pre><code>Warning: require_once(CRM/Core/ClassLoader.php): failed to open stream: No such file or directory in /home/capitaleventscom/public_html/wp-content/uploads/civicrm/civicrm.settings.php on line 462
  
  Fatal error: require_once(): Failed opening required 'CRM/Core/ClassLoader.php' (include_path='.:/home/capitalevents/public_html/wp-content/plugins/civicrm/civicrm/:/home/capitalevents/public_html/wp-content/plugins/civicrm/civicrm//packages:.:/usr/local/php56/pear') in /home/capitaleventscom/public_html/wp-content/uploads/civicrm/civicrm.settings.php on line 462
  </code></pre>
  
  <p>then followed by this when using a fresh download:</p>
  
  <pre><code>Could not extract file from archive. civicrm/civicrm/packages/kcfinder/themes/dark/img/files/big/..png
  </code></pre>
  
  <p>Any ideas?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-29T10:22:45.020Z
Comments.Text: Got enough disk space on your server?
Comments.UserDisplayName: Graham
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-11-09T19:59:02.680Z
Comments.Text: Solution for the first error here: https://civicrm.stackexchange.com/a/38122/8440
Comments.UserDisplayName: salah-1
Tags: <wordpress>
Title: Fatal Error Activating CiviCRM
ThreadText: # Fatal Error Activating CiviCRM
  
  (Asked by: username_0 on 2017-09-29)
  
  We had this issue activating CiviCRM
  
  ```
  Warning: require_once(CRM/Core/ClassLoader.php): failed to open stream: No such file or directory in /home/capitaleventscom/public_html/wp-content/uploads/civicrm/civicrm.settings.php on line 462
  
  Fatal error: require_once(): Failed opening required 'CRM/Core/ClassLoader.php' (include_path='.:/home/capitalevents/public_html/wp-content/plugins/civicrm/civicrm/:/home/capitalevents/public_html/wp-content/plugins/civicrm/civicrm//packages:.:/usr/local/php56/pear') in /home/capitaleventscom/public_html/wp-content/uploads/civicrm/civicrm.settings.php on line 462
  
  ```
  
  then followed by this when using a fresh download:
  
  ```
  Could not extract file from archive. civicrm/civicrm/packages/kcfinder/themes/dark/img/files/big/..png
  
  ```
  
  Any ideas?
  
  **Tags:** wordpress
  
  > **Comments:**
  > **username_1**: Got enough disk space on your server?  
  > **username_2**: Solution for the first error here: https://civicrm.stackexchange.com/a/38122/8440  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_3 on 2017-10-01. Score: 1
  
  A warning like Cannot redeclare class CRM\_Core\_ClassLoader can indicate that all is not good in the civicrm.settings.php file, such as incorrect paths. not quite the same warning you have but may be a useful pointer
  
  
  ---
  
  ### Answer by username_4 on 2017-10-02. Score: 1
  
  In the civicrm.settings.php file which should be located in
  `wp-content\uploads\civicrm`, search for $civicrm\_root variable and check if it is directing to the directory where you installed CiviCRM plugin. That should fix the problem.
  
  
  ---
  
  ### Answer by username_5 on 2019-07-29. Score: 1
  
  I had the same problem, but found it was due to having an old copy of the directory *civicrm* in the wp-content/uploads folder. When I deleted this whole folder the plugin activated normally.
  
  
  ---
  
  ### Answer by username_6 on 2017-11-26. Score: 0
  
  To solve the 2nd error related to "civicrm/civicrm/packages/kcfinder/themes/dark/img/files/big/..png" simply unzip downloaded civicrm file on local machine; look for the file "..png" and delete it. There should be 4 of them - one each in dark/default themes in big/small directories.
  
  After deleting these files, create a zip with remaining file and upload to your wordpress using Install Plugin page.
  
  
  ---
  
  