Language file overrides not working

  • Posts: 3
  • Thank you received: 0
10 years 9 months ago #180951

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.31
-- Browser(s) name and version -- : 33.1
-- Error-message(debug-mod must be tuned on) -- : Various messages when debug mode is turned on but none seems to refer to the problem I am experiencing with the language overrides.

I have written a number of overrides in the language overrides file (Eng GB). Until recently it worked perfectly, but now the normal wording is appearing on the front end of the website, not the override wording. I have checked the code in my overrides (for example checking that all " are closed) - there doesn't appear to be any problem there.

Can you think of anything else that might be causing this problem and suggest a way to fix it?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 9 months ago #180958

Hello,
The solution will probably be to active the Joomla debug mode ("Administration->Global configuration->System->Debug System/Language").
You should then see the debug data at the bottom of each page and on that page, you should get a debug of the translation file of HikaShop and the override file and it will tell you if there is a problem with them and if so, on which line is the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 0
10 years 9 months ago #181190

Thanks. I switched debug language to 'yes' but then only got blank screens at the front end of the website - no debug messages or error messages.

Please Log in or Create an account to join the conversation.

  • Posts: 84301
  • Thank you received: 13697
  • MODERATOR
10 years 9 months ago #181230

Then activate as well the "error reporting" option of the joomla configuration and you should get the error messages.

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 0
10 years 9 months ago #181950

I have not got this error message:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 130968 bytes) in /home/myname/public_html/libraries/joomla/language/text.php on line 896.

Seems strange - surely not much memory will be taken up by the language file itself... so it must be something else.

Any suggestions?

Last edit: 10 years 9 months ago by Doofa. Reason: Typo

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #181963

Hi,

This seems to be more a Joomla issue than an HikaShop one.
I tried to see the line of the error in the indicated file on my local but I don't have 896 lines in that file.

In all cases, you can increase the memory size allocation in order to no more have this problem.

Please Log in or Create an account to join the conversation.

  • Posts: 193
  • Thank you received: 76
10 years 9 months ago #182046

I think this fatal error is related to debug plugin, which is very resource hungry.

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum