Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Page Not Found

  1. #1
    topsites's Avatar
    topsites is offline Newbie Net Builder
    Join Date
    Dec 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Page Not Found

    Hello
    i'm new here and i whish for you all a great holiday season.

    I used your script on many sites and i have never had any big problem.
    Now i have just installed it on a new site but when i click a flag for translation i'll be redirected to the language page but the main site script say " PAGE NOT FOUND "
    I can see the top frame and the bottom frame but in both it show the site template and nothing about google translation
    You can see this at:
    mironministries.org

    Any ideas ?

    Many thanks for your help
    ArticleMs Skins - Curious about your site's PageRank ? Do you need more info about ArticleMs Templates

  2. #2
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,034
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    Quote Originally Posted by topsites View Post
    Now i have just installed it on a new site but when i click a flag for translation i'll be redirected to the language page but the main site script say " PAGE NOT FOUND "
    I think we have a couple of problems here.

    If I look at this page: Daughters of God

    I see that the flag links look like this:
    Code:
    <a href="/lang/fr/"><img src="/graphics/FR.png" alt="French"></a>
    When that link should look like this:
    Code:
    <a href="/lang/fr/bible-studies/daughters-of-god.html"><img src="/graphics/FR.png" alt="French"></a>
    But then, if I type the correct URL (Translated version of http://www.mironministries.org/bible-studies/daughters-of-god.html) in by hand, I receive this message:

    We are sorry, the requested resource maybe has been moved to another page!
    Try using the menu in the sidebar to locate what you are looking for.
    Thanks

    I wonder if this could be a conflict with something else in your .htaccess file?

    What is in your sites main .htaccess file? Also, what revision of the script are you using on this site?
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  3. #3
    topsites's Avatar
    topsites is offline Newbie Net Builder
    Join Date
    Dec 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello Will
    thanks for your answer

    I have first installed the 213 version, then the 214 v. with the same problems

    The main .htacces file contain
    Code:
    <IfModule mod_php5.c>
    
    php_value session.use_only_cookies 1
    
    php_value session.use_trans_sid 0
    
    </IfModule>
    
    <IfModule mod_rewrite.c>
    
    Options +FollowSymLinks
    
    RewriteEngine on
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    
    RewriteRule .* index.php [QSA,L]
    
    </IfModule>
    The code i used in a block is (like for all sites where i have installed it)
    Code:
    <!-- google_ad_section_start(weight=ignore) -->
    
    <a href="/lang/de/{$request_uri}"><img src="/graphics/DE.png" alt="German"></a>
    <a href="/lang/es/{$request_uri}"><img src="/graphics/ES.png" alt="Spanish"></a>
    <a href="/lang/pt/{$request_uri}"><img src="/graphics/PT.png" alt="Portuguese"></a>
    <a href="/lang/fr/{$request_uri}"><img src="/graphics/FR.png" alt="French"></a>
    <a href="/lang/it/{$request_uri}"><img src="/graphics/IT.png" alt="Italian"></a>
    <a href="/lang/ru/{$request_uri}"><img src="/graphics/RU.png" alt="Russian"></a>
    <a href="/lang/ja/{$request_uri}"><img src="/graphics/JA.png" alt="Japanese"></a>
    <a href="/lang/ko/{$request_uri}"><img src="/graphics/KO.png" alt="Korean"></a>
    <a href="/lang/zt/{$request_uri}"><img src="/graphics/CN.png" alt="Traditional Chinese"></a>
    <a href="/lang/zh/{$request_uri}"><img src="/graphics/CN.png" alt="Simplified Chinese"></a>
    
    <!-- google_ad_section_end -->

    Thanks
    ArticleMs Skins - Curious about your site's PageRank ? Do you need more info about ArticleMs Templates

  4. #4
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,034
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    topsites, I wonder why {$request_uri} is expanding on your other sites and not on this site?

    Can you create a file called version.php on your web site with the following code in it:
    Code:
    <?php phpinfo(); ?>
    This will let me examine your PHP configuration.
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  5. #5
    topsites's Avatar
    topsites is offline Newbie Net Builder
    Join Date
    Dec 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello Will

    done

    mironministries.org/version.php

    thanks
    ArticleMs Skins - Curious about your site's PageRank ? Do you need more info about ArticleMs Templates

  6. #6
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,034
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    • Linux - check
    • Apache 1.3 - check
    • cURL - check
    • PHP safe_mode disabled - check


    Hmmm... everything looks fine here.

    I am thinking more about that {$request_uri} issue. I am wondering if there is a problem with PHP code executing in HTML files on this server.

    The usual fix is to add this line to the sites main .htaccess file:
    Code:
    AddType application/x-httpd-php .html
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  7. #7
    topsites's Avatar
    topsites is offline Newbie Net Builder
    Join Date
    Dec 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Just added the line in the .htaccess file but the translation doesn't work.

    But why, when i click a flag i go to a page containing a top frame like when you get the first time translation?

    I don't understand.

    The folders are set up to 777

    Looking at the source code in the framed page i have found the code below that is different from the source code in a translated page

    Code:
    <html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Translated version of http://www.mironministries.org/</title><script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
    <script type="text/javascript">var pageTracker = _gat._getTracker("UA-1043770-1");pageTracker._initData();pageTracker._trackPageview();</script></head><frameset rows="50,*" frameborder=1 framespacing=0 cols="*"><frame src="/translate_n?hl=en&amp;langpair=en%7Cde&amp;u=http://www.mironministries.org/" name=n scrolling=no noresize marginwidth=0 marginheight=0>
    <frame src="/translate_p?hl=en&amp;langpair=en%7Cde&amp;u=http://www.mironministries.org/" name=c><noframes><script><!--document.location="/translate_p?hl=en&amp;langpair=en%7Cde&amp;u=http://www.mironministries.org/";--></script><a href="/translate_p?hl=en&amp;langpair=en%7Cde&amp;u=http://www.mironministries.org/">Translate</a></noframes></frameset></html>
    The above can give you some ideas?

    Thanks
    ArticleMs Skins - Curious about your site's PageRank ? Do you need more info about ArticleMs Templates

  8. #8
    topsites's Avatar
    topsites is offline Newbie Net Builder
    Join Date
    Dec 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Below is the source sode i find in a translated page
    trinity-fellowship-church.org
    Code:
     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><script>(function (){ 
    function ti_(){this.t={};this.tick=function(a,b){this.t[a]=[(new Date).getTime(),b]};this.tick("start")}var ti_a=new ti_;window.jstiming={Timer:ti_,load:ti_a};if(window.external&&window.external.pageT)window.jstiming.pt=window.external.pageT;
     })()
    </script><script>_intlStrings._originalText = "Original English text:";_intlStrings._interfaceDirection="ltr";_intlStrings._interfaceAlign="left";_intlStrings._langpair="en|es";_intlStrings._feedbackUrl="http://translate.google.com/translate_suggestion";_intlStrings._suggestTranslation="Suggest a better translation"  ;_intlStrings._submit="Contribute";_intlStrings._suggestThanks="Thank you for contributing your translation suggestion to Google Translate.";_intlStrings._reverse=false;</script><style type="text/css">.google-src-text {display: none !important} .google-src-active-text {display: block!important;color:black!important}.google-src-active-text font {color:black!important}.google-src-active-text a:link {color:blue!important;text-decoration:underline!important}.google-src-active-text a:visited {color:purple!important;text-decoration:underline!important}.google-src-active-text a:active {color:red!important;text-decoration:underline!important}</style><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title> Biblioteca y Medios de Comunicación | Artículos | Devociones | Poesía | E-Libros | Videos </title><meta name="keywords" content="Articles | Devotions | Poetry | E-Books | Videos,"><meta name="description" content="Articlee.com proide quality information about Article Directory, Finance , Affiliate Program, Money , Travel , Make Money , Backyard. Find affiliate program advice, designs and more." ><link rel='stylesheet' type='text/css' href='/articlems2/skins/BlueGreen/styles.css' ><link rel="stylesheet" href="/articlems2/js/treeview/jquery.treeview.css" /><link rel="stylesheet" href="/articlems2/js/treeview/red-treeview.css" /><link rel="stylesheet" href="/articlems2/js/treeview/screen.css" /><link rel="alternate" type="application/atom+xml" title="RSS" href="/articlems2/latest/?fmt=rss" /><script src="/articlems2/js/jquery.js" type="text/javascript"></script><script src="/articlems2/js/articlems.js" type="text/javascript"></script><script src="/articlems2/js/treeview/jquery.cookie.js" type="text/javascript"></script><script src="/articlems2/js/treeview/jquery.treeview.js" type="text/javascript"></script><style>  
      
     </style><script type='text/javascript'>    
        
        $(document).ready(function(){
          $("#categorynavigation").treeview({
                persist: "location",
                collapsed: true
            });
        });
      </script></head><body onload="_setupIW();_csi('en','es','http://www.trinity-fellowship-church.org/articlems2/');"><div id="container"><div id="header"><div class="logo"> <a href="http://www.trinity-fellowship-church.org/articlems2/lang/es/&amp;usg=ALkJrhhL_-Ju9vmG2usv7metUNCBi8rMTg" title="Biblioteca y medios de comunicación"><img src="/articlems2/skins/BlueGreen/images/articlee.png" width="350" height="88" alt="" />"</a> </div><div class="hdr_menu"><ul><p></p></ul></div><div class="clearthis"></div></div><div class="menu"><ul><li> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><a href="http://www.trinity-fellowship-church.org/&amp;usg=ALkJrhh_rRFreJCFUpPaQgz0J03u4t2vjQ" title="Biblioteca y medios de comunicación">Home"</a></span> <a href="http://www.trinity-fellowship-church.org/&amp;usg=ALkJrhh_rRFreJCFUpPaQgz0J03u4t2vjQ" title="Biblioteca y medios de comunicación">Inicio"</a></span> </li><li> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><a href="http://www.trinity-fellowship-church.org/articlems2/lang/es/submit&amp;usg=ALkJrhjbUAV1T5HmNwQ2H3JlLjokIBGNdg" class="ButtonText1" title="Enviar Artículo">Submit Article"</a></span> <a href="http://www.trinity-fellowship-church.org/articlems2/lang/es/submit&amp;usg=ALkJrhjbUAV1T5HmNwQ2H3JlLjokIBGNdg" class="ButtonText1" title="Enviar Artículo">Enviar Artículo"</a></span> </li><li> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><a href='http://209.85.171.104/translate_c?hl=en&amp;langpair=en%7Ces&amp;u=http://www.trinity-fellowship-church.org/articlems2/register&amp;usg=ALkJrhizY3_ORObkUc_RRSNULW97COTIvA' class="ButtonText1" title="Registro">Register</a></span> <a href='http://209.85.171.104/translate_c?hl=en&amp;langpair=en%7Ces&amp;u=http://www.trinity-fellowship-church.org/articlems2/register&amp;usg=ALkJrhizY3_ORObkUc_RRSNULW97COTIvA' class="ButtonText1" title="Registro">Registro</a></span> </li><li> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><a href='http://209.85.171.104/translate_c?hl=en&amp;langpair=en%7Ces&amp;u=http://www.trinity-fellowship-church.org/articlems2/search/&amp;usg=ALkJrhhNJRV_Vaewl48ewfxL_SmXJSyOyA' class="ButtonText1" title="Búsqueda avanzada">Search</a></span> <a href='http://209.85.171.104/translate_c?hl=en&amp;langpair=en%7Ces&amp;u=http://www.trinity-fellowship-church.org/articlems2/search/&amp;usg=ALkJrhhNJRV_Vaewl48ewfxL_SmXJSyOyA' class="ButtonText1" title="Búsqueda avanzada">Búsqueda</a></span> </li><li> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><a href="http://trinity-fellowship-church.com/wordpress/&amp;usg=ALkJrhi_eiLpXkw_FehdLsOO9noyELWrBQ" class="ButtonText1" target="_blank">Blog"</a></span> <a href="http://trinity-fellowship-church.com/wordpress/&amp;usg=ALkJrhi_eiLpXkw_FehdLsOO9noyELWrBQ" class="ButtonText1" target="_blank">Blog"</a></span> </li><li> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><a href="http://www.trinity-fellowship-church.org/articlems2/lang/es/latest/%3Ffmt%3Drss&amp;usg=ALkJrhiRZBdcc4ScXrlAATSd29D_Ec90qA" title="Suscribir a GardenGap.com News Feed">RSS Feed"</a></span>
    ArticleMs Skins - Curious about your site's PageRank ? Do you need more info about ArticleMs Templates

  9. #9
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,034
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    Quote Originally Posted by topsites View Post
    Just added the line in the .htaccess file but the translation doesn't work.
    I am still not seeing {$request_uri} working on Daughters of God

    Can you ask your host why it may not be working?

    Are you sure that's the same code as you are using on your other sites?

    Here's what my code to call the translation script looks like:
    Code:
    <li><a href="/lang/pt<?php echo $_SERVER["REQUEST_URI"] ?>">Portuguese<img src="/images/pt.png" width="16" height="11" alt="Portuguese"></a></li>
    Wait... I don't see how {$request_uri} could work on an HTML page. You're never invoking the PHP interpreter!
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  10. #10
    topsites's Avatar
    topsites is offline Newbie Net Builder
    Join Date
    Dec 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can see
    both site have the same template and the same code

    trinity-fellowship-church.org use 213 v. - HERE WORK
    mironministries.org use 214 v. (but i have also tested the 213 but it did not work) HERE DOESN'T WORK

    The code {$request_uri} is, the same in both sites, in a Block included in the script (ArticleMs Script use a block system to add Everything inside)

    This is the first time i have problems with your script. So i can suppose there is something wrong between the server and some .htaccess files but i don't know what is the problem.

    Any ideas?
    Thanks for your help
    ArticleMs Skins - Curious about your site's PageRank ? Do you need more info about ArticleMs Templates

Page 1 of 2 12 LastLast

Similar Threads

  1. Wp Admin becomes Page Not Found
    By bogart in forum Wordpress
    Replies: 11
    Last Post: 1 April, 2012, 21:55 PM
  2. spammer found
    By GrilledChicked in forum Web Proxies
    Replies: 2
    Last Post: 19 October, 2010, 19:16 PM
  3. '404: Not Found' on tech-faq proxy login page
    By geek in forum Proxy List Support Forum
    Replies: 1
    Last Post: 24 September, 2010, 09:49 AM
  4. TOPBITS New Proxies page 404 - Component not found
    By geeknb in forum Proxy List Support Forum
    Replies: 4
    Last Post: 26 June, 2010, 00:34 AM
  5. No backlink found
    By Mr.Bill in forum Proxy List Support Forum
    Replies: 8
    Last Post: 12 January, 2009, 17:23 PM

Tags for this Thread

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
  •