Answers.Body: <p>When I tried loging into the backend of my restored site this morning it worked.  I didn't change anything in any CiviCRM files after my previous post.</p>
  <p>I'm not sure if a cache was cleared or what, but I have access to the backend again.</p>
  <p>Mike</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-03T12:29:28.260Z
Answers.Text: The file civicrm/packages/DB/common.php shouldn't exist since it's now under civicrm/vendor/pear/db. It sounds like you still have copies of older files which are conflicting. I expect you'll see it keep coming up intermittently since sometimes it will load the newer file and sometimes the older. See the paragraph after step 4 here: https://docs.civicrm.org/sysadmin/en/latest/upgrade/joomla/#install-the-extension
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-03T12:18:33.073Z
Answers.LastActivityDate: 2023-08-03T12:18:33.073Z
Answers.UserDisplayName: Mike22359
Body: <p>I restored my site from an Akeeba backup and now I cannot access the site's backend administration panel.  Mysite.org/administrator opens the login screen, but I get a 500 error when I try attempt to log in.</p>
  <p>Hosting provider: Hostmonster.com
  Joomla 3.10.12
  MySQL Version: 5.7.23-23
  PHP Version: 7.4
  CiviCRM Verson: 5.49.1</p>
  <p>I created a new database and user for the Joomla restore.  I had a similar issue once before in a restore so I checked both civicrm.settings.php files.   Both files had the old db name, username, and password.  I've updated those files with the new db name, username, and password, but I still cannot enter the backend administration. I believe there was another step I took to get the backend working, but I don't remember what it was.</p>
  <p>The restored site error log reports:</p>
  <pre><code>[02-Aug-2023 14:25:11 America/Boise] PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /home2/name/public_html/domain/administrator/components/com_civicrm/civicrm/packages/DB/common.php on line 265
  </code></pre>
  <p>The civicrm.config.php file located in public_html/domain/administrator/components/com_civicrm/civicrm/
  contains the following:</p>
  <pre><code>&lt;?php
  define('CIVICRM_SETTINGS_PATH', '/home2/name/public_html/domain/administrator/components/com_civicrm/civicrm.settings.php');
  $error = @include_once( '/home2/name/public_html/domain/administrator/components/com_civicrm/civicrm.settings.php' );
  if ( $error == false ) {
      echo &quot;Could not load the settings file at: /home2/name/public_html/domain/administrator/components/com_civicrm/civicrm.settings.php
  &quot;;
      exit( );
  }
  
  // Load class loader
  require_once $civicrm_root . '/CRM/Core/ClassLoader.php';
  CRM_Core_ClassLoader::singleton()-&gt;register()
  </code></pre>
  <p>Having fixed this once before, but not remembering exactly how, I believe I'm not too far from getting this fixed.</p>
  <p>How do I get CiviCRM to point to the new db name, username, and password?</p>
  <p>Mike</p>
  
Tags: <joomla><civicrm.settings.php>
Title: Can't Access Joomla 3.10.12 Administrator Panel after Site Restore
ThreadText: # Can't Access Joomla 3.10.12 Administrator Panel after Site Restore
  
  (Asked by: username_0 on 2023-08-02)
  
  I restored my site from an Akeeba backup and now I cannot access the site's backend administration panel.  Mysite.org/administrator opens the login screen, but I get a 500 error when I try attempt to log in.
  Hosting provider: Hostmonster.com
  Joomla 3.10.12
  MySQL Version: 5.7.23-23
  PHP Version: 7.4
  CiviCRM Verson: 5.49.1
  I created a new database and user for the Joomla restore.  I had a similar issue once before in a restore so I checked both civicrm.settings.php files.   Both files had the old db name, username, and password.  I've updated those files with the new db name, username, and password, but I still cannot enter the backend administration. I believe there was another step I took to get the backend working, but I don't remember what it was.
  The restored site error log reports:
  [02-Aug-2023 14:25:11 America/Boise] PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /home2/name/public_html/domain/administrator/components/com_civicrm/civicrm/packages/DB/common.php on line 265
  
  The civicrm.config.php file located in public_html/domain/administrator/components/com_civicrm/civicrm/
  contains the following:
  register()
  
  Having fixed this once before, but not remembering exactly how, I believe I'm not too far from getting this fixed.
  How do I get CiviCRM to point to the new db name, username, and password?
  Mike
  
  **Tags:** joomla, civicrm.settings.php
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2023-08-03. Score: 0
  
  When I tried loging into the backend of my restored site this morning it worked. I didn't change anything in any CiviCRM files after my previous post.
  
  I'm not sure if a cache was cleared or what, but I have access to the backend again.
  
  Mike
  
  > **Comments:**
  > **username_1**: The file civicrm/packages/DB/common.php shouldn't exist since it's now under civicrm/vendor/pear/db. It sounds like you still have copies of older files which are conflicting. I expect you'll see it keep coming up intermittently since sometimes it will load the newer file and sometimes the older. See the paragraph after step 4 here: https://docs.civicrm.org/sysadmin/en/latest/upgrade/joomla/#install-the-extension  
  
  ---
  
  