"404 - Component not found" after upgrade

Joomla version 1.5 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
wmljoomla
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Tue May 06, 2008 7:27 pm

755 Permission?

Post by wmljoomla » Wed May 28, 2008 8:20 am

What is a 755 permission
Last edited by pe7er on Wed May 28, 2008 9:07 am, edited 1 time in total.
Reason: Please use a more descriptive subject for your messages.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 25042
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: 755 Permission?

Post by pe7er » Wed May 28, 2008 9:09 am

Background info about permissions: http://en.wikipedia.org/wiki/File_syste ... ermissions
And about changing permissions: http://en.wikipedia.org/wiki/Chmod

FAQ: Joomla! Permissions Overview: http://forum.joomla.org/viewtopic.php?t=121470
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

mattburkett
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri May 02, 2008 5:19 pm

Re: Re:

Post by mattburkett » Wed May 28, 2008 10:00 am

Just to get back to the moral of the story for those who are new (like myself at the time):
Moral of the story - Don't stress yourself out by deleting or changing that darn home button. Looks like it always needs an item with id 1.

I haven't been able to have the site work without a home button/menu item id=1. DO NOT DELETE THAT and if you do, go to your Menu Trash and you will find it, untrash it, set it as Default Menu Item and everything will be okay again.

Sorry, but, from a newbie stand point this is unbelievably important. Hopefully this search shows up in Google or other engines when people have the same issue I did.

Take care,
Matt

wmljoomla
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Tue May 06, 2008 7:27 pm

Re:

Post by wmljoomla » Wed May 28, 2008 11:14 am

will upgrading to latest version of joomla solve the problem so do not have to do all the fixes? I have joomla 1.5.1

wmljoomla
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Tue May 06, 2008 7:27 pm

Re: 755 Permission?

Post by wmljoomla » Wed May 28, 2008 11:24 am

pe7er wrote:Background info about permissions: http://en.wikipedia.org/wiki/File_syste ... ermissions
And about changing permissions: http://en.wikipedia.org/wiki/Chmod

FAQ: Joomla! Permissions Overview: http://forum.joomla.org/viewtopic.php?t=121470


Jeez!! why not just answer a question instead of sending me to a manual to search for the answer? give me a break already. This site is taking 5 times long to create because I cannot get simple answer to my questions They are either left unaswered or I am sent away to search the internet or entire manual. for the answer. How about some real support for a newbie who did not get a masters in web development?

Can you just tell me how the 755 permission applies to this problem in joomla without sending me to a text book to read?? I just need to know where and how to find that one step in the joomla file in question and not in wikiipedia text. JeeZZ!!

wmljoomla
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Tue May 06, 2008 7:27 pm

Re: Re:

Post by wmljoomla » Wed May 28, 2008 11:35 am

mattburkett wrote:Just to get back to the moral of the story for those who are new (like myself at the time):
Moral of the story - Don't stress yourself out by deleting or changing that darn home button. Looks like it always needs an item with id 1.

I haven't been able to have the site work without a home button/menu item id=1. DO NOT DELETE THAT and if you do, go to your Menu Trash and you will find it, untrash it, set it as Default Menu Item and everything will be okay again.

Sorry, but, from a newbie stand point this is unbelievably important. Hopefully this search shows up in Google or other engines when people have the same issue I did.

Take care,
Matt
thanks matt for giving the newbie perspective that helps a lot. thanks for taking the time for the explanation

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 25042
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re:

Post by pe7er » Wed May 28, 2008 11:39 am

wmljoomla wrote:Jeez!! why not just answer a question instead of sending me to a manual to search for the answer? give me a break already. This site is taking 5 times long to create because I cannot get simple answer to my questions They are either left unaswered or I am sent away to search the internet or entire manual. for the answer. How about some real support for a newbie who did not get a masters in web development?

You have to invest some time yourself... I linked directly to the right section.

