JoomShaper / Helix-Joomla

Helix framework 2 for joomla
http://www.joomshaper.com/helix
12 stars 24 forks source link

Hello! Is it planned to upgrade Helix-2 (Helix-II Version 2.5) for Joomla 3.8 #15

Open logan-19 opened 7 years ago

logan-19 commented 7 years ago

Helix-2 works to Joomla 3.8 with errors? Thank you!

rifatwahid commented 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.

logan-19 commented 7 years ago

I upgraded to 3.8, but now 404 pages are not working

logan-19 commented 7 years ago
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
logan-19 commented 7 years ago

Joomla 3.8 deleted the folder \libraries\legacy\view\category.php the date of publication is not displayed correctly

pepperstreet commented 6 years ago

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

pepperstreet commented 6 years ago

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?

heytoufiq commented 6 years ago

Hi,

Please following the instruction.

  1. Go to the file location templates/shaper_helixii/error.php
  2. Find out the code from error.php file require_once(JPATH_LIBRARIES.'/joomla/document/html/renderer/head.php');
  3. Replace with this code
    $header_contents = ‘’;
    if(!class_exists(‘JDocumentRendererHead’)) {
    $head = JPATH_LIBRARIES . ‘/joomla/document/html/renderer/head.php’;
    if(file_exists($head)) {
    require_once($head);
    }
    }

    -Thanks

pepperstreet commented 6 years ago

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.