title: Joomla3.6 Fatal error: require_once(): Failed opening required
body: <p>We have moved web hosting provider and moved our joomla website and database across.</p>
  <p>When trying to access the front end of the website, I get the error:</p>
  <blockquote>
  <p><strong>Warning:</strong> require_once(JPATH_BASE/libraries/import.legacy.php): failed to open stream: No such file or directory in
  /home/xxx/public_html/includes/framework.php on line 15</p>
  <p><strong>Fatal error:</strong> require_once(): Failed opening required 'JPATH_BASE/libraries/import.legacy.php'
  (include_path='.:/usr/lib/php:/usr/local/lib/php') in
  /home/xxx/public_html/includes/framework.php on line 15</p>
  </blockquote>
  <p>I have checked that the import.legacy.php file is in the stated directory and the permissions are 644.</p>
  <p>The output of <code>JPATH_BASE</code> is <code>/home/xxx/public_html</code></p>
  <p>How can I fix this error?</p>