Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • cgc0202 Friend
    #129847

    After installing your Joomla 1.5x-Teline II QuickStart Kit, everything looks fine….

    Then you get excited and proceed with all the modifications you wanted — including implementing the Search Engine Friendly (SEF) URLs that everyone is talking about. Everything is go well, so far so good.

    Then BAMMM!

    You clicked one of the article links. And you get the dreaded “404 – Component not found

    ************************************************************
    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.

    <b>Component not found</b>
    ************************************************************

    Your entire work gone.Oh no!

    It is akin to your Windows PC dying on you. At least the program was nice enough to tell you what might have gone bad. Not just a blue screen, as you might have experienced with your PC.

    [Well, I am just speculating with the PC — from all the horror stories I heard or read. I am a Mac user. If something happens to mine just hit the off button. Wait a few minutes, then turn your Mac again. Wella! Back in business. And now back to the issue at hand. This dreaded meltdown of your website.]

    It tells you to try the Home Page (clickable), and when you try, you get more error after you clicked the Home Page (as suggested above):

    ********************************************
    Error after you Clicked Home Page
    ********************************************
    Not Found

    The requested URL /content-layouts/29-the-cms/index.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at wdbp.innovative-biomedicalab.com Port 80
    *********************************************************

    Maybe you noticed this only after you have done so many revisions in your site. What did I do wrong? Did I mess up anything? Did I delete something? I had all those things in mind myself, when I first encountered the problem..

    In fact, in another thread:

    404 error, site inaccessible — HELP!!!

    http://www.joomlart.com/forums/topic/404-error-site-inaccessible-help/

    the original poster, following the suggestion of one of the Moderators, reported that the error disappeared after adding the “components” com_content.

    I checked my recent installation, and the components and com_content directories as well as the content.php were there:

    components => com_content

    Obviously, there is something missing, because the site is inaccessible. I am not sure exactly what it is. Any bright idea would be appreciated. What file or directory missing is causing this.

    Possible clues that could trigger the above errors are presented below

    Cornelio

    cgc0202 Friend
    #254501

    Note that I encountered the “404 – Component not found error” only when the SEO Settings is activated by answering Yes below:

    *********************************************************
    Search Engine Friendly URLs No Yes => Click Yes
    Use Apache mod_rewrite No Yes
    Add suffix to URLs No Yes
    *********************************************************

    When you revert back to No

    *********************************************************
    Search Engine Friendly URLs No Yes => Click No
    Use Apache mod_rewrite No Yes
    Add suffix to URLs No Yes
    *********************************************************

    the error disappears. That is why it is evident that this has some relation to the SEF.

    Cornelio

    cgc0202 Friend
    #254502

    When I left Joomlart for a few months because I was not too happy with the Joomlart template upgrades to be compatible with Joomla 1.5x, the use of Gavick Pro templates forced me to do sequential installation:

    Joomla 1.0x (or Joomla 1.5x) and then install the Gavick template and then the Demo — not an easy process when you are used to the Joomlart QuickStart kit.

    By installing Joomla before the template, I not only found out that there are many pitfalls in installing Joomla. The solution as it turned, after many trial and errors (as suggested by the Manual from or possibly in the Forum of Gavick), is in fixing the configuration.php.

    Shown below is the configuration.php after Joomla 1.5x installation:

    ************************************************************
    Joomla 1.5x created configuration.php, after installation
    *************************************************************


    <?php
    class JConfig {
    /* Site Settings */
    var $offline = '0';
    var $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';
    var $sitename = 'Joomla 1.5x Test site';
    var $editor = 'tinymce';
    var $list_limit = '20';
    var $legacy = '0';
    /* Debug Settings */
    var $debug = '0';
    var $debug_lang = '0';
    /* Database Settings */
    var $dbtype = 'mysql';
    var $host = 'localhost';
    var $user = 'siteusername_dbusername';
    var $password = 'password';
    var $db = 'siteusername_dbname';
    var $dbprefix = 'jos_';
    /* Server Settings */
    var $live_site = '';
    var $secret = 'secretpassword';
    var $gzip = '0';
    var $error_reporting = '-1';
    var $helpurl = 'http://help.joomla.org';
    var $xmlrpc_server = '0';
    var $ftp_host = '127.0.0.1';
    var $ftp_port = '21';
    var $ftp_user = '';
    var $ftp_pass = '';
    var $ftp_root = '/joomla';
    var $ftp_enable = '1';
    /* Locale Settings */
    var $offset = '0';
    var $offset_user = '0';
    /* Mail Settings */
    var $mailer = 'mail';
    var $mailfrom = 'ftpuser@mysite.org';
    var $fromname = 'Joomla 1.5x Test site';
    var $sendmail = '/usr/sbin/sendmail';
    var $smtpauth = '0';
    var $smtpuser = '';
    var $smtppass = '';
    var $smtphost = 'localhost';
    /* Cache Settings */
    var $caching = '0';
    var $cachetime = '15';
    var $cache_handler = 'file';
    /* Meta Settings */
    var $MetaDesc = 'Joomla! - the dynamic portal engine and content management system';
    var $MetaKeys = 'joomla, Joomla';
    var $MetaTitle = '1';
    var $MetaAuthor = '1';
    /* SEO Settings */
    var $sef = '0';
    var $sef_rewrite = '0';
    var $sef_suffix = '0';
    /* Feed Settings */
    var $feed_limit = 10;
    var $log_path = '/home/siteusername/j15x100/logs';
    var $tmp_path = '/home/siteusername/j15x100/tmp';
    /* Session Setting */
    var $lifetime = '15';
    var $session_handler = 'database';
    }
    ?>

    Compared with the configuration.php of Joomla 1.0x installation, two glaring omissions are evident in the above:

    most evident is the empty FTP user and password:

    ************************************************

    var $ftp_host = '127.0.0.1';
    var $ftp_port = '21';
    var $ftp_user = '';
    var $ftp_pass = '';
    var $ftp_root = '/joomla';
    var $ftp_enable = '1';


    ************************************************

    If the aforementioned are not filled, another error is observed when trying to input any data:

    ************************************************

    # JFTP::login: Unable to login
    # JClientHelper::setCredentialsFromRequest failed


    ************************************************

    and the above message disappears only when the the information is filled.

    Note that the FTP username and password may be entered manually through the configuration.php file or through the global configuration in the Admin Control panel.

    Is the above enough? Not really. There is a more crucial error. Again, if you examine the configuration.php in Joomla 1.5x, the live site is empty:


    var $live_site = '';

    and should be done properly:


    var $live_site = 'http://mysite.org';

    if the Joomla 1.5x is installed in the public_html directory

    or


    var $live_site = 'http://mysite.org/joomla';

    if the Joomla 1.5x is installed in the directory named “joomla”. Note that in the aforementioned, there is no slash “/” nor is “/index.php” added.

    Once the above changes are made. The errors “404 – Component not found” presented in the original post will disappear, even if the SEF is activated:

    ************************************************** *******
    Search Engine Friendly URLs No Yes => Click Yes
    Use Apache mod_rewrite No Yes
    Add suffix to URLs No Yes
    ************************************************** *******

    Moreover, the links to the contents will be in “Search Engine Friendly (SEF)” format.

    Cornelio

    cgc0202 Friend
    #254503

    Since this is a Joomlart template site, it is not unusual that the above errors are blamed to Joomlart templates. In fact, this will be observed in all Joomla 1.5x and Joomlart template installations,

    I found out however that clean install of Joomla 1.5x elicits the same errors (even without Joomlart template). To prove this check the following PDF files, from a clean install of Joomla 1.5.3 only:

    http://wdbp.innovative-biomedicalab.com/joomla-errors/01-Welcome-to-the-Frontpage.pdf
    http://wdbp.innovative-biomedicalab.com/joomla-errors/02-SEF-Yes-404-Error-404.pdf
    http://wdbp.innovative-biomedicalab.com/joomla-errors/03-back-home-404Not-Found.pdf
    http://wdbp.innovative-biomedicalab.com/joomla-errors/04-Content-Layouts-sef-no.pdf
    http://wdbp.innovative-biomedicalab.com/joomla-errors/05-Administration-GC-server.pdf
    http://wdbp.innovative-biomedicalab.com/joomla-errors/06-Administration-safari.pdf
    http://wdbp.innovative-biomedicalab.com/joomla-errors/07-Joomla-15x-Test-site-Administration.pdf

    For that matter any of the templates I have used from other companies. In another thread, Menalto noted also that he observed the same errors in his most recent clean installation of Joomla 1.5.3. Read Menalto’s response here:

    configuration.php after Joomla 1.5x-JA Teline II installation

    http://www.joomlart.com/forums/topic/configuration-php-after-joomla-1-5x-ja-teline-ii-installation/

    So, this observation is not uniquely my own.

    Cornelio

    cgc0202 Friend
    #254505

    I do not exactly what missing file is causing the error. But, as it turned out by comparing the configuration.php of Joomla 1.0x and Joomla 1.5x installations, this could be solved by manually inputing missing information in the configuration.php.

    I found this easier because both the unfilled FTP Username and Password, as well as the unfilled “live site” discussed above (3rd post here) can be done in one file. Check that the information entered appear also in the

    Global configuration:

    Administrator => Site => Global configuration => Server => (go down to FTP settings)

    and

    System info

    Administrator => Help => Configuration File

    Cornelio

    cgc0202 Friend
    #254506

    The errors described here are sometimes mistakenly attributed as Joomlart templates errors. There are extenuating circumstances that this may not be the case. For example, this is not observed in Joomla 1.0x-Teline II installations that I did. I observed this error only in my Joomla 1.5x-Teline II installations.

    The pdf files shown in post #4 also proves that these errors are indeed observed in a clean install of Joomla 1.5x.

    Another glaring error that is associated with Joomla 1.5x is the absence of the site name in any of the pages, as shown here:

    Welcome to Frontpage

    http://wdbp.innovative-biomedicalab.com/joomla-errors/01-Welcome-to-the-Frontpage.pdf

    [Note that the image of the Logo does not appear in the Joomla Frontpage because it is a background image. Background does not appear in any of the pdf files I created.]

    In fact, when you go to another file or directory, it is the name of the directory of file that appears, but no clue as to what site the Home Page or specific files are associated with.

    It is significant to note that this is either an omission error involving a”Front End” script because the “Site name” is indicated in the Administration Control Panel:


    Joomla 1.5x Test site

    http://wdbp.innovative-biomedicalab.com/joomla-errors/07-Joomla-15x-Test-site-Administration.pdf

    Cornelio

    Menalto Friend
    #254603

    Before enable all SEF options make sure you have mod_rewrite enabled at your server:
    Rename htaccess.txt to .htaccess.
    First you open up the file .htaccess and add this at top of it:

    RewriteEngine on
    RewriteRule test.html http://www.google.com [R]

    Save and upload
    Now point your browser to http://www.yoursite.com/test.html
    If you get an error mod_Rewrite is not enabled, if you are redirected to google.com you have mod_Rewrite enabled and you are one step closer to enalbe SEF.
    Now if mod_rewrite is enabled but you dont get any urls you might have your joomla installation in a sub folder. Then you need to check the “RewriteBase” in the htaccess file. When you find it you canremove the # and add the folder name.

    RewriteBase /thefoldername

    cgc0202 Friend
    #254645

    <em>@Menalto 60292 wrote:</em><blockquote>Before enable all SEF options make sure you have mod_rewrite enabled at your server:
    Rename htaccess.txt to .htaccess.
    First you open up the file .htaccess and add this at top of it:

    RewriteEngine on
    RewriteRule test.html http://www.google.com [R]

    Save and upload
    Now point your browser to http://www.yoursite.com/test.html
    If you get an error mod_Rewrite is not enabled, if you are redirected to google.com you have mod_Rewrite enabled and you are one step closer to enalbe SEF.
    Now if mod_rewrite is enabled but you dont get any urls you might have your joomla installation in a sub folder. Then you need to check the “RewriteBase” in the htaccess file. When you find it you canremove the # and add the folder name.

    RewriteBase /thefoldername
    </blockquote>

    Tnanks Menalto,

    I will check your suggestion, but before I do that, allow me to provide additional information.

    All my installations presented here, and parallel ones for Joomla 1.0x-JA Teline II as well as Joomla 1.5x-JA Teline II, were in the same server. As we discussed in another thread, I presented the Joomla 1.5x-JA Teline II results.

    I embarked on this and detailed my observattions here to demonstrate to VisiGod that I did encounter the problems even without the JA Teline II template, and just the Joomla 1.5x instaltation.

    Just to clarify. The errors were observed only in the two installations that included the Joomla 1.5x

    A. Joomla 1.0x

    1. Why was this problem not encountered in Joomla 1.0x installation?
    2. Why was the SEF related error not encountered in the Joomla 1.0x installation? And, it worked properly, provided the .htacces was enabled from htacces-txt before activating the SEF.
    3. Why was the configuration.php properly filled up in the Joomla1.0x-Teline II but not done so in any of the Joomla1.5x installation?

    B. Rewrite engine
    1. Do the above “positive” observations on the Joomla 1.0x installation prrovide any insight on the status of the server, in regard whether the Rewrite Engine was ON or OFF?
    2. What is the more secure default status for the “Rewrite Engine” — ON or OFF?
    3. If it is not a security risk, why would my hosting service provider keep the “Rewrite Engine” OFF?
    4. Other than security, are there pros and cons, as to whether the Rewrite engine is ON or OFF?

    I forgot which now but the installation of a directory software has issues also in relation to where the Engine was ON or OFF.

    You stated:

    <em>@Menalto 60292 wrote:</em><blockquote>Before enable all SEF options make sure you have mod_rewrite enabled at your server:
    Rename htaccess.txt to .htaccess.
    First you open up the file .htaccess and add this at top of it:

    RewriteEngine on
    RewriteRule test.html http://www.google.com [R]

    Save and upload

    Now point your browser to http://www.yoursite.com/test.html
    If you get an error mod_Rewrite is not enabled, if you are redirected to google.com you have mod_Rewrite enabled and you are one step closer to enalbe SEF.
    ]</blockquote>

    C. SEF OFF
    1. If the SEF is OFF, as I indicated above, I never encountered the key Joomla related errors discussed in this thread.

    2. To recreate what you suggested above, for the same site I used in this test site:

    http://wdbp.innovative-biomedicalab.com/j15x100/

    I turned of the SEF (answered NO), then went to the configuration.php and deleted the name of the site in the live site, so that this is empty


    var $live_site = '';

    then, I included the code you stated so that the .htaccess shows this:

    # mod_rewrite in use
    RewriteEngine On
    RewriteRule test.html http://www.google.com [R]

    Then, I checked:

    http://wdbp.innovative-biomedicalab.com/j15x100/test.html

    and it showed. No errors.

    Since there was no error indicated does this mean that the Rewrite Engine is in ON status?

    However, even after inserting:

    # mod_rewrite in use

    RewriteEngine On
    RewriteRule test.html http://www.google.com [R]

    When I checked:

    http://wdbp.innovative-biomedicalab.com/j15x100/test.html

    I did not get any error, but I was not redirected to

    html http://www.google.com

    Since there was no error indicated but I was not redirected to the Google site, does this mean that the Rewrite Engine is in OFF status?

    I did not perform the next part of what you suggested:

    <em>@Menalto 60292 wrote:</em><blockquote>
    Now if mod_rewrite is enabled but you dont get any urls you might have your joomla installation in a sub folder. Then you need to check the “RewriteBase” in the htaccess file. When you find it you canremove the # and add the folder name.

    RewriteBase /thefoldername

    since it seems moot, if the mod_rewrite is not enabled (not ON?)

    Apart from asking my webhosting service to change the default status of the Rewrite Engine, do I have other options to resolve this issue?

    Thanks.

    Cornelio

    Note:

    After the above test. I deleted the

    RewriteRule test.html http://www.google.com [R]

    so that the original status of the .htaccess is as indicated below:


    # mod_rewrite in use

    RewriteEngine On

    cgc0202 Friend
    #254649

    Hi Menalto,

    After performing the above, I went back to the desired status of the SEO Settings, i.e., SEF URLs enabled by answering Yes.

    The 404 Error is back:

    ************************************************************************
    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
    ************************************************************************

    as well as the others outlined above.

    The only way I could avoid this is to manually input the live site in the configuration.php

    var $live_site = 'http://wdbp.innovative-biomedicalab.com/j15x100';

    The above error disappeared, and I got the site again.

    D. Joomla 1.5x

    1. To go back to the issues discussed above, if the issue was in regard the rewrite_engine configuration, why are the errors discussed here found only in Joomla 1.5x but not in Joomla 1.0x installations?

    2. Are you suggesting that in the case of Joomla 1.5x, the configuration.php was not properly filled up because the mod_rewrite issue was not ON? Or, is this a different issue altogether?

    Cornelio

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 2 voices, and was last updated by  cgc0202 15 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum