Results 1 to 4 of 4
  1. #1
    Jazlyn's Avatar
    Jazlyn is offline Forum Member
    Join Date
    May 2010
    Posts
    132

    Default '404 - Component not found' error in Joomla

    Some times we get an error which is as follows on our joomla site.

    404 - Component not found
    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. a 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.
    Please try one of the following pages:
    * Home Page
    If difficulties persist, please contact the System Administrator of this site.
    Component not found

    Resolving this error is quite easy. You just need to follow any of the below solutions:

    Solution One:
    In Global Configuration the value "Use Apache mod_rewrite" should be set to True, and, surely, htaccess.txt should be renamed to .htaccess
    Solution Two:
    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.
    Solution Three:
    If the component name under renderComponent() function is empty it raises a 404 Component Not Found Error. Due to this Joomla seems to be calling dispatch() on a component with an empty name, which should not be done For this we can put an if statement in the code which is under /home/username/public_html/joomla/includes/application.php

    At the above path locate JcomponentHelper::renderComponent() at line 124 put in this "if" statement as bellow:

    if(! empty($component)) {
    $contents = JComponentHelper::renderComponent($component);
    $document->setBuffer( $contents, 'component');
    }
    Solution Four:
    You can comment bellow line in "/index.php"
    $mainframe->dispatch($option);
    Make sure it looks like:
    //$mainframe->dispatch($option);
    Hope this resolve your issue.
    --------------------
    Jazlyn

  2. #2
    Juanita N is offline Forum Member
    Join Date
    Nov 2010
    Posts
    4

    Cool 404 greating message

    Hi there..

    I got the same error in my joomla 1.5

    404 - Component not found
    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. a 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.
    Please try one of the following pages:
    * Home Page
    If difficulties persist, please contact the System Administrator of this site.
    Component not found


    And yesterday it just worked fine and i didnt make changes at all.
    This morning i entered the website and when i open a submenu it greats me with this error message...

    Can anyone help?

  3. #3
    Juanita N is offline Forum Member
    Join Date
    Nov 2010
    Posts
    4

    Talking Problem solved

    It is solved..

    Just because I thought i understand the menu's.
    My Sections/Categories and articles were messed up.

  4. #4
    Rock's Avatar
    Rock is offline Technical Support (eUKhost.com)
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,686

    Smile

    Quote Originally Posted by Juanita N View Post
    It is solved..

    Just because I thought i understand the menu's.
    My Sections/Categories and articles were messed up.
    Glad to know that the problem you were facing has been sorted out

    Rock _a.k.a._ Jack
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Disclaimer of Liability

The opinions or views posted on our forum by users do not necessarily represent the opinions or views of eUKhost Limited.

Our forum may contain hyperlinks to external websites not under our control and ownership. We do not endorse the content found on any external websites and we cannot guarantee the accuracy, reliability, availability and suitability of such websites and the content of those websites. Your access and use of any external websites is at your sole risk and responsibility. Please also be aware external websites will have differing terms and conditions, privacy and cookie usage policies to our website.