Answers.Body: <p>If you have performed path reset than path of extension must have been updated and the system already have SDD payment processor created therefore it is throwing file not found error.</p>
  
  <p>You can fix this in either of 3 ways:</p>
  
  <ol>
  <li><p>If you have db access then update civicrm_payment_processor.is_active = 0 for SDD payment processor type and then update the extension directory path by navigating to Administer >> System Settings >> Directories</p></li>
  <li><p>Update the extension directory path in civicrm_setting table where name = extensionsDir (make sure you serialize the data correctly)</p></li>
  <li><p>Over-ride the extension directory path in civicrm.settings.php</p>
  
  <p>$civicrm_setting['Directory Preferences']['extensionsDir'] = 'xxx/sites/default/files/civicrm/persist/contribute/';</p></li>
  </ol>
  
  <p>and then update the directory path by navigating to Administer >> System Settings >> Directories</p>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-08T04:18:08.270Z
Answers.Text: I tried #1 and I get some errors after resetting path . Should I restore to older backup where I did not do reset path which led me to Fatal Error: (the first error listed in title) and then try the #1 ?
Answers.UserDisplayName: harshal
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-08T04:19:42.480Z
Answers.Text: Please update the extension path in Directories and Resource URL and then visit Extension page and click refresh and also clear CiviCRM cache(make sure you don't click on Reset Path button).
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-08T04:34:42.913Z
Answers.Text: I followed the above steps
  1) Updated the Extension path in Directories and Resource URL                
  2) Clicked Refresh on the Extension Page   3) Cleared the civicrm cache but it still gives Unknown extension  error