If you are not happy with the support: Help in the forum is voluntary only. You can post your request for paid help in Professional Services http://forum.joomla.org/viewforum.php?f=177
Make sure that before posting you read the: • Guide for posting professional requests • http://forum.joomla.org/viewtopic.php?f=177&t=163981
Don't forget to include some contact info, as it is not possible to reply to threads in that forum.
Can you just tell me how the 755 permission applies to this problem in joomla without sending me to a text book to read?? I just need to know where and how to find that one step in the joomla file in question and not in wikiipedia text.

Please read Ask Questions The Smart Way by Eric Raymond.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

wmljoomla
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Tue May 06, 2008 7:27 pm

Re: So read or pay for professonal help

Post by wmljoomla » Wed May 28, 2008 11:45 am

so How much do you guys charge to get questions answered that will not be answered for free???

wmljoomla
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Tue May 06, 2008 7:27 pm

Re:

Post by wmljoomla » Wed May 28, 2008 11:56 am

This is the 1st Support forum I have every participated in that pushes you to paid support rather that freely giving support! hmmm . Again, if anyone is aware of s support forum where newbie question are allowed and encouraged w/out being pressured to pay, I will greatly appreciate the link. If I find one on my own I will be sure to post so all the newbies will know where to go. Thanks

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 25042
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: So read or pay for professonal help

Post by pe7er » Wed May 28, 2008 12:03 pm

wmljoomla wrote:so How much do you guys charge to get questions answered that will not be answered for free???
Please read all comments at your other post: http://forum.joomla.org/viewtopic.php?f=48&t=295528
Regarding your question: How many questions have I answered at this forum for free? (see my profile)
wmljoomla wrote:This is the 1st Support forum I have every participated in that pushes you to paid support rather that freely giving support! hmmm . Again, if anyone is aware of s support forum where newbie question are allowed and encouraged w/out being pressured to pay, I will greatly appreciate the link. If I find one on my own I will be sure to post so all the newbies will know where to go. Thanks
Please ask yourself why people can't help you and why would someone link to Ask Questions The Smart Way...
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

User avatar
brad
Joomla! Master
Joomla! Master
Posts: 13272
Joined: Fri Aug 12, 2005 12:38 am
Location: Australia
Contact:

Re: Re:

Post by brad » Wed May 28, 2008 12:13 pm

wmljoomla wrote:This is the 1st Support forum I have every participated in that pushes you to paid support rather that freely giving support! hmmm . Again, if anyone is aware of s support forum where newbie question are allowed and encouraged w/out being pressured to pay, I will greatly appreciate the link. If I find one on my own I will be sure to post so all the newbies will know where to go. Thanks
No one is pushing you to paid support at all. In fact I don't see a single post about paid services. I would not know where to go for paid support anyway.
If people are soliciting your money in private or via PM, report it and we will take action against them as that is not in line with the rules.

BTW you are also highjacking peoples threads. This thread is going off topic thanks to you now.

You need to calm down and ask yourself why just today alone you have upset so many of the people who are best able to help you. Also, please, in all seriousness, take a deep breath and read the forum rules. You are not going to be permitted to cause a mess around here for much longer.

AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7018
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

Re: Re:

Post by AmyStephen » Wed May 28, 2008 1:54 pm

mattburkett wrote:Just to get back to the moral of the story for those who are new (like myself at the time):
Moral of the story - Don't stress yourself out by deleting or changing that darn home button. Looks like it always needs an item with id 1.

I haven't been able to have the site work without a home button/menu item id=1. DO NOT DELETE THAT and if you do, go to your Menu Trash and you will find it, untrash it, set it as Default Menu Item and everything will be okay again.

Sorry, but, from a newbie stand point this is unbelievably important. Hopefully this search shows up in Google or other engines when people have the same issue I did.

Take care,
Matt
Matt -

