After Editing A Module, Save Leads To 404 Page And Module is Locked - Question | JoomShaper

After Editing A Module, Save Leads To 404 Page And Module is Locked

M

Marco

Helix Framework 5 months ago

Hello,

after editing a module, saving leads to a 404 page and the module is locked

After editing a module and saving it, the 404 page is displayed, the module is then locked and must be released.

The 404 page is displayed using the following code in error.php under Helix Ultimate:

// custom 404 redirect
$config = JFactory::getConfig();
$sef = $config->get('sef');
$sef_rewrite = $config->get('sef_rewrite');
$sef_suffix = $config->get('sef_suffix');
$redirect_url = JURI::base();
if(!$sef_rewrite) {
    $redirect_url .= 'index.php/';
}
$redirect_url .= '404'; // menu alias
if($sef_suffix) {
    $redirect_url .= '.html';
}
// if sef is turned off
if(!$sef) {
    $redirect_url = 'index.php?option=com_sppagebuilder&view=page&id=209';
}
if (($this->error->getCode()) == '404') {
    header('Location: ' . $redirect_url, true, 301);
    exit;
}

Can someone please tell me why - thanks!

Regards - Marco

0
11 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 5 months ago #140692

Hi there,

I appreciate you reaching out. I sincerely apologize for this oversight. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

0
M
Marco
Accepted Answer
4 months ago #140942

the problem with the 404 page has strangely disappeared - but modules remain locked when edited and saved with the frontend editor after closing.

If the module is edited with the backend editor, then it is not locked after editing, saving and closing, because before that there is the possibility to save the module itself - on Joomla level.

Regards - Marco

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #141142

No problem found about the module lock and 404 page works fine when i entire wrong url inside the browser.

0
M
Marco
Accepted Answer
4 months ago #141175

Hello,

the 404 page happens to me from time to time, but I still don't know what the problem is.

I proceed as follows with the module:

The module to be edited is not locked https://prnt.sc/R-UdxEvIhmx1

Open module https://prnt.sc/AtMe2-dM0brC

Specify that you want to edit with Frontend Editor and Frontend Editor opens https://prnt.sc/D5BYj_0CV2pN

Edit module, save and close - content of the module is displayed https://prnt.sc/lDrqbIWcJDqE

This all happened in one window, so I have to open a new one and call up my administration backend again https://prnt.sc/iLBdd1jsC4Eg

Call up modules and - the module is locked https://prnt.sc/XhiFEeF9cYVn

What order do you follow so that it is not locked?

Regards - Marco

0
M
Marco
Accepted Answer
4 months ago #141300

the problem with the 404 page apparently only affects 2 modules!

These two modules serve the Mega Menu and here it is as described - if I edit the modules https://prnt.sc/efMyH9RtGUdf

https://prnt.sc/yDawvWM527FR

the 404 page appears https://prnt.sc/yDawvWM527FR

I don't have this problem with other modules!

However, all modules are locked after closing

Regards - Marco

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #141621

When a module is accessed from the front end and you attempt to edit it from the backend, it will appear as locked. This is because you are currently active in the front end interface, and the system restricts simultaneous backend editing to prevent conflicts or unintended changes.

0
M
Marco
Accepted Answer
4 months ago #141666

thanks for the answer, my first example with the module called "Test", which is not stored in any page, shows that it is not dependent on the frontend - please try it with the Test module, then you will know what I mean.

For the modules that are used for the mega menu, I can also imagine what you mean - but why the 404 page is displayed for these two modules, I don't understand again.

What about all the other modules that, if the frontend is currently displaying a page - but these modules are not on this page - open, save, locked!

regards

0
M
Marco
Accepted Answer
4 months ago #141672

my theory:

  • I open an unlocked module - the Joomla interface for editing a module is displayed to me
  • I click on "Edit with Frontend-Editor" - the module is opened in the frontend editor, in the same window
  • then I save the module in the frontend editor and close the module - the module is displayed to me in the same page in the Frontend, I can no longer get to the Joomla window to close the module.

Could it be that Joomla is responsible for unlocking the module and not SP Page Builder?

regards

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #141802

Please watch the video.

0
M
Marco
Accepted Answer
3 months ago #144222

Hello Toufiq,

thank you for your video - but I can't see how your tabs are opened and how much they are.

My video shows the following:

  • One tab has the backend administration open
  • I open the Test module - opens in the same tab
  • I click on "Edit with Frontend Editor" - opens in the same tab
  • I edit the module, save and close it - the content of the module is displayed to me - still in the same tab

When should I be able to click on save & close if everything happens in the same tab?

This is the reason why the module is blocked.

you can find my video here: https://hebammenzentrum.at/images/0af6dca6-7a2f-407f-bd69-ea7ae9065e2d.mkv

Regards - Marco

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 months ago #144353

We have added Back to backend editor. Did you check?

0