Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By jimmy1986

Thread: Getting error Code -3

  1. #1
    jimmy1986 is offline Unknown Net Builder
    Join Date
    Jul 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Getting error Code -3

    Hi,

    After installation, Im getting this error

    "We are experiencing a temporary problem with the foreign language section. Please try again later. We apologize for the inconvenience.
    Scuzi / Perdon / Pardon / Das is Nicht Gud / Sori / Nay canne doo tha laddy


    Code: -3"

    Any idea why?

    my site name Google Adwords PPC Consultant Scott D Smith

    Thanks,
    j
    molekyla likes this.

  2. #2
    molekyla is offline Unknown Net Builder
    Join Date
    Jul 2010
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have this problem too Code: -3 (No content returned after fixup from 'http://translate.google.com/translate?hl=ru&sl=ru&tl=en&u=http://www.shram.kiev.ua/&prev=hp' for 'en_')
    My site
    http://www.shram.kiev.ua

    ---------- Post added at 07:18 AM ---------- Previous post was at 06:24 AM ----------

    Its problem is on all sites....
    No banned 100%...

    ---------- Post added at 08:32 AM ---------- Previous post was at 07:18 AM ----------

    To my mind

    Problem is near here

    //Check for redirects
    if (preg_match('|<frame src="(/translate_p\?[^"]+)|',$content,$matches)) {
    $rval['result']='REDIRECT';
    $match = $matches[1];
    $match = preg_replace('|&amp;|','&',$match);
    $match = 'http://translate.google.com' . $match;
    $rval['redirect']=$match;
    $rval['message']='translate_p_Frame';
    return $rval;
    }

    //<meta http-equiv="refresh" content="0;URL=http://74.125.67.132/translate_c?hl=en&amp;langpair=en%7Ces&amp;u=http://www.netbuilders.org/domaining/&amp;usg=ALkJrhhi9fkZqUuKk20-wQjgounHOH45PQ">
    //<meta http-equiv="refresh" content="0;URL=http://translate.googleusercontent.com/translate_c?hl=en&amp;langpair=en%7Ces&amp;u=http://www.netbuilders.org/domaining/&amp;usg=ALkJrhhi9fkZqUuKk20-wQjgounHOH45PQ">



    //get the content redirect
    if (preg_match('|<meta http-equiv="refresh" content="0;URL=([^"]+)|',$content,$matches)) {
    $rval['result']='REDIRECT';
    $match = $matches[1];
    $match = preg_replace('|&amp;|','&',$match);
    $rval['redirect']=$match;
    $rval['message']='MetaRefresh';
    return $rval;
    }


    if ($params['validation_tag'] and !strpos($content,$params['validation_tag']))
    {
    $rval['result']='ERROR';
    $rval['error']="GoogleCheck failed to match validation_tag '{$params['validation_tag']}'";
    return $rval;
    }

    return $rval;
    }
    Now this lnks chenges?
    http://translate.googleusercontent.c...yDQhIdCZludmQw

  3. #3
    molekyla is offline Unknown Net Builder
    Join Date
    Jul 2010
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I found the problem and know the fix for rhis problem!!!
    Google change code in translated frame.

    Was: <frame
    Now: <iframe

    I can be fix in file: tr_google.php

    Was:
    //Check for redirects if (preg_match('|<frame src="(/translate_p\?[^"]+)|', $content, $matches)) {
    $rval['result']='REDIRECT';
    $match = $matches[1];
    $match = preg_replace('|&amp;|','&',$match);
    $match = 'http://translate.google.com' . $match;
    $rval['redirect']=$match;
    $rval['message']='translate_p_Frame';
    return $rval;
    }
    Must be:
    //Check for redirects if (preg_match('|<iframe src="(/translate_p\?[^"]+)|', $content, $matches)) {
    $rval['result']='REDIRECT';
    $match = $matches[1];
    $match = preg_replace('|&amp;|','&',$match);
    $match = 'http://translate.google.com' . $match;
    $rval['redirect']=$match;
    $rval['message']='translate_p_Frame';
    return $rval;
    }
    Whom this tweak helps, give me the bottle of beer to Ukraine, Kiev (after EURO 2012 no beer in Ukraine its just a joke))

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
  •