It is no longer possible in Joomla! 1.5 to delete the home menu item. If you attempt to do so, you will get this error message in red at the top of the menu manager:
You cannot trash the default menu item
In Joomla! 1.0.x, you could delete it and it was very stressful for new people to figure out the problem. The developers have ensured that should not happen with the 1.5 release (which is the forum area we are in).

Hope that helps!
Amy :)

User avatar
Hackwar
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3788
Joined: Fri Sep 16, 2005 8:41 pm
Location: NRW - Germany
Contact:

Re:

Post by Hackwar » Wed May 28, 2008 10:09 pm

Even when you deleted the Home menu item, this is not that tragic in 1.5, since you can just select another menu item and make it the default item by clicking the button in the buttonbar. ;)
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.

Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.

meltongmn
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri May 30, 2008 8:03 am

Re: 404 Component Not Found error

Post by meltongmn » Mon Jun 02, 2008 1:49 am

Kristobal wrote:Hello all!

In developing our new site with Joomla 1.5.1 all was going fine then we started getting the 404 Component Not Found Error people are talking about. We also noticed that our FrontPage was blank/gone. We put in another piece of content for the FrontPage, but this did NOT fix it.

So, I tried turning on and off the Search Engine Friendly settings but that did NOT resolve it either.

EASY SOLUTION (from another post)
No default menu is set in the Main Menu. Go into your Admin page/control panel and go to the Menu Item Manager for the Main Menu. Click the check box next to the Home page at the top of the list. Then click on the yellow star icon in the upper-right corner.

ALTERNATE SOLUTION
So I set Debug Info to Maximum and examined the function call stack. After further analysis I noticed that the error was getting triggered when trying to call the dispatch() function for a component (which one I could not tell). It calls the renderComponent() function which does a check on the component name, if it is empty then it raises a 404 Component Not Found Error. For whatever reason Joomla seems to be calling dispatch() on a component with an empty name (possibly because a component is disabled or the FrontPage is broken/missing,) which it should NOT do, and generates the error. I put a very simple if statement in the code which fixed the problem!

In the "includes" directory in the root Joomla directory there is a file called "application.php" Locate the dispatch() function (at line 89). Right before the call (at line 124) to JComponentHelper::renderComponent() put in this "if" statement like below. Make sure it looks exactly like this.

if(! empty($component)) {
$contents = JComponentHelper::renderComponent($component);
$document->setBuffer( $contents, 'component');
}

Upload the file to the includes directory and try refreshing your browser again.

Also, if anyone can tell if the error is caused by a disabled component (by turning on all components and seeing if the error goes away) it would be good to post any info about this as well.

Hope this helps.
Kristobal
//======This paragraph solve my problem.=======
EASY SOLUTION (from another post)
No default menu is set in the Main Menu. Go into your Admin page/control panel and go to the Menu Item Manager for the Main Menu. Click the check box next to the Home page at the top of the list. Then click on the yellow star icon in the upper-right corner.
//==============
Thanks Kristobal!!!!

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: 755 Permission?

Post by mcsmom » Mon Jun 02, 2008 8:30 am

wmljoomla wrote:
pe7er wrote:Background info about permissions: http://en.wikipedia.org/wiki/File_syste ... ermissions
And about changing permissions: http://en.wikipedia.org/wiki/Chmod

FAQ: Joomla! Permissions Overview: http://forum.joomla.org/viewtopic.php?t=121470


Jeez!! why not just answer a question instead of sending me to a manual to search for the answer? give me a break already. This site is taking 5 times long to create because I cannot get simple answer to my questions They are either left unaswered or I am sent away to search the internet or entire manual. for the answer. How about some real support for a newbie who did not get a masters in web development?

Can you just tell me how the 755 permission applies to this problem in joomla without sending me to a text book to read?? I just need to know where and how to find that one step in the joomla file in question and not in wikiipedia text. JeeZZ!!

There is a really useful proverb:

Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime.
Lao Tzu

