I have a site which has been erroring for some time. The previous version was 3.9.17 I think, and I upgraded the site thinking it would fix the issue.
My issue relates to the following:
viewtopic.php?t=956021
https://www.joomdev.com/forum/jd-dallas ... -directory
The homepage loads fine, but many of the links don't load, giving a 500 error. Enabling debugging gave this error message:
I went into my templates error.php and followed the advice from those other links, but still no luck. When I replace the line in question, with:Fatal error: require_once(): Failed opening required '/var/www/joomla/www.mywebsite.com/libraries/joomla/docu ... r/head.php' (include_path='.:/opt/remi/php72/root/usr/share/pear:/opt/remi/php72/root/usr/share/php:/usr/share/pear:/usr/share/php') in /var/www/joomla/www.mywebsite.com/templates/vina_royal_ii/error.php on line 27
Code: Select all
$header_contents = '';
if(!class_exists('JDocumentRendererHead')) {
$head = JPATH_LIBRARIES . '/joomla/document/html/renderer/head.php';
if(file_exists($head)) {
require_once($head);
}
}
https://imgur.com/a/vTDpufw
Any tips would be appreciated, Thanks