Answers.Body: <p>Please make sure all files of civicrm were uploaded in your site files and file <code>wp-content/plugins/civicrm/civicrm/CRM/Core/Config.php</code> is present there.</p>
  
  <p>Also make sure your database credentials are correct and following lines are present in the end of file civicrm.settings.php</p>
  
  <p><code>require_once 'CRM/Core/ClassLoader.php';
  CRM_Core_ClassLoader::singleton()-&gt;register();</code></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-18T19:59:53.693Z
Answers.LastActivityDate: 2018-01-18T19:59:53.693Z
Answers.UserDisplayName: Hassan Farooq
Body: <p>Notice: Use of undefined constant <strong>DIR</strong> - assumed '<strong>DIR</strong>' in /home/yonatony/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 127</p>
  
  <p>Notice: Use of undefined constant <strong>DIR</strong> - assumed '<strong>DIR</strong>' in /home/yonatony/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 104</p>
  
  <p>Notice: Use of undefined constant <strong>DIR</strong> - assumed '<strong>DIR</strong>' in /home/yonatony/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 105</p>
  
  <p>Notice: Use of undefined constant <strong>DIR</strong> - assumed '<strong>DIR</strong>' in /home/yonatony/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 104</p>
  
  <p>Notice: Use of undefined constant <strong>DIR</strong> - assumed '<strong>DIR</strong>' in /home/yonatony/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 105</p>
  
  <p>Fatal error: Class 'CRM_Core_Config' not found in /home/yonatony/public_html/wp-content/plugins/civicrm/civicrm/install/index.php on line 138</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-18T19:46:50.803Z
Comments.Text: Please update your task with CiviCRM version and wordpress version you are trying to install on. That helps understanding the issue more.
Comments.UserDisplayName: Hassan Farooq
Tags: <wordpress>
Title: Using Wordpress for installing Civi got these errors!
ThreadText: # Using Wordpress for installing Civi got these errors!
  
  (Asked by: username_0 on 2018-01-18)
  
  Notice: Use of undefined constant **DIR** - assumed '**DIR**' in /home/yonatony/public\_html/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 127
  
  Notice: Use of undefined constant **DIR** - assumed '**DIR**' in /home/yonatony/public\_html/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 104
  
  Notice: Use of undefined constant **DIR** - assumed '**DIR**' in /home/yonatony/public\_html/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 105
  
  Notice: Use of undefined constant **DIR** - assumed '**DIR**' in /home/yonatony/public\_html/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 104
  
  Notice: Use of undefined constant **DIR** - assumed '**DIR**' in /home/yonatony/public\_html/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 105
  
  Fatal error: Class 'CRM\_Core\_Config' not found in /home/yonatony/public\_html/wp-content/plugins/civicrm/civicrm/install/index.php on line 138
  
  **Tags:** wordpress
  
  > **Comments:**
  > **username_1**: Please update your task with CiviCRM version and wordpress version you are trying to install on. That helps understanding the issue more.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-01-18. Score: 0
  
  Please make sure all files of civicrm were uploaded in your site files and file `wp-content/plugins/civicrm/civicrm/CRM/Core/Config.php` is present there.
  
  Also make sure your database credentials are correct and following lines are present in the end of file civicrm.settings.php
  
  `require_once 'CRM/Core/ClassLoader.php';
  CRM_Core_ClassLoader::singleton()->register();`
  
  
  ---
  
  