• Home
  • Get help
  • Ask a question
Last post 2 hours 31 min ago
Posts last week 110
Average response time last week 29 min
All time posts 67419
All time tickets 10424
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.

#4602 – error when dispaying a 404 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.
Friday, 02 February 2018 21:08 UTC
bobptz
 Hi

This is a valid url:
xxxx.com/tourist-greek.html

This is NOT a valid url:
xxxx.com/tourist-greek-bbb.html

It produces this error:
>>>>>>>>>>>>>>
Notice: Undefined index: in /home/soulther/xxxx.com/libraries/legacy/error/error.php on line 339
JError::raise -> Static method JError::handle does not exist. Contact a developer to debug
Error was
Not found
<<<<<<<<<<<<<<

In the sh404sef "404 error handling" I set "Use joomla 404 error page".

If I use the sh404sef 404 error pages, it works better.

BTW in the production site the error 404 works file:
xxxx.com/tourist-greek-bbb.html

But the production has joomla version 3.8.2 and no sh404sef.
Monday, 05 February 2018 09:57 UTC
wb_weeblr
Hi

In the sh404sef "404 error handling" I set "Use joomla 404 error page".


As the message says, you are using the Joomla error page and this error is not coming from sh404SEF at all. There's a 100% chance it's a bug in your template (which handles the error page).

Rgds
 
Monday, 05 February 2018 11:03 UTC
bobptz
I tested it by dissabling sh404sef. I set NO to "Enable URL optimization".

Now my joomla template 404 page works just fine.

It is obvious that sh404sef does something that prevents the template 404 page from working properly.


Monday, 05 February 2018 16:15 UTC
wb_weeblr
Hi

It is obvious that sh404sef does something that prevents the template 404 page from working properly
No it's not obvious.

I tested it by dissabling sh404sef. I set NO to "Enable URL optimization".



Now my joomla template 404 page works just fine.

This absolutely does NOT mean sh404SEF is causing the problem. It is not a valid test - because you still do not know what caused the error.

This case is a well known situation. What happens is a bug in your template/in one of your extension. That bug only appears when sh404SEF is enabled.

I had taken a backup of your site, and debugged to find out. The bug is in the REDJ extension, which incorrectly assumes that all exception will have a "level" value.

Please take the matter to RedJ developers, the bug is in the file /plugins/redj/redj.php at line 653.

Rgds
 
Monday, 05 February 2018 17:33 UTC
bobptz
I am really sorry. I appreciate the time you took. I will notify REDJ about it. I may also dissable it, since other extensions do the same (like sh404sef, right?).
Monday, 05 February 2018 17:36 UTC
wb_weeblr
Hi

Yes, if you have sh404SEF, you can do the same as RedJ but also much more, with the generic redirection rules (redirect /old-cat/* to /new-cat/*).

Rgds
 
Monday, 05 February 2018 17:40 UTC
bobptz
Great, thanks.
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.