Open logan-19 opened 7 years ago
Hi, I have checked in my localhost everything is working. You can update your Joomla 3.8 but don't forget to keep a backup before the update Joomla.
I upgraded to 3.8, but now 404 pages are not working
Warning: require_once(...\libraries/joomla/document/html/renderer/head.php): failed to open stream: No such file or directory in ...\templates\shaper_helix_ii\error.php on line 27
Fatal error: require_once(): Failed opening required '...\libraries/joomla/document/html/renderer/head.php' (include_path='.;c:/ospanel/modules/php/PHP-5.6-x64;c:/ospanel/modules/php/PHP-5.6-x64/PEAR/pear') in ...\templates\shaper_helix_ii\error.php on line 27
Joomla 3.8 deleted the folder \libraries\legacy\view\category.php the date of publication is not displayed correctly
Try to force an error report/display. I tried "Search component" with apparently missing weblinks table. Which should lead to a 404 page. Instead I see the same FATAL ERROR after update to latest J!3.8.1 and HELIX2 2.5
Tested with PHP 5.6 and 7.x
Warning: _require_once(/Applications/MAMP/htdocs/jshelix2/libraries/joomla/document/html/renderer/head.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/jshelix2/templates/shaper_helixii/error.php on line 27
Fatal error: _require_once(): Failed opening required '/Applications/MAMP/htdocs/jshelix2/libraries/joomla/document/html/renderer/head.php' (include_path='.:/Applications/MAMP/bin/php/php7.0.8/lib/php') in /Applications/MAMP/htdocs/jshelix2/templates/shaper_helixii/error.php on line 27
error.php file seem to have an outdated include to head.php
As far as I can tell, the file location has changed in Joomla 3.8.x
I have found a possible "fix" on other sites and forums:
Find this code:
require_once(JPATH_LIBRARIES.'/joomla/document/html/renderer/head.php');
Replace by:
require_once(JPATH_LIBRARIES.'/src/document/renderer/html/HeadRenderer.php');
Or remove it.
(Not sure about the optional removal though!?) Please, can someone test and confirm?
Hi,
Please following the instruction.
require_once(JPATH_LIBRARIES.'/joomla/document/html/renderer/head.php');
$header_contents = ‘’;
if(!class_exists(‘JDocumentRendererHead’)) {
$head = JPATH_LIBRARIES . ‘/joomla/document/html/renderer/head.php’;
if(file_exists($head)) {
require_once($head);
}
}
-Thanks
Thanks for your quick reply, but I have my doubts. Obviously Joomla 3.8.x has a different path and file location! Please, check for yourself.
Helix-2 works to Joomla 3.8 with errors? Thank you!