Answers.Body: <p>I had the same issue and the same solution - the antivirus renamed the</p>
  
  <blockquote>
    <p>httpdocs > sites > all > modules > civicrm > CRM > Extension > System.php.suspect</p>
  </blockquote>
  
  <p>Not sure how to make the server leave that file alone, or what triggered it. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-19T17:13:26.603Z
Answers.Text: I had this same issue and was able to fix by renaming. So what exactly renamed this file to begin with?
Answers.UserDisplayName: Jose Torres
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-24T19:44:34.393Z
Answers.Text: You've been hacked. This is caused by a trojan or script injection. There will be several files affected. It will continue to re-infect until you fix permissions on your server files.
Answers.UserDisplayName: Cullen McGough
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-29T20:53:50.330Z
Answers.LastActivityDate: 2015-12-29T20:53:50.330Z
Answers.UserDisplayName: Cullen McGough
Answers.Body: <p>It looks like your upgrade process did not run smoothly could you check whether the file CRM/Extensions/System.php does exist? If not then it looks like not all source files are on the server.</p>
  
  <p>ps. It is usually a good idea to have test environment where you could test upgrades before actually performing them on production. The same is true for upgrading to the latest php version. First do that in a test environment.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-08T00:22:09.200Z
Answers.Text: Thanks Jaap.  The file was there, but it was renamed to System.php.suspected.  Any ideas on how the file could have been renamed?
Answers.UserDisplayName: Yasir
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-08T06:51:43.043Z
Answers.Text: Could this be done by any anti virus software?
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-10T03:58:40.540Z
Answers.Text: I think that's the case Jaap.  Thank you.
Answers.UserDisplayName: Yasir
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-02T21:39:47.470Z
Answers.LastActivityDate: 2015-12-02T21:39:47.470Z
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Answers.Body: <p>Check it after deleting the temporary folder of civicrm. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-02T18:24:51.357Z
Answers.LastActivityDate: 2015-12-02T18:24:51.357Z
Answers.UserDisplayName: Prem Patel
Answers.Body: <p>I would try clear caches first to ensure everything is being picked up from the file system. From the error it looks as though a site move has taken place or the directories have moved/been renamed?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-02T08:55:33.980Z
Answers.LastActivityDate: 2015-12-02T08:55:33.980Z
Answers.UserDisplayName: Parvez Saleh
Body: <p>Upgrading to the latest CiviCRM on a drupal based site didn't seem to be an issue.  About a week later, perhaps a change in PHP version, I noticed that my entire site gives this message now and nothing really works: 
  Fatal error: Class 'CRM_Extension_System' not found in .../public_html/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php on line 1837</p>
  
  <p>Any ideas as to what I may have done to cause this?  Thank you for all your help!</p>
  
  <p>Regards,
  Yasir</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-12-02T18:28:12.867Z
Comments.Text: Please specify the versions of CiviCRM and of PHP before and after the updates.
Comments.UserDisplayName: choster
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-12-30T14:22:16.237Z
Comments.Text: Did you find the cause of this? I'm having the same problem, something is modifying: 
  CRM>Contact>Import>Field.php.suspected
  CRM>Contact>Page>Dashboard.php.suspected
  Extension > System.php.suspected
Comments.UserDisplayName: Cullen McGough
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-26T23:06:01.717Z
Comments.Text: Sounds like an external hack, not to do with the upgrade process. Worrying stuff though. Was this a Drupal or a WordPress site? What versions, and what version of Civi?
Comments.UserDisplayName: JohnFF
Tags: <drupal>
Title: A week after upgrade whole site is erroring
ThreadText: # A week after upgrade whole site is erroring
  
  (Asked by: username_0 on 2015-12-02)
  
  Upgrading to the latest CiviCRM on a drupal based site didn't seem to be an issue. About a week later, perhaps a change in PHP version, I noticed that my entire site gives this message now and nothing really works:
  Fatal error: Class 'CRM\_Extension\_System' not found in .../public\_html/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php on line 1837
  
  Any ideas as to what I may have done to cause this? Thank you for all your help!
  
  Regards,
  username_0
  
  **Tags:** drupal
  
  > **Comments:**
  > **username_1**: Please specify the versions of CiviCRM and of PHP before and after the updates.  
  > **username_2**: Did you find the cause of this? I'm having the same problem, something is modifying:  CRM>Contact>Import>Field.php.suspected CRM>Contact>Page>Dashboard.php.suspected Extension > System.php.suspected  
  > **username_3**: Sounds like an external hack, not to do with the upgrade process. Worrying stuff though. Was this a Drupal or a WordPress site? What versions, and what version of Civi?  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_2 on 2015-12-29. Score: 6
  
  I had the same issue and the same solution - the antivirus renamed the
  
  > httpdocs > sites > all > modules > civicrm > CRM > Extension > System.php.suspect
  
  Not sure how to make the server leave that file alone, or what triggered it.
  
  > **Comments:**
  > **username_4**: I had this same issue and was able to fix by renaming. So what exactly renamed this file to begin with?  
  > **username_2**: You've been hacked. This is caused by a trojan or script injection. There will be several files affected. It will continue to re-infect until you fix permissions on your server files.  
  
  ---
  
  ### Answer by username_5 on 2015-12-02. Score: 2
  
  It looks like your upgrade process did not run smoothly could you check whether the file CRM/Extensions/System.php does exist? If not then it looks like not all source files are on the server.
  
  ps. It is usually a good idea to have test environment where you could test upgrades before actually performing them on production. The same is true for upgrading to the latest php version. First do that in a test environment.
  
  > **Comments:**
  > **username_0**: Thanks Jaap.  The file was there, but it was renamed to System.php.suspected.  Any ideas on how the file could have been renamed?  
  > **username_5**: Could this be done by any anti virus software?  
  > **username_0**: I think that's the case Jaap.  Thank you.  
  
  ---
  
  ### Answer by username_6 on 2015-12-02. Score: 0
  
  Check it after deleting the temporary folder of civicrm.
  
  
  ---
  
  ### Answer by username_7 on 2015-12-02. Score: 0
  
  I would try clear caches first to ensure everything is being picked up from the file system. From the error it looks as though a site move has taken place or the directories have moved/been renamed?
  
  
  ---
  
  