?
avatar ceford
ceford
29 Aug 2020

Steps to reproduce the issue

I first met this problem on clicking the Admin Title bar 'Open Front end in New Window' icon. The new window says: 'The page isn’t redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies.'.

I can reproduce it: open Google Chrome and delete all cookies. Then use this URL: http://localhost/j4beta2/index.php - sometimes comes back with a trailing / - generates that error message. So try this url: http://localhost/j4beta2/index.php/en/ - and that works.

I am updating my nightly build almost every day. This is a multilingual site used for testing.

Expected result

Actual result

System information (as much as possible)

Additional comments

I stepped through with the debugger to here:

[[type] => 8, [message] => Trying to get property 'sef' of non-object, [file] => /Users/ceford/Sites/j4beta2/plugins/system/languagefilter/languagefilter.php, [line] => 235]

avatar ceford ceford - open - 29 Aug 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 29 Aug 2020
avatar ceford
ceford - comment - 29 Aug 2020

Setting site Error Reporting to Maximum I also get this:
( ! ) Notice: Undefined index: nl-NL in /Users/ceford/Sites/j4beta2/plugins/system/languagefilter/languagefilter.php on line 455

I installed nl-NL for testing the Admin interface. I have not created any content with it. The page kept reloading error messages until stopped manually.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30512.

avatar infograf768
infograf768 - comment - 30 Aug 2020

Please post screenshots of

  1. the Multilingual Status module
  2. the Content Languages manager and check the URL Language Code (sef) for each content language. You may just be missing it for a language.

Updating Nightly builds may also be the problem as well as not creating any Home menu item for your nl-NL language.

avatar infograf768
infograf768 - comment - 30 Aug 2020

EDIT: I am pretty sure it is due to a missing URL Language Code.
This means we need to add an error in the Multilingual Status module as it does not check that aspect.

avatar brianteeman
brianteeman - comment - 30 Aug 2020

Isnt it a required field?

avatar ceford
ceford - comment - 30 Aug 2020

Item 1:
image

avatar infograf768
infograf768 - comment - 30 Aug 2020

Isnt it a required field?

It is. I guess the poster has done a mistake, or happened what is solved here: #30496

Now, obviously if the site is not set correctly as posted above, all will be broken. ROTFLOL

avatar ceford
ceford - comment - 30 Aug 2020

Item 2:
image

avatar infograf768
infograf768 - comment - 30 Aug 2020

@ceford
This is not the Content Languages Manager. It is the Installed Languages Manager.
But anyway, your site is totally wrongly implemented for multilingual.

avatar ceford
ceford - comment - 30 Aug 2020

I installed nl-NL to see the Dutch translations of Help screens. I don't remember when I made nl-NL the default language. I had no need to do that - I selected it in the Admin login screen.

avatar infograf768
infograf768 - comment - 30 Aug 2020

@ceford
You should NEVER set the languagefilter plugin on when the site is not prepared as multilingual.
backend help does not need the language filter to be set to Yes.
Closing this as a non issue.

avatar infograf768 infograf768 - close - 30 Aug 2020
avatar infograf768 infograf768 - change - 30 Aug 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-08-30 15:39:22
Closed_By infograf768
avatar ceford
ceford - comment - 30 Aug 2020

Item 2:
image

avatar ceford
ceford - comment - 30 Aug 2020

If the language set up is all wrong it follows installation of the multi-language data set and lots of patch testing. Installation of nl-NL was very recent.

avatar infograf768
infograf768 - comment - 30 Aug 2020

You have the url language code, but the rest is missing.
If you want to test multilingual, make sure you installed the languages in a clean site and then use the Multilingual Sample Data module in the dashboard to create a fully simple multilingual site.

avatar infograf768
infograf768 - comment - 30 Aug 2020

Screen Shot 2020-08-30 at 17 43 07

avatar ceford
ceford - comment - 30 Aug 2020

That is what I did - but back at Beta1 or 2 stage. Time for a clean install! Sorry to waste your time.

That term 'Manager' is not present in the Admin interface other than in the Help Screens - confusing!

avatar infograf768
infograf768 - comment - 30 Aug 2020

No p. :)

avatar ceford
ceford - comment - 30 Aug 2020

Where does that Testing Sample Data come from?

avatar infograf768
infograf768 - comment - 30 Aug 2020

It is only present on dev. It will not be released with stable.

Add a Comment

Login with GitHub to post a comment