Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 1:29 pm (All times are UTC )

 





Post new topic Reply to topic  [ 18 posts ] 
Author Message
Posted: Sat Oct 20, 2007 3:33 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon May 29, 2006 12:38 pm
Posts: 44
Location: Hungary
I've got a strange bug in Joomla 1.5 RC3 (and the bug is also present in the latest nightly build).

When I'm not using the Frontpage component to list some articles for the index page of the site, but I choose a Blog section or a Blog category, the content urls stop working. If I'm using the Frontpage component, or I'm using the Blog section or the Blog category on a different page (reachable from the menu), the links are working as expected.

Investigating the problem further I found out, that the links are not containing every information
on a frontpage blog section I got a link like index.php?view=article&id=177, on other pages the working links are like index.php?view=article&catid=17&id=97&option=com_content&Itemid=29.

I think, the content component is getting some information from the caller url, which is not present on the index page (index.php without parameters).

Please, look at the problem, because I would like to use a content section as Front page, as I did it in 1.0. Thank you for your help.

Stampie


Last edited by mihu on Thu Nov 15, 2007 6:41 pm, edited 1 time in total.

Top
   
 
Posted: Sun Nov 11, 2007 8:27 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Nov 11, 2007 7:34 pm
Posts: 8
Friend did you got some fix for that error?


Top
   
 
Posted: Sun Nov 11, 2007 10:24 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 12, 2005 10:06 am
Posts: 327
I was about to post just this same bug.

You can basically only use com_frontpage as the "home" menu item or else sef links in a category or section blog listing will just be normal links and give error pages.

Please fix, these are bugs that keep people from further testing since they can stop development on a site.

Arno

_________________
Joomla! professional services http://www.alvaana.com
http://moovum.com - Get Mollom Anti-Spam on your Joomla! website with Moovur
Follow twitter: @me_arno @jfoobar @moovum


Top
   
 
Posted: Sun Nov 11, 2007 10:28 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon May 29, 2006 12:38 pm
Posts: 44
Location: Hungary
Not only SEF links. Even when all kinds of SEF are turned off, the problem stays. And I'm glad I'm not the only person who found this problem. And about two days ago the nightly build worked the same.

And I didn't had the time to examine the problem in details.


Top
   
 
Posted: Mon Nov 12, 2007 6:57 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Mar 20, 2006 8:17 am
Posts: 736
TEST w/ SVN 9339.
CONFIRMED.

If the com_frontpage is a "default" menu, and in category or section layout, the site xxx.com will lead to a error page.

_________________
bento2go.com - We DO NOT sell bento !!


Top
  E-mail  
 
Posted: Thu Nov 15, 2007 12:42 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 12, 2005 10:06 am
Posts: 327
The error I get after clicking a link is layout blog not found.

Maybe that helps.
[me=Jick]waiting patiently but with tapping feet for a fix for this one :-)[/me]

Arno

_________________
Joomla! professional services http://www.alvaana.com
http://moovum.com - Get Mollom Anti-Spam on your Joomla! website with Moovur
Follow twitter: @me_arno @jfoobar @moovum


Top
   
 
Posted: Thu Nov 15, 2007 2:41 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 5759
Location: New York
@mihu,

I don't understand what you mean by "default menu page."

_________________
Read your words before posting and think about how other people will read them.
Be polite. Be kind. Be constructive. Say thank you.
Freedom-Equality-Trust-Community-Collaboration-Usability
http://opensourcematters.org/index.php?Itemid=134


Top
   
 
Posted: Thu Nov 15, 2007 2:53 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 12, 2005 10:06 am
Posts: 327
Try to set a blog category or whatever to be the default menu item in the mainmenu of a clean 1.5 instead of the home link which is com_frontpage.

Than test the linked titles for example on that new default page.

Arno

_________________
Joomla! professional services http://www.alvaana.com
http://moovum.com - Get Mollom Anti-Spam on your Joomla! website with Moovur
Follow twitter: @me_arno @jfoobar @moovum


Top
   
 
Posted: Thu Nov 15, 2007 3:21 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 5759
Location: New York
Just to be clear, the problem happens when you make it the default?

Here is what i did on a svn that i copied this morning.
template milky way
no SEF

1. make a blog category menu link on main menu
2. make that link the default

Go to default, Got 500 error.

Click on the menu link it is fine.


This is because the default url is missing the option=com_content&.

I have seen this exact same problem on a number of different reports, including one from me about civicrm menu links.

