custom 404 page no longer working after upgrade - Forum | JoomShaper
Staff replied SP Page Builder

custom 404 page no longer working after upgrade

Asked by Karen Dunne 4 years ago Last activity 4 years ago

Hi,
I recently updated SPPB to 3.8.7. Now an incorrect URL does not redirect to the 404 page. The 404 page does render as expected however, see https://mavendesignstudio.com/404

When a URL is not found, instead of rending the 404 page, the browser shows this text:
"Default Layout file is not exists! Please goto to template manager and create a new layout first."

All steps are in place as described in this blog post:
https://www.joomshaper.com/blog/create-a-custom-joomla-404-page-with-sp-page-builder#

What is causing this?

Thank you,

Karen

20 replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

Karen Dunne Asked this

Thanks, Toufiq. Credentials have been added.

Toufiq Senior Staff

Disable the 4SEO extension and check again. Thanks

Karen Dunne Asked this

Hi Toufiq,

I see...disabling 4SEO allowed the redirect to the 404 page.

When 4SEO is enabled, the error message from an unknown URL says, "Default Layout file is not exists! Please goto to template manager and create a new layout first." What does this mean? There is already a template assigned to the 404 page.

What can be done to still have the 404 redirect work?

Thanks,

Karen

Toufiq Senior Staff

If you disable the 4SEO extension, then your redirect 404 page will work. Thanks

Karen Dunne Asked this

Yes, I understand that. But what to do in order to use 4SEO with Joomshaper?

Toufiq Senior Staff

Contact your extension provider to make compatible with the Page Builder. Thanks

Karen Dunne Asked this

Hi Toufiq,

I've been working with the developer of 4SEO, Yannick, to troubleshoot the issue between Joomshaper/Helix and 4SEO producing this error ""Default Layout file is not exists! Please goto to template manager and create a new layout first" when there is a 404 error.

We have done many tests and concluded that the issue is coming from Joomshaper/Helix template. Testing included deleting the error.php file from the template directory (templates/shaper_helixultimate). When that file is removed and 4SEO's 404 setting is not enabled, the default Joomla 404 page renders. The Joomshaper template displays the Joomla error file instead of its own error.php file, but it still blocks any further rendering.

But when 4SEO's error page is enabled, it renders the message, "Default Layout file is not exists! Please goto to template manager and create a new layout first." Our conclusion is that the Helix template error handling is taking over and breaking 4SEO error page handling.

4SEO's 404 rendering works normally with Cassopiea and all Joomla templates (and all template providers I can think of). Only JoomShaper has been causing this kind of trouble.

How can this be resolved please?

Thanks,

Karen

Karen Dunne Asked this

Hi Toufiq,

How can this be resolved please?

Thanks,

Karen

Toufiq Senior Staff

Did you changed or blocked administrator access?

Log in to reply.