Pro version does not function
Sep 17, 2011 3:22 am by dagfinnb
Sep 17, 2011 3:22 am by dagfinnb
Free version works, no hitch.
Redirect / pro version activated. Seems nothing goes to googleapis but sometimes get daily limit reached, can't translate certain words etc. Nothing get's cached.
Trying to make sense of this:
<
* Closing connection #0
* About to connect() to http://www.onetooneenglish.com port 80 (#0)
* Trying 78.47.168.53... * connected
* Connected to http://www.onetooneenglish.com (78.47.168.53) port 80 (#0)
> GET /information/for-investors HTTP/1.1
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22
Host: http://www.onetooneenglish.com
Accept: */*
Cookie: mpc_next_68=1346456311; 0f62eb2807468199adbd1f857c3d6712=049d863e12b912c176b76f5a06110a48; fbs_172342662826895="access_token=172342662826895%7Cdc1ad795b04228db2d313c99.1-1001723736%7C_t8lyT75WYIGY6uzt3Nh_iAxy5Q&base_domain=onetooneenglish.com&expires=0&secret=2a19b467f60f69a05bc63bf746b91424&session_key=dc1ad795b04228db2d313c99.1-1001723736&sig=4470d54234feb8efda2fa1e4c3a95dcc&uid=1001723736"; virtuemart=049d863e12b912c176b76f5a06110a48; 8d05b9179bc64836acc6596b4410acef=18ca1dbfce8d3a38b99c1e4d9c182953; PHPSESSID=7be139ff4361cb4a8164339b19feba25; googtrans=/en/pt; googtrans=/en/pt
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Date: Sat, 17 Sep 2011 03:13:26 GMT
< Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny10 with Suhosin-Patch proxy_html/3.0.0
< X-Powered-By: PHP/5.2.6-1+lenny10
< P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
< Expires: Mon, 1 Jan 2001 00:00:00 GMT
< Last-Modified: Sat, 17 Sep 2011 03:13:26 GMT
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Vary: Accept-Encoding
< Connection: close
< Content-Type: text/html; charset=utf-8
<
* Closing connection #0
* About to connect() to http://www.onetooneenglish.com port 80 (#0)
* Trying 78.47.168.53... * connected
* Connected to http://www.onetooneenglish.com (78.47.168.53) port 80 (#0)
> GET /information/for-investors HTTP/1.1
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22
Host: http://www.onetooneenglish.com
Accept: */*
Cookie: mpc_next_68=1346456311; 0f62eb2807468199adbd1f857c3d6712=049d863e12b912c176b76f5a06110a48; fbs_172342662826895="access_token=172342662826895%7Cdc1ad795b04228db2d313c99.1-1001723736%7C_t8lyT75WYIGY6uzt3Nh_iAxy5Q&base_domain=onetooneenglish.com&expires=0&secret=2a19b467f60f69a05bc63bf746b91424&session_key=dc1ad795b04228db2d313c99.1-1001723736&sig=4470d54234feb8efda2fa1e4c3a95dcc&uid=1001723736"; virtuemart=049d863e12b912c176b76f5a06110a48; 8d05b9179bc64836acc6596b4410acef=18ca1dbfce8d3a38b99c1e4d9c182953; PHPSESSID=7be139ff4361cb4a8164339b19feba25; googtrans=/en/pt; googtrans=/en/pt
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Date: Sat, 17 Sep 2011 03:13:36 GMT
< Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny10 with Suhosin-Patch proxy_html/3.0.0
< X-Powered-By: PHP/5.2.6-1+lenny10
< P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
< Expires: Mon, 1 Jan 2001 00:00:00 GMT
< Last-Modified: Sat, 17 Sep 2011 03:13:36 GMT
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Vary: Accept-Encoding
< Connection: close
< Content-Type: text/html; charset=utf-8
<
* Closing connection #0
Re: Pro version does not function
Sep 17, 2011 11:36 am by Edvard
Sep 17, 2011 11:36 am by Edvard
Please check https://code.google.com/apis/console/ and see if you have a 100.000 courtesy limit.
If you don't have it you can consider using Bing instead. If you don't want to use bing, use this rewrite rules instead:
# gtranslate config
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2&force_no_api=1 [L,QSA]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1&force_no_api=1 [L,QSA]
Re: Pro version does not function
Sep 19, 2011 12:28 am by dagfinnb
Sep 19, 2011 12:28 am by dagfinnb
Hi Edvard,
It looks like Google has made the google translator a paid service now.
Re: Pro version does not function
Sep 19, 2011 1:06 am by dagfinnb
Sep 19, 2011 1:06 am by dagfinnb
I had to enable billing for google api to work. New after August 24 I guess? The charge was 0$
Re: Pro version does not function
Sep 19, 2011 10:17 am by Edvard
Sep 19, 2011 10:17 am by Edvard
You can pay if you want.
Did you use the suggested rewrite rules instead?
SIMILAR TOPICS
504 timeout calling a custom function | Nov 28, 2018 10:34 am | Replies: 1 | Post by: fabbrichetta |
Custom menu with gtranslate function | Dec 4, 2018 3:14 am | Replies: 1 | Post by: luqman305 |
Googlebot seeing desktop version of site instead of mobilel | Mar 16, 2018 3:06 am | Replies: 5 | Post by: natastna2 |
GTranslate pay version | Jan 1, 2018 3:28 pm | Replies: 1 | Post by: Chrystelle |
differend cached version? | Sep 17, 2017 4:33 pm | Replies: 7 | Post by: durofer |