?
avatar wallstudios
wallstudios
4 Mar 2015

Steps to reproduce the issue

I had the default "getting started" article published on the home page while developing.

I first set it to be not featured but it still displayed on homepage.
I then moved to trash but it still showed.
I then emptied the trash.
from then I could not load the home page at all. Redirect loop issue

I went into phpmyadmin and assigned an article the ID of 1 and saved.

can now load home page.

tested on default template and had same issue so not template related.

Expected result

Not have a featured article on homepage
be able to delete article without issue.

Actual result

redirect loop

System information (as much as possible)

PHP Built On Linux 3.12.35.1418868451 #1 SMP Wed Dec 17 20:10:32 CST 2014 x86_64
Database Version 5.5.40-36.1
Database Collation utf8_unicode_ci
PHP Version 5.4.37
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.4.0 Stable [ Ember ] 24-February-2015 23:00 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

Additional comments

avatar wallstudios wallstudios - open - 4 Mar 2015
avatar wallstudios wallstudios - change - 4 Mar 2015
The description was changed
avatar brianteeman brianteeman - change - 4 Mar 2015
Labels Added: ?
avatar pcmitsis
pcmitsis - comment - 4 Mar 2015

@wallstudios Can you verify the problem with the latest code from the staging branch because i followed your steps but i could not find any problem. I emptied the trash and i was able to access the homepage of joomla without any posts (including th ID 1) successfully!

avatar wallstudios
wallstudios - comment - 4 Mar 2015

@pcmitsis I set up a demo account (https://wallstudios.demojoomla.com/index.php) and went through the same steps as before.
with the default install (no sample content) the getting started homepage link goes to the article id1 now if I delete that the site can't find it and then redirects to a 404 which is trying to redirect to the home page. hence the loop.

on the demo site it shows a 404 message. but on my dev site it just looped.
If the homepage menu is set to "Featured" it will work.

So it may simply need to not have the default home link set to an article.

avatar brianteeman
brianteeman - comment - 5 Mar 2015

Or just change the home page link to an existing piece of content. Surely it is expected behaviour if you have a menu link to something that doesnt exist that you get an error


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6293.
avatar wallstudios
wallstudios - comment - 5 Mar 2015

@brianteeman yes of course it is expected to have a 404 if you are trying to go to a page that doesn't exist. No issue with that. But I wouldn't expect a home page link it to be an article link by default. And that could just be me and not an issue.
I guess the only thing that needs to be done if anything is confirm that when you install 3.4 and select no sample content that the "Home" menu isn't directly linked to a content item but maybe to the "featured" option.
That way if articles are removed the home page doesn't break.

avatar zero-24 zero-24 - change - 7 Mar 2015
Category Front End
avatar brianteeman
brianteeman - comment - 11 Mar 2015

As the behaviour on an install without sample data IS to do exactly what you are suggesting I am closing this

avatar brianteeman brianteeman - change - 11 Mar 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-03-11 10:58:15
avatar brianteeman brianteeman - close - 11 Mar 2015

Add a Comment

Login with GitHub to post a comment