Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 04h 29m 34s
Claim 50% off
Awaiting an answer Templates

htaccess (Joomla 4.4.3)

Asked by Geoff 2 years ago Last activity 2 years ago

When I rename the htaccess.txt file to .htaccess, my site errors terribly. It is the supplied core htaccess. Any ideas why?

Frontend failure:

Attempted to load class "Helper" from namespace "HelixUltimate\Framework\Platform".
Did you forget a "use" statement for another namespace?
Exceptions 2Stack Traces 2
Symfony\Component\ErrorHandler\Error\
ClassNotFoundError
in .../public_html/templates/shaper_helixultimate/error.php (line 19)
use Joomla\CMS\Uri\Uri;use Joomla\CMS\Language\Text;$app = Factory::getApplication();$doc = Factory::getDocument();$template = Helper::loadTemplateData();$params = $template->params;$fontCSS = '';function addGoogleFont($fonts){
require()
in .../public_html/libraries/src/Document/HtmlDocument.php (line 721)
HtmlDocument->_loadTemplate('.../public_html/templates/shaper_helixultimate', 'error.php')
in .../public_html/libraries/src/Document/HtmlDocument.php (line 776)
HtmlDocument->_fetchTemplate(array('template' => 'shaper_helixultimate', 'directory' => '.../public_html/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in .../public_html/libraries/src/Document/HtmlDocument.php (line 612)
HtmlDocument->parse(array('template' => 'shaper_helixultimate', 'directory' => '.../public_html/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in .../public_html/libraries/src/Document/HtmlDocument.php (line 630)
HtmlDocument->render(false, array('template' => 'shaper_helixultimate', 'directory' => '.../public_html/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in .../public_html/libraries/src/Document/ErrorDocument.php (line 139)
ErrorDocument->render(false, array('template' => 'shaper_helixultimate', 'directory' => '.../public_html/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in .../public_html/libraries/src/Error/Renderer/HtmlRenderer.php (line 78)
HtmlRenderer->render(object(ParseError))
in .../public_html/libraries/src/Exception/ExceptionHandler.php (line 126)
ExceptionHandler::render(object(ParseError))
in .../public_html/libraries/src/Exception/ExceptionHandler.php (line 72)
ExceptionHandler::handleException(object(ParseError))
in .../public_html/libraries/src/Application/CMSApplication.php (line 322)
CMSApplication->execute()
in .../public_html/includes/app.php (line 61)
require_once('.../public_html/includes/app.php')
in .../public_html/index.php (line 32)
ParseError
syntax error, unexpected '|', expecting variable (T_VARIABLE)



System Info:
PHP Built On Linux c16611.sgvps.net 5.15.126-MCIclouder399 #399 SMP PREEMPT Wed Aug 16 16:53:17 EEST 2023 x86_64
Database Type mysql
Database Version 5.7.44-48-log
Database Collation utf8mb4_general_ci
Database Connection Collation utf8mb4_general_ci
Database Connection Encryption None
Database Server Supports Connection Encryption Yes
PHP Version 8.1.27
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 4.4.3 Stable [ Pamoja ] 20-February-2024 16:00 GMT
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

7 replies

Geoff Asked this

What is the .htaccess you would recommend to use with Helix Ultimate Joomla 4.4.3?

Paul Frankowski Senior Staff
2 years ago · edited

HI Geoff,

Q: What is the .htaccess you would recommend to use with Helix Ultimate Joomla 4.4.3?

A: With default .htaccess from Joomla 4 it should work, but on some hostings some default rules from .htaccess doesn't work and makes problems. Unfortunately, but by way of elimination you have to find out which line is doing the problem. Maybe start from those

del_2024.jpg

Remember to use htaccess.txt from 4.4.3

Paul Frankowski Senior Staff
2 years ago · edited

It means that you have problems with GZIP compression code. In 95% of cases, it's becuase webmasters forget to update htaccess file using a NEW file from NEW Joomla update package. 5% are server settings problems.

  1. Disable gzip compression in Global Configuration (Joomla Admin).
  2. Disable gzip compression in cPanel (Hosting Panel).
  3. Delete current .htaccess file (!)
  4. If you have J4.4.9 take htaccess.txt from orginal new package, if Joomla 5.2 the same. Must be from NEW joomla package zip.
  5. Check site.
  6. Then rename to .htaccess and recheck site.

In general, we are NOT Joomla support. And this is typical Joomla Topic >> forum.joomla.org

EVOLUTION

Hello,
I have reached you because I use the quickstart Trove from Joomshaper. I've never had troubles to change the htaccess file on my others websites.

I don't have Gzip compression and I've download the right htaccess file but still have issue with the backend.

I think I have to disintalled the Trove and make a new version of joomla properly.

Pavel
2 years ago · edited

I use the quickstart

Hi.

Update Joomla and use the new htaccess.txt to rename after updating.

Additional advice. Never use Quickstart from any developers to produce real sites. Quickstart is only example of use.

Note for JoomShaper. Many other developers of commercial templates separately include in the supply kit all third-party extensions and SPPB addons. So that the user can install a clean template and all extensions separately on clean Joomla.

In the commercial templates from Joomshaper, all this is only in the Quickstart, which makes users use it. In my opinion, this is fundamentally not the right policy.

Log in to reply.