The router is not picking up the component.

added:

The router seems to work correctly when making menu links, the problem lies, as usual, in those situations where the menu link is not being used directly.

I am going to try to put the reports about this in one place, if you know of any others, please you add them here.

_________________
Read your words before posting and think about how other people will read them.
Be polite. Be kind. Be constructive. Say thank you.
Freedom-Equality-Trust-Community-Collaboration-Usability
http://opensourcematters.org/index.php?Itemid=134


Last edited by mcsmom on Thu Nov 15, 2007 3:29 pm, edited 1 time in total.

Top
   
 
Posted: Thu Nov 15, 2007 4:26 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Wed Sep 21, 2005 9:25 am
Posts: 1542
Location: Thailand
Will look into this.  Examples using Rev 9352 and a very recent fresh install.
Home ( frontpage ) is default, URL is http://joomla-test/index.php?option=com ... &Itemid=50
The News ( Articles/Category/Blog ) is default, URL is http://joomla-test/index.php?view=artic ... volunteers

Probably a router problem.

tcp

_________________
http://www.gmitc.biz/


Last edited by tcp on Thu Nov 15, 2007 4:32 pm, edited 1 time in total.

Top
   
 
Posted: Thu Nov 15, 2007 4:33 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 12, 2005 10:06 am
Posts: 327
Thanks tcp

_________________
Joomla! professional services http://www.alvaana.com
http://moovum.com - Get Mollom Anti-Spam on your Joomla! website with Moovur
Follow twitter: @me_arno @jfoobar @moovum


Top
   
 
Posted: Thu Nov 15, 2007 4:54 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Wed Sep 21, 2005 9:25 am
Posts: 1542
Location: Thailand
In both cases, the layout files are responsible for creating the readmore link, but the View classes actually generates the href.  And they are doing it in different ways as show below.

Frontpage - ContentViewFrontpage::getItem()
Code:
$item->readmore_link = JRoute::_(ContentHelperRoute::getArticleRoute($item->slug, $item->catslug, $item->sectionid));


Category - ContentViewCategory::getItem()
Code:
$item->readmore_link = JRoute::_('index.php?view=article&catid='.$this->category->slug.'&id='.$item->slug);


I'm assuming Frontpage's method is preferable.  Updated in Rev 9353.  Please let me know if there are any problems.

tcp

_________________
http://www.gmitc.biz/


Top
   
 
Posted: Thu Nov 15, 2007 5:30 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 12, 2005 10:06 am
Posts: 327
First test looking good tcp, many thanks.

I'll let you know if anything goes wrong along the way.

Arno

_________________
Joomla! professional services http://www.alvaana.com
http://moovum.com - Get Mollom Anti-Spam on your Joomla! website with Moovur
Follow twitter: @me_arno @jfoobar @moovum


Top
   
 
Posted: Thu Nov 15, 2007 5:46 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Oct 02, 2006 3:08 am
Posts: 601
Location: Turkey
@tcp can you pls see my post related to this issue.

http://forum.joomla.org/index.php/topic ... msg1063134

_________________
Every soul will taste of death.


Top
  E-mail  
 
Posted: Thu Nov 15, 2007 6:09 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 5759
Location: New York
No more 500 error for me. :)

_________________
Read your words before posting and think about how other people will read them.
Be polite. Be kind. Be constructive. Say thank you.
Freedom-Equality-Trust-Community-Collaboration-Usability
http://opensourcematters.org/index.php?Itemid=134


Top
   
 
Posted: Thu Nov 15, 2007 6:42 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Mar 20, 2006 8:17 am
Posts: 736
DEV Notes; Marks as FIXED

Thanks tcp

@all,

Can we close this one down?

_________________
bento2go.com - We DO NOT sell bento !!


Top
  E-mail  
 
Posted: Fri Nov 16, 2007 2:02 am 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 5759
Location: New York
I'd say so.

_________________
Read your words before posting and think about how other people will read them.
Be polite. Be kind. Be constructive. Say thank you.
Freedom-Equality-Trust-Community-Collaboration-Usability
http://opensourcematters.org/index.php?Itemid=134


Top
   
 
Posted: Fri Nov 16, 2007 9:50 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Wed Sep 21, 2005 9:25 am
Posts: 1542
Location: Thailand
Dennis found the answer to this a month ago.

Moving to Resolved.

_________________
http://www.gmitc.biz/


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group