Answers.Body: <p>For the out of memory problem see <a href="https://lab.civicrm.org/dev/drupal/-/issues/119" rel="nofollow noreferrer">https://lab.civicrm.org/dev/drupal/-/issues/119</a> and the workarounds in there, which should then allow logging the actual problem.</p>
  
  <p>Also that stackexchange article is old and a bit out of date, although the gist of it is right. But you might want to use <a href="https://civicrm.stackexchange.com/a/35608/181">this method</a> instead of roundearth, and the civicrm.settings.php entries are a little different from the roundearth one. The other method should set the civicrm.settings.php settings for you.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-10T19:21:25.987Z
Answers.LastActivityDate: 2020-06-10T19:21:25.987Z
Answers.UserDisplayName: Demerit
Body: <p>I have followed the great instructions on the question  <em><a href="https://civicrm.stackexchange.com/questions/28655/can-i-upgrade-a-drupal-7-civi-site-to-drupal-8/28656#28656">Can I upgrade a drupal 7 + civi site to drupal 8?</a></em> but I am running into a road block. The first time I loaded Civi it loaded without my database but I fixed the config file and now I can tell from cv that it is loading my database but in the browser I get a 500 error. </p>
  
  <p>I am seeing these two errors in the logs and I have verified there is more than enough memory allocated. </p>
  
  <pre><code>[Tue Jun 09 22:58:19.026852 2020] [php7:error] [pid 20039:tid 140003429107456] [client 73.95.227.117:53058] PHP Fatal error:  Allowed memory size of 1317011456 bytes exhausted (tried to allocate 803225600 bytes) in /var/www/vendor/civicrm/civicrm-core/CRM/Core/Error.php on line 520
  
  [Tue Jun 09 22:58:19.027004 2020] [php7:error] [pid 20039:tid 140003429107456] [client 73.95.227.117:53058] PHP Fatal error:  Allowed memory size of 1317011456 bytes exhausted (tried to allocate 803209216 bytes) in Unknown on line 0
  </code></pre>
  
  <p>Any help is greatly appreciated. </p>
  
Tags: <upgrade><drupal-8>
Title: 500 Error When Migrating To Drupal 8
ThreadText: # 500 Error When Migrating To Drupal 8
  
  (Asked by: username_0 on 2020-06-10)
  
  I have followed the great instructions on the question  Can I upgrade a drupal 7 + civi site to drupal 8? but I am running into a road block. The first time I loaded Civi it loaded without my database but I fixed the config file and now I can tell from cv that it is loading my database but in the browser I get a 500 error. 
  I am seeing these two errors in the logs and I have verified there is more than enough memory allocated. 
  [Tue Jun 09 22:58:19.026852 2020] [php7:error] [pid 20039:tid 140003429107456] [client 73.95.227.117:53058] PHP Fatal error:  Allowed memory size of 1317011456 bytes exhausted (tried to allocate 803225600 bytes) in /var/www/vendor/civicrm/civicrm-core/CRM/Core/Error.php on line 520
  
  [Tue Jun 09 22:58:19.027004 2020] [php7:error] [pid 20039:tid 140003429107456] [client 73.95.227.117:53058] PHP Fatal error:  Allowed memory size of 1317011456 bytes exhausted (tried to allocate 803209216 bytes) in Unknown on line 0
  
  Any help is greatly appreciated.
  
  **Tags:** upgrade, drupal-8
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-06-10. Score: 0
  
  For the out of memory problem see <https://lab.civicrm.org/dev/drupal/-/issues/119> and the workarounds in there, which should then allow logging the actual problem.
  
  Also that stackexchange article is old and a bit out of date, although the gist of it is right. But you might want to use [this method](https://civicrm.stackexchange.com/a/35608/181) instead of roundearth, and the civicrm.settings.php entries are a little different from the roundearth one. The other method should set the civicrm.settings.php settings for you.
  
  
  ---
  
  