• Home
  • Get help
  • Ask a question
Last post 6 hours 17 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67645
All time tickets 10455
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#7492 – Error Page

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 12 November 2020 10:02 UTC
lesc

Hi,
I'm currently developing a site at http://xxxx.mwvdev.info/ . I'd like to set up an error page that works the same as on another site I developed at https://www.xxxx.ca/.  sh404SEF is set up with the same settings on both sites but for some reason the error page doesn't appear when I go to a web address  http://xxxx.mwvdev.info/abc but it does when I go to https://www.xxxx.ca/abc. 

I'm unable to determine why the error page works on one site and not the other. Can I please get some assistance?

Thank you,
Les Coleman 

Thursday, 12 November 2020 11:26 UTC
wb_weeblr

Hi

http://xxxx.mwvdev.info/abc

I cannot test this at the moment, it gives a 500 error (you should enable System debug and set Error reporting to maximum in Joomla congi to have a more detailed error message).

but for some reason the error page doesn't appear when I go to a web address  http://xxxx.mwvdev.info/abc but it does when I go to https://www.xxxx.ca/abc.

It depends on what happens for the /abc page? do you get a server error? do you get the regular Joomla 404 error page? something else?

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Thursday, 12 November 2020 15:06 UTC
lesc

Hi Yannick,
I get the same error as you when Error Reporting is set to System Default. When it's changed to maxium I get the following error message on a white background:

Fatal error: Uncaught Joomla\CMS\Router\Exception\RouteNotFoundException: URL invalid in /home/mentdev/public_html/libraries/src/Router/Router.php:238 Stack trace: #0 /home/mentdev/public_html/libraries/src/Router/SiteRouter.php(139): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri)) #1 /home/mentdev/public_html/libraries/joomlatools/component/koowa/event/subscriber/application.php(63): Joomla\CMS\Router\SiteRouter->parse(Object(Joomla\CMS\Uri\Uri)) #2 /home/mentdev/public_html/libraries/joomlatools/library/event/publisher/abstract.php(128): ComKoowaEventSubscriberApplication->onAfterApplicationRoute(Object(KEvent), Object(ComKoowaEventPublisher)) #3 /home/mentdev/public_html/libraries/joomlatools/component/koowa/event/publisher/publisher.php(43): KEventPublisherAbstract->publishEvent(Object(KEvent), Array, Object(Joomla\CMS\Application\SiteApplication)) #4 /home/mentdev/public_html/plugins/system/joomlatools/joomlatools.php(394): ComKoowaEventPublisher->publishEvent(‘onAfterApplicat…’, Array, Object(Joomla\CM in /home/mentdev/public_html/libraries/src/Router/Router.php on line 238

In the sh404SEF Configuration dialog box, Error page tab, if 404 error handling is changed from "Override Joomla! 404 error page" to "Use Joomla! 404 error page" the standard Joomla 404 - Not found page shows up even when Error Reporting is set to maximum.

Thanks,
Les

Thursday, 12 November 2020 15:35 UTC
wb_weeblr

Hi

I get the same error as you when Error Reporting is set to System Default. When it's changed to maxium I get the following error message on a white background:

 shows up even when Error Reporting is set to maximum.

Error reporting and what's displayed when a 404 happens are not related. What's happening on that page is that an extension is having a fatal error and is killing the site.

By default Joomla will hide PHP fatal errors (that's what's happening on your site when a 404 error is triggered), it only displays a '500 error" message which is not useful really.

Changing Joomla config is only used to display the cause of the PHP fatal error which is killing your site - or rather killing sh404SEF error page.

In your case, the faulty extension is the JoomlaTools system plugin:

 #4 /home/mentdev/public_html/plugins/system/joomlatools/joomlatools.php

I think I remember something about it, another user reported that issue. Their router does something in the case of a 404, it tries to redirect to another URL but that's causing this problem. I'll try see if I can find the ticket were this was mentioned. I'd suggest talking to the JoomlaTools developers, for whatever extension you're using from them (DocMan?TextMan?...), they might have a better track of it.

It think they actually fixed the issue, or there was a setting in their extension you could change to avoid the bug. Are your Joomlatools fully updated?

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 

 
Thursday, 26 November 2020 20:41 UTC
lesc

Thanks Yannick, I'll contact Joomlatools.

 

Friday, 27 November 2020 09:03 UTC
wb_weeblr

Hi

You're welcomed. I searched but could not find the ticket where this was discussed (not even sure this was discussed here, might have been by other means). Hopefully they'll have a better memory.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Monday, 28 December 2020 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.