Answers.UserDisplayName: harshal
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-08T04:49:13.450Z
Answers.Text: Hi @Pradeep, it worked finally, I had missed something probably when I did #1,#2 and #3 mentioned in the previous comment, thanks for your valuable inputs and time!!!
Answers.UserDisplayName: harshal
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-08T04:50:35.850Z
Answers.Text: Check for folder permission and also check if all the active extension are present under the extension directory
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-08T04:51:56.393Z
Answers.Text: ok thanks, but it's working now and not throwing an error!
Answers.UserDisplayName: harshal
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-08T04:52:52.070Z
Answers.Text: Pheewwww.... Cheerz
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-08T04:53:28.690Z
Answers.Text: Don't forget to re-enable the payment processors
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-08T06:07:53.237Z
Answers.Text: The good news is that in Civi 4.7.31+, a missing payment processor will no longer cause a crash.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-08T06:19:12.667Z
Answers.Text: Yup. The latest version will handle missing file issue.
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-08T04:08:46.757Z
Answers.LastActivityDate: 2018-02-08T04:08:46.757Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>When I go to Configuration >> System Settings &amp; URL >> Clear Cache and Update Paths
  <a href="https://www.example.com/civicm/admin/setting/updateConfigBackend?reset=1" rel="nofollow noreferrer">https://www.example.com/civicm/admin/setting/updateConfigBackend?reset=1</a>
  I tried to reset path and I get a WSOD with the following error </p>
  
  <pre><code>Fatal error: require_once(): Failed opening required
   'CRM/Core/Payment/SDD.php'
   (include_path='.:/home/hob/www/lyme/sites/all/modules/contrib/civicrm:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/packages:.:/home/hob/www/lyme/sites/all/modules/contrib/civicrm:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/packages:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/tecnickcom:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/phpseclib/phpseclib/phpseclib:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/pear/pear_exception:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/pear/auth_sasl:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/pear/net_socket:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/pear/net_smtp:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/pear/validate_finance_creditcard:.:/usr/local/php56/lib/php')
   in
   /home/hob/www/lyme/sites/all/modules/contrib/civicrm/Civi/Payment/System.php
   on line 59
  </code></pre>
  
  <p>I see a similar error listed out here : <a href="https://civicrm.stackexchange.com/questions/12721/civicrm-4-7-8-error-after-upgrade-on-eway-recurring">CiviCRM 4.7.8 error after upgrade on eWay Recurring</a></p>
  
  <p>Also when I checked the database for <code>civicrm_setting</code> table, I found all the values to be null.</p>
  
  <p><a href="https://i.sstatic.net/MEZYM.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/MEZYM.png" alt="enter image description here"></a></p>
  
  <p>When I looked into <strong>CRM/Core/Payment/</strong> folder, I did not find <strong>SDD.php</strong> 
  is that an issue?</p>
  
  <p>I went to the database and set all the payment processor.is_active = 0 .
  I go back and Reset Paths and I get list of errors which are as given below
  <a href="https://i.sstatic.net/JFdEv.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/JFdEv.png" alt="enter image description here"></a></p>
  
  <p>and last error on this list is this</p>
  
  <pre><code>Error loading module file (). Please restore the file or disable the module.
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-08T03:49:41.610Z
Comments.Text: Did you change the extension path?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-08T03:52:36.730Z
Comments.Text: @PradeepNayak, currently extension path is at sites/all/modules/civicrm_extensions ? should I check it in the database? I have not changed it though
Comments.UserDisplayName: harshal
Tags: <configuration><payment>
Title: Fatal error: require_once(): Failed opening required 'CRM/Core/Payment/SDD.php'
ThreadText: # Fatal error: require_once(): Failed opening required 'CRM/Core/Payment/SDD.php'
  
  (Asked by: username_0 on 2018-02-08)
  
  When I go to Configuration >> System Settings & URL >> Clear Cache and Update Paths
  https://www.example.com/civicm/admin/setting/updateConfigBackend?reset=1
  I tried to reset path and I get a WSOD with the following error 
  Fatal error: require_once(): Failed opening required
   'CRM/Core/Payment/SDD.php'
   (include_path='.:/home/hob/www/lyme/sites/all/modules/contrib/civicrm:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/packages:.:/home/hob/www/lyme/sites/all/modules/contrib/civicrm:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/packages:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/tecnickcom:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/phpseclib/phpseclib/phpseclib:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/pear/pear_exception:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/pear/auth_sasl:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/pear/net_socket:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/pear/net_smtp:/home/hob/www/lyme/sites/all/modules/contrib/civicrm/vendor/pear/validate_finance_creditcard:.:/usr/local/php56/lib/php')
   in
   /home/hob/www/lyme/sites/all/modules/contrib/civicrm/Civi/Payment/System.php
   on line 59
  
  I see a similar error listed out here : CiviCRM 4.7.8 error after upgrade on eWay Recurring
  Also when I checked the database for civicrm_setting table, I found all the values to be null.
  
  When I looked into CRM/Core/Payment/ folder, I did not find SDD.php 
  is that an issue?
  I went to the database and set all the payment processor.is_active = 0 .
  I go back and Reset Paths and I get list of errors which are as given below
  
  and last error on this list is this
  Error loading module file (). Please restore the file or disable the module.
  
  **Tags:** configuration, payment
  
  > **Comments:**
  > **username_1**: Did you change the extension path?  
  > **username_0**: @PradeepNayak, currently extension path is at sites/all/modules/civicrm_extensions ? should I check it in the database? I have not changed it though  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-02-08. Score: 2 | Accepted answer
  
  If you have performed path reset than path of extension must have been updated and the system already have SDD payment processor created therefore it is throwing file not found error.
  
  You can fix this in either of 3 ways:
  
  1. If you have db access then update civicrm\_payment\_processor.is\_active = 0 for SDD payment processor type and then update the extension directory path by navigating to Administer >> System Settings >> Directories
  2. Update the extension directory path in civicrm\_setting table where name = extensionsDir (make sure you serialize the data correctly)
  3. Over-ride the extension directory path in civicrm.settings.php
  
     $civicrm\_setting['Directory Preferences']['extensionsDir'] = 'xxx/sites/default/files/civicrm/persist/contribute/';
  
  and then update the directory path by navigating to Administer >> System Settings >> Directories
  
  HTH
  
  Pradeep
  
  > **Comments:**
  > **username_0**: I tried #1 and I get some errors after resetting path . Should I restore to older backup where I did not do reset path which led me to Fatal Error: (the first error listed in title) and then try the #1 ?  
  > **username_1**: Please update the extension path in Directories and Resource URL and then visit Extension page and click refresh and also clear CiviCRM cache(make sure you don't click on Reset Path button).  
  > **username_0**: I followed the above steps 1) Updated the Extension path in Directories and Resource URL                 2) Clicked Refresh on the Extension Page   3) Cleared the civicrm cache but it still gives Unknown extension  error  
  > **username_0**: Hi @Pradeep, it worked finally, I had missed something probably when I did #1,#2 and #3 mentioned in the previous comment, thanks for your valuable inputs and time!!!  
  > **username_1**: Check for folder permission and also check if all the active extension are present under the extension directory  
  > **username_0**: ok thanks, but it's working now and not throwing an error!  
  > **username_1**: Pheewwww.... Cheerz  
  > **username_1**: Don't forget to re-enable the payment processors  
  > **username_2**: The good news is that in Civi 4.7.31+, a missing payment processor will no longer cause a crash.  
  > **username_1**: Yup. The latest version will handle missing file issue.  
  
  ---
  
  