Helix Ultimate 2.0.17 language constants seen in Joomla 4.4.1 Topic is solved

Everything to do with Joomla! 4.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2033
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

Helix Ultimate 2.0.17 language constants seen in Joomla 4.4.1

Post by darb » Tue Nov 28, 2023 5:30 pm

Hi

there is for example Helix Ultimate latest version backend and front/backend modules that crashes to show the langauge constants instead of the value... :(

Dont belive I am the only one have this problem see it on a dev web dev page also and confirmed its a Joomla problem.
Last edited by toivo on Tue Nov 28, 2023 10:30 pm, edited 1 time in total.
Reason: mod note: split from 4.4.1 Discussion

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17229
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Helix Ultimate 2.0.17 language constants seen in Joomla 4.4.1

Post by toivo » Tue Nov 28, 2023 10:51 pm

Confirmed.

darb wrote:
Tue Nov 28, 2023 5:30 pm
see it on a dev web dev page also and confirmed its a Joomla problem.
How come? Please give some details how you came to this conclusion. Usually it is always the third party developer who is at fault and has to adjust.

Please put the plugin and the template through the JED Checker. The template developers have obviously not done that.
Toivo Talikka, Global Moderator

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17229
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Helix Ultimate 2.0.17 language constants seen in Joomla 4.4.1

Post by toivo » Wed Nov 29, 2023 6:41 am

Some extensions but not all are affected by the changes in Joomla 4.4.1 and 5.0.1. Copy the previous versions of LanguageHelper.php and Text.php from libraries/src/Language into the folder and the constants are again translated.

I will create a new item in Joomla! Issue Tracker about the change and how to make sure the language .ini files are processed correctly.
Toivo Talikka, Global Moderator

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12774
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Helix Ultimate 2.0.17 language constants seen in Joomla 4.4.1

Post by brian » Wed Nov 29, 2023 7:11 am

Sounds like this is a direct impact of the security fix in the *.0.1 release
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12774
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Helix Ultimate 2.0.17 language constants seen in Joomla 4.4.1

Post by brian » Wed Nov 29, 2023 7:34 am

Do not revert those files. The changes in those files address a security issue.

The root cause of the issue is the language files themself. Both the site and the admin language files for the template are invalid.

Both of them have a faulty string for COM_FINDER_ADVANCED_TIPS

As can be seen there is one invalid string. Instead of it being on one line ending with " it is spread across multiple lines.

As soon as you remove the hard returns in the string everything works.

This is not a core bug ut a problem in the language file that is now exposed.
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17229
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Helix Ultimate 2.0.17 language constants seen in Joomla 4.4.1

Post by toivo » Wed Nov 29, 2023 9:44 am

Good work, @brian! Removing linebreaks got the language constants translated. Hopefully the JED Checker and FPA can be updated to report language files that have linebreaks. The JED Checker can check extensions even after they have been installed.
Toivo Talikka, Global Moderator


Post Reply

Return to “Templates for Joomla! 4.x”