The interpersonal problems you seem to be having with the people who answer questions on this forum seem to relate to not knowing how to find answers to questions on your own and not being willing to learn how to find the answers. When we answer questions we go to the documentation, we go to wikipedia, we search the forums. In other words, to answer a question we do things that you can also easily do if you know how. So now this group of really helpful and patient volunteers is trying to teach you how to get answers to your questions yourself so that you can be happier and more independent.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

ipv6wiz
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Mar 13, 2008 10:26 pm

Re: 404 - Component Not Found

Post by ipv6wiz » Sat Jun 07, 2008 6:45 pm

Hello

After many hours of beating my head on the keyboard -- do not try this at home :-)

I finally figured out that in the jos_menu table there is a column called "home" you must have one menu item that has this column set to the value 1.

This solution also applies for anyone that has deleted the mainmenu item with home set to 1, you will have to choose another menu item to be "home" and set its home column value to 1.

For the newbies you can view your tables by logging into your hosting control panel clicking on the MySQL database administration tool usually phpMyAdmin selecting your database and then the jos_menu table.

If you need help, drop me a message with the specifics of your hosting setup (not your userid and password) just what os and tools and I will do my best to assist.

Happy posting

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re:

Post by mcsmom » Sun Jun 08, 2008 6:11 am

Actually, if you think you might not have a hoe item, go to the menu manager and select a menu item, then make it the default yclicing on the yellow star.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

GoodisonBlue
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Sun Oct 09, 2005 11:35 pm

Re:

Post by GoodisonBlue » Sun Jun 08, 2008 10:32 am

Just thought I'd add my problems onto this thread

Firstly I am running IIS not Apache, don't know if that is causing the problem

Basically with SEF Urls enabled, my default menu item (regardless of what it is set to, throws up a 404

Having tracked through the code as far my limited php knowledge will allow me, i can see that index.php calls jrequest passing 'option' as the parameter

This returns an empty var

Index php then calls japplication again passing it an empty component, this then tries to render a null component in the component helper class and subsquently the 404 is thrown

So obviously something goes wrong when constructing the sef url for the default menu item that means the compoment name (com_content?) can't be extracted from it

Any other menu items works fine
This is the same on joomla 1.52 and .53

using php 5.2.3

Any thoughts...?

Thanks

Mark

bydler
Joomla! Intern
Joomla! Intern
Posts: 97
Joined: Tue Oct 30, 2007 10:56 pm

Re:

Post by bydler » Sun Jun 08, 2008 2:40 pm

Wow! I', so glad I found this thread now! I have just moved a working site from a Linux/Apache server to a Windows/Win NT and now all I can access is my first page, all the links just render an error 404 - page not found.

Amy, thank you a million times for posting that pdf! I have tried the google thing in my .htaccess-file and I do not get redirected to google so at least I have somewhere to start now which is a huge relief!

/Lisa

ipv6wiz
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Mar 13, 2008 10:26 pm

Re: 404 - Component Not Found

Post by ipv6wiz » Sun Jun 08, 2008 2:51 pm

Hello Mark,

I have not used IIS for hosting in so long that I probably can not be of help to you. We may have an old IIS based system if so I will run a quick test to see if there is any extra evidence beyond what you have already found.

On my LAMP (Linux, Apache, MySQL, PHP) installation turning SEF Urls on works.

John

GoodisonBlue
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Sun Oct 09, 2005 11:35 pm

Re: 404 - Component Not Found

Post by GoodisonBlue » Sun Jun 08, 2008 4:54 pm

ipv6wiz wrote:Hello Mark,

I have not used IIS for hosting in so long that I probably can not be of help to you. We may have an old IIS based system if so I will run a quick test to see if there is any extra evidence beyond what you have already found.

On my LAMP (Linux, Apache, MySQL, PHP) installation turning SEF Urls on works.

John

I'd really appreciate that John thanks

It would be a good starting point to know if it affected other IIS users or whether it was a problem unique to mine

This is an out of the box install I did today on an old domain but the issue affects all 1.5's on IIS, be they new or upgrades

http://www.funpet.co.uk/index.php/joomla-overview.html works fine

http://www.funpet.co.uk throws up a 404 despite there being a default menu item correctly set

Thanks

Mark

jimbostyx
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Feb 25, 2008 9:18 am
Location: Melbourne, Australia

Re:

Post by jimbostyx » Sun Jun 08, 2008 9:11 pm

Continuing on from the other thread...

You are having a different problem than I had.

You might want to look into why you have so many &bull;s around. That can't be healthy.

GoodisonBlue
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Sun Oct 09, 2005 11:35 pm

Re:

Post by GoodisonBlue » Sun Jun 08, 2008 9:24 pm

Hi , thanks for message

They were just from when i'd messed around in the code trying to find the source of the problem

Just reinstalled Joomla now so completely fresh install with the sef urls on

jimbostyx
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Feb 25, 2008 9:18 am
Location: Melbourne, Australia

Re:

Post by jimbostyx » Sun Jun 08, 2008 9:38 pm

Strange, http://www.funpet.co.uk/index.php works. I wish I could get into the admin interface to see what's going on. It makes sense that it wouldn't work in a strange kind of way. The SEF links are designed to work based on index.php. Perhaps you could just create a permanent redirect from / to index.php in IIS.

GoodisonBlue
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Sun Oct 09, 2005 11:35 pm

Re:

Post by GoodisonBlue » Mon Jun 09, 2008 5:12 am

You're a star mate

In IIS, I set 'the content for this resource should come from' to a redirection to an url' rather than the usual a 'directory located on this computer' and set the url to http://www.funpet.co.uk/index.php

In the redirect options, I checked 'redirect to a directory below url enterd', the other two options for redirect don't work but amazingly that has worked.

So for anyone with IIS on 1.5 wanting sef urls , they can work :)

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Re:

