Can't edit email templates after migrating

Need help upgrading your Joomla! website or converting to Joomla! 4.x?

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
Fredefriis
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jul 11, 2012 9:59 pm

Can't edit email templates after migrating

Post by Fredefriis » Tue Sep 05, 2023 9:15 am

After migrating to Joomla 4.3.4 i can't edit the Email templates.

When hovering over the templates i can see the "link" is saying :
"Warning: Attempt to read propertary"

Does anyone know how to fix this ?
You do not have the required permissions to view the files attached to this post.

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2290
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Can't edit email templates after migrating

Post by ceford » Tue Sep 05, 2023 3:33 pm

I don't know how to fix it! But the code generating the link is this:

Code: Select all

<?php echo Route::_('index.php?option=com_mails&task=template.edit&template_id=' . $item->template_id . '&language=' . $this->defaultLanguage->lang_code); ?>
So it would be good to see the rest of the message. You could look for that in the page source or you could turn on your browser Developer Tools and look for it there.

Could be language related.

Fredefriis
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jul 11, 2012 9:59 pm

Re: Can't edit email templates after migrating

Post by Fredefriis » Sat Sep 30, 2023 10:55 pm

I have tried to update the laungage or even change the laungage but it seems there are and error on the launague module.

I can't access it and it tells me "The update table is not up to date. Please rebuild your update server table"
But when i rebuild the database it still won't work.

Can i do some kind of recovery by installing a update package or something ?

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2290
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Can't edit email templates after migrating

Post by ceford » Sun Oct 01, 2023 3:08 am

Inspect the problem link with your browser Developer Tools and Copy the Outer HTML (right click on the link in the Inspector panel). Mine says this:

Code: Select all

<a href="/j4xdemos/administrator/index.php?option=com_mails&amp;task=template.edit&amp;template_id=com_config.test_mail&amp;language=en-GB">
Global Configuration: Test Mail</a>
I expect yours to show more. Also, try this with System Debug = Yes and Error Reporting = Maximum in Global Configuration.


Post Reply

Return to “Migrating and Upgrading to Joomla! 4.x”