×
Kunena 5.2.6 released and Blue eagle 1.6.6 released (25 Jul 2021)

The Kunena team has announce the arrival of Kunena 5.2.6 [K 5.2.6] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.2 and issues discovered during the development stages of K 5.2.6

× Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question Editing 401 Unauthorized Message

More
5 months 3 days ago #1 by AlexRag
Looking for some guidance on best practice on how to change the 401 Unauthorized message:

401 Unauthorized

You may not be able to visit this page because of:
  1. an out-of-date bookmark/favourite
  2. a search engine that has an out-of-date listing for this site
  3. mistyped address
  4. you have no access to this page
  5. The requested resource was not found.
  6. An error has occurred while processing your request.
If difficulties persist, please contact the System Administrator of this site and report the error below.

My first guess is language overrides, but not sure.   Thanks in advance.

Please Log in or Create an account to join the conversation.

More
5 months 2 days ago #2 by rich
Language override should be work.

 
Attachments:
The following user(s) said Thank You: AlexRag

Please Log in or Create an account to join the conversation.

More
3 months 2 weeks ago #3 by AlexRag
I can't seem to locate all the text "401 Unauthorized"

Please Log in or Create an account to join the conversation.

More
3 months 2 weeks ago #4 by Bigbunny
Doesn't that come from Joomla rather than Kunena?  In which case any changes you make will affect what others see in other parts of your Joomla installation.  The message will also appear when unauthenticated users try to log in that you really want.

I assume you are doing this because of your other posting.  If you do change it then surely it makes sense to just add a line that states you may be seeing this as you have logged out.

Please Log in or Create an account to join the conversation.

More
3 months 2 weeks ago #5 by rich
Yes, the error message comes from Joomla.
You can't find this text phrases because your search keywords and the text in the language file are different. The language in the files are translated with HTML codes.
Example:
a search engine that has an out-of-date listing for this site
the same text in the language file
a search engine that has an <b>out-of-date listing for this site</b>

Therefore, you must crop this phrase. You get results with
a search engine that has an
or
out-of-date listing for this site

It is the constants:
JERROR_LAYOUT_AN_OUT_OF_DATE_BOOKMARK_FAVOURITE
JERROR_LAYOUT_SEARCH_ENGINE_OUT_OF_DATE_LISTING
JERROR_LAYOUT_MIS_TYPED_ADDRESS
JERROR_LAYOUT_YOU_HAVE_NO_ACCESS_TO_THIS_PAGE
JERROR_LAYOUT_REQUESTED_RESOURCE_WAS_NOT_FOUND
JERROR_LAYOUT_ERROR_HAS_OCCURRED_WHILE_PROCESSING_YOUR_REQUES

Maybe this link is helpful too:  docs.joomla.org/Custom_error_pages

 

Please Log in or Create an account to join the conversation.

More
3 months 1 week ago #6 by AlexRag
Thank you.   I will have closer look at the links and info.   That said, if this a Joomla generated message I think I might look at exploring a logout redirection to a public page (like home) rather than leave them on the page that is only visible when registered.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.077 seconds