Post by humvee » Mon Jun 09, 2008 9:26 am

jimbostyx wrote: You might want to look into why you have so many &bull;s around. That can't be healthy.
These are simply the indicators that Debug Language is set to On in the Global Configuration and that a particular word or sentence has been translated in the language files. If you see a word ?withouttranslation? with question marks around it it has not been translated.
That's all. Used on development and translation stages of a Joomla! site and Joomla! itself.

Andy

JohnneyBoy
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Sun Jun 22, 2008 6:31 pm

Re:

Post by JohnneyBoy » Sun Jun 29, 2008 9:24 am

Hello,

I had a similar problem, after upgrade/migration. The problem was down to duplicate 'news' and 'home' aliases in the jos_menu table. Which was down to the fact that there was a menu called topmenu, now mainmenu after the upgrade, where the topmenu rows had not been removed. As topmenu is not used I just removed the said lines from the table... and bingo.. all works fine. :D

jamaicawinman
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Nov 25, 2007 2:15 am

Re:

Post by jamaicawinman » Mon Jul 21, 2008 10:30 pm

It is no longer possible in Joomla! 1.5 to delete the home menu item.
Amy, it is available and I did it :D

It happens when you delete all menu. Menu with front page link.

After do this I realized that front page is no longer available. Even after setting new "default" link.
So what I can solve this problem? Where should I look?

eldersoares
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Aug 05, 2008 7:26 pm

main menu removed

Post by eldersoares » Tue Aug 05, 2008 7:34 pm

hi!
after searching a lot through the forums and working a lot too, i found the solution for the ones who accidentally removed the main menu with the reference to the front page. you should add a new menu item and the type should be Internal link -> Articles -> Front Page. Then, select it as default (clicking in the star)

ksorbo
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 218
Joined: Wed Apr 11, 2007 2:06 pm

Re: 404 Error- Component not found

Post by ksorbo » Sun Aug 10, 2008 6:21 pm

I was having the same problem.

I noticed that no menu item was marked with a default (star). I solved the problem by selecting one item to mark as default.

Problem solved


Locked

Return to “Migrating and Upgrading to Joomla! 1.5”