Own Error Page - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Own Error Page

B

Bernd

Helix Framework 3 years ago

Hi,

I would like to show my own error error page instead of Helix error page. I followed your instructions in your blog here: https://www.joomshaper.com/blog/create-a-custom-joomla-404-page-with-sp-page-builder

But it doesn't work. Instead of showing the error page home page is shown always.

I'm using Helix Ultimate 2, SPPB 3.8 and Joomla 4.

Do you have any idea what to do?

Best regards

0
35 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #50511

Home redirect issue solved our next version. We are testing and we will release it soon. Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #47414

Hi there,

Thanks for contacting us. Sorry for the inconvenience. I have done my end with joomla 4 and it works fine. Can you provide me the FTP access & Joomla administrator access to check the issue? I will check & get back to you soon.

-Thanks

0
B
Bernd
Accepted Answer
3 years ago #47626

Hi Toufiq,

thanks for your reply. Here you are!

If you can find the issue, please let me know what to do, because it is the same with some other sites. Thanks!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #47640

Joomla administrator access doesn't work

0
B
Bernd
Accepted Answer
3 years ago #47645

Now it works. I tested it. Thanks!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #47659

Super admin access, Please

0
B
Bernd
Accepted Answer
3 years ago #47662

Done!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #47683

I think your SEF configuration is misconfig. Will you please check your .htaccess file. Cause, After disable sef it works fine. Thanks

0
B
Bernd
Accepted Answer
3 years ago #47710

Thanks for checking. Do you have any idea what to change in .htaccess? I tried lots of Joomla Core sef settings in .htaccess, but it doesn't work. Disabling sef is no option. Also setting ErrorDocument 404 path in .htaccess has no effect.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #47883

You have modified the htaccess code and what you have done i don't know. I have checked my end and it works fine.

Check this site

http://helix-framework.org/

0
B
Bernd
Accepted Answer
3 years ago #47989

Hi Toufiq,

thank you again.

I have no idea, what to do.

Even if I use the original .htaccess delivered with J4 (i.e. without any modification) no 404 page is displayed, neither the one from Helix nor the one built with SPPB.

The redirect component and plugin of J4 also makes no difference.

0
J
Jim
Accepted Answer
3 years ago #48138

yes with j4 all sp pagebuilder pages dont redirect to error page. blog pages and all other pages work. please fix this issue - on your posted page - helix---org - it also doesnt work: http://helix-framework.org/portfollio.html

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #48178

If you type wrong URL then it will redirect 404 page

http://helix-framework.org/portfollio.html

to

http://helix-framework.org/portfollio.htmlxxx

-Thanks

0
B
Bernd
Accepted Answer
3 years ago #48324

Hi Toufiq,

I found the cause, but I don't have the skills to fix it. It's an issue with SPPB!

I made a brandnew installation for testing, including all my plugins, components (including, changings in .htacces and so on. It worked perfectly: Helix 404 page or another indiviual errror page was displayed all the time - up to that moment I set a SPPB Page as Home. From that moment on, all non existing url were redirected to home instead of Helix 404 page or another specified error page. If I set a non-SPPB page as home, helix or my own error page is displayed correctly.

If you want to test it, see hidden content of this post.

Is there any line of code I can edit to fix it? I have to work with SPPB and it's important to display an individual error page.

Thanks!

0
J
Jim
Accepted Answer
3 years ago #48334

Hi Toufiq, Please test your own answer: http://helix-framework.org/portfollio.html that will not redirect to 404.. simply redirect to home so please check why error redirect dont work with sp-pagebuilder pages. i pay every year for support and pro...

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #48337

Did you check my past reply. There has two url's. Check the difference. Thanks

0
J
Jim
Accepted Answer
3 years ago #48339

yes i checked. nobody writes the 2nd url so we need a working redirect for the first url because people would type this url not the other one. so a /about-usss.html is possible but a /about-us.htmlxx think nobody will type.

0
B
Bernd
Accepted Answer
3 years ago #48341

Yes, I checked. And now? What should I do?

0
B
Bernd
Accepted Answer
3 years ago #48344

I described exactly what I did. Redirect to Helix 404 page works perfectly, if home is not a SPPB page but e.g. a Joomla article. So it has definitely to do with SPPB, obviously.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #48403

Your question is not clear for me.

What is the meaning of 404 error?

A 404 error indicates that the webpage you're trying to reach can't be found. You might see a 404 error because of a problem with the website, because the page was moved or deleted, or because you typed the URL wrong.

0
J
Jim
Accepted Answer
3 years ago #48449

its more than clear: when a user types the wrong url - joomla redirects to an error page. this page can be a custom url-redirect like /error-404.html so i have in the menu a sppagebuilder page "error-404" this redirect dont work if its a sppagebuilder page. when its a joomla article page that works, but if its a sp-pagebuilder page not in joomla 4. in joomla 3 there was no problem. ( in error.php: if 404 -> redirect to /error-404.html )

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #48468

If I may...

I think error management in Joomla 4.0.x seems to be working in a different way than it was in J3. In that case, we have to rebuild the Helix/SPPB code, but for now, we don't have any duck tape solution (temporary fix).

I have quick question. If you will switch template from Helix into Casopeia (as defult) what do you see on wrong link?

0
J
Jim
Accepted Answer
3 years ago #48526

hi, i tested this case with j4, cassiopaia template and home, about-us, kontakt pages as sp-pagebuilder-pages. the same result: if wrong link typed -> redirect to home. if its an article page -> redirect to error page of cassio. we need the duck-tape-solution :D soon :) - and: i dont use helix - just sp-pagebuilder with custom template.

0
B
Bernd
Accepted Answer
3 years ago #48680

Hi Toufiq, hi Paul,

thanks, Paul, for joining this discussion. Back here I agree with Jim.

At my installations there's also no difference whether I use Helix or Cassiopeia. Editing .htaccess (e.g. with ErrorDocument 404 directive), editing error.php of Helix, error.php in /templates/system/, enabling/disabling redirect component and plugin of J4 also don't fix it.

Is there no simple way, e.g. by editing a few lines of code of SPPB? Jim is right - it's urgent!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #48683

Already i have added this issue in our working board. I hope developer team will fix it as soon as possible. Thanks

0
B
Bernd
Accepted Answer
3 years ago #48772

Thanks.

For testing I installed SPPB 3.7.9 instead of 3.8.1. Result: Redirect works!

Where can I download older versions, e.g. 3.7.15?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #48775

Please check the hidden content area. Thanks

0
B
Bernd
Accepted Answer
3 years ago #48778

3.7.15 also doesn't work. Could you send me the ones from 3.7.10 to 3.7.14. I'd like to install the newest one that works. Thanks!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #48872

3.7.14

0
B
Bernd
Accepted Answer
3 years ago #50344

Redirect doesn't work with 3.7.14. What about the older ones from 3.7.10 to 3.7.13. I'd like to test. Thanks.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #50448

Please check the hidden content

0
J
Jim
Accepted Answer
3 years ago #50494

and where is the version for all the other poeple? cant see hidden content..

0
B
Bernd
Accepted Answer
3 years ago #50507

3.7.9 is the latest version that works with J4. From 3.7.10 to 3.8.2 not. If J3 is installed redirect works also with 3.8.2. It is a pity.

And, to be honest, support in this case was not satisfactory, unfortunately. Hope you can fix the issue quickly.

Thanks!

0
B
Bernd
Accepted Answer
3 years ago #50517

Sounds good. Thank you!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #50531

You are most welcome

0