Cannot install PRO
Oct 28, 2012 11:01 am by escherian
Oct 28, 2012 11:01 am by escherian
Hi, I have bought your PRO plugin and now having difficulties in making it working.
Server requirements are satisfied 100%, I have checked with my hosting provider support.
I have uploaded the gtranslate folder to my www root (public_html), consider the site I want to transalte is into a subdirectory like this public_html/portofaro and it is called by the URL http://www.cuoremediterraneo.com
I have set public_html/gtranslate/cache and public_html/gtranslate/cache/XX folders permissions to 777, without change to other files/folders permissions.
I have added this:
# 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 [L,QSA]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA]
to my .htaccess file located public_html/.htaccess and this is its content:
RewriteEngine on
# 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 [L,QSA]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA]
RewriteCond %{HTTP_REFERER} !^http://marcoghirlanda.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://marcoghirlanda.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.marcoghirlanda.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.marcoghirlanda.com$ [NC]
#RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
#Make PHP.INI recursive
SetEnv PHPRC /home/marcghi7/public_html/php.ini
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ "http\:\/\/www\.marcoghirlanda\.com\/eyes" [R=301,L]
RewriteCond %{HTTP_HOST} ^marcoghirlanda\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.marcoghirlanda\.com$
RewriteRule ^/?$ "http\:\/\/www\.marcoghirlanda\.com\/eyes" [R=301,L]
I have opened /gtranslate/config.php file to configure it and this is its content:
<?php
define('MAIN_LANG', 'it'); // Main language code: en, ar, bg, hr, cn, ct, cs, da, et, tl, fi, fr, gl, el, iw, hi, es, nl, id, ja, ca, ko, lt, lv, mt, de, no, pt, ru, ro, sr, sk, sl, sv, th, tr, uk, hu, vi, it, pl, sq
define('API_KEY', 'AIzaSyDTnisYrRIiRHbdbxrjIfk6BiMyXXXXXXX'); // You can get your Google Translate API key from https://code.google.com/apis/console/?api=translate
define('AUTO_DETECT_LANG', false); // set to true if you have mixed language content, works with Google only
define('CACHE_TIME', 365*24*60*60); // 1 year by default, no need to decrease
define('LICENSE', 'license.dat');
define('SSL_VERIFY_PEER', true); // disable if you get CA certificate error and cannot reconfigure your server to solve the issue
define('FOLLOW_LOCATION', false); // if your site have redirects for some URLs and for that reason you see blank pages, you need to enable this feature
define('USE_BING_TRANSLATOR', false); // Enable it to use Bing Translotor instead of Google Translate
define('BING_API_KEY', 'INSERT-YOUR-KEY'); // If the option above is enabled you need to get your Bing API key from http://www.bing.com/developers/createapp.aspx (PHP SOAP client is required)
define('DEBUG', false); // turn on for debug mode
// username and password to edit translations, please change for security reasons,
// this is not your google login/pass, you need to think something new
define('USER', 'cuoremediterraneo');
define('PASS', 'mypwdnotwritehere');
I have modified public_html/robots.txt and added
Sitemap: http://cuoremediterraneo.com/sitemap.txt
and put a sitemap.txt both in public_html/sitemap.txt and in public_html/portofaro/sitemap.txt with this content:
http://cuoremediterraneo.com/en/
http://cuoremediterraneo.com/af/
http://cuoremediterraneo.com/sq/
http://cuoremediterraneo.com/ar/
http://cuoremediterraneo.com/hy/
http://cuoremediterraneo.com/az/
http://cuoremediterraneo.com/eu/
http://cuoremediterraneo.com/be/
http://cuoremediterraneo.com/bg/
http://cuoremediterraneo.com/ca/
http://cuoremediterraneo.com/zh-CN/
http://cuoremediterraneo.com/zh-TW/
http://cuoremediterraneo.com/hr/
http://cuoremediterraneo.com/cs/
http://cuoremediterraneo.com/da/
http://cuoremediterraneo.com/nl/
http://cuoremediterraneo.com/et/
http://cuoremediterraneo.com/tl/
http://cuoremediterraneo.com/fi/
http://cuoremediterraneo.com/fr/
http://cuoremediterraneo.com/gl/
http://cuoremediterraneo.com/ka/
http://cuoremediterraneo.com/de/
http://cuoremediterraneo.com/el/
http://cuoremediterraneo.com/ht/
http://cuoremediterraneo.com/iw/
http://cuoremediterraneo.com/hi/
http://cuoremediterraneo.com/hu/
http://cuoremediterraneo.com/is/
http://cuoremediterraneo.com/id/
http://cuoremediterraneo.com/ga/
http://cuoremediterraneo.com/it/
http://cuoremediterraneo.com/ja/
http://cuoremediterraneo.com/ko/
http://cuoremediterraneo.com/lv/
http://cuoremediterraneo.com/lt/
http://cuoremediterraneo.com/mk/
http://cuoremediterraneo.com/ms/
http://cuoremediterraneo.com/mt/
http://cuoremediterraneo.com/no/
http://cuoremediterraneo.com/fa/
http://cuoremediterraneo.com/pl/
http://cuoremediterraneo.com/pt/
http://cuoremediterraneo.com/ro/
http://cuoremediterraneo.com/ru/
http://cuoremediterraneo.com/sr/
http://cuoremediterraneo.com/sk/
http://cuoremediterraneo.com/sl/
http://cuoremediterraneo.com/es/
http://cuoremediterraneo.com/sw/
http://cuoremediterraneo.com/sv/
http://cuoremediterraneo.com/th/
http://cuoremediterraneo.com/tr/
http://cuoremediterraneo.com/uk/
http://cuoremediterraneo.com/ur/
http://cuoremediterraneo.com/vi/
http://cuoremediterraneo.com/cy/
http://cuoremediterraneo.com/yi/
I have enabled the PRO version in the plugin page in wordpress but now whatever language I click on it just gives a Page Not Found (Error 404), not putting the right language. This even adding ?language_edit=1 at the end.
You can check this on http://www.cuoremediterraneo.com
Thanks in advance for your help,
Marco
Re: Cannot install PRO
Oct 29, 2012 2:47 pm by Yana
Oct 29, 2012 2:47 pm by Yana
Hi,
The language code should be after the domain name. If you can send me ftp access info and backend admin username /password I can check your settings.
Re: Cannot install PRO
Jan 2, 2013 4:53 pm by escherian
Jan 2, 2013 4:53 pm by escherian
Where can I send login informations and the ftp account?
Would you please explain more your sentence:
"The language code should be after the domain name."
thank you very much,
Marco
Re: Cannot install PRO
Jan 3, 2013 4:56 pm by Yana
Jan 3, 2013 4:56 pm by Yana
Hi,
You can use contact form on our homepage to send the information.
The URLs should be http://cuoremediterraneo.com/xx/portofaro/ instead of http://cuoremediterraneo.com/portofaro/xx/
Re: Cannot install PRO
Jan 26, 2013 12:24 pm by escherian
Jan 26, 2013 12:24 pm by escherian
Now I get:
You don't have appropriate license for www.cuoremediterraneo.com domain name. Please purchase GTranslate Pro license.
Can you help me with that?
Kind regards,
Marco
Re: Cannot install PRO
Jan 26, 2013 3:37 pm by Yana
Jan 26, 2013 3:37 pm by Yana
Hi,
Please try to add ?verify_license=1 to the end of the url to refresh the license manually.
Also please check your firewall settings.
Re: Cannot install PRO
Jan 28, 2013 8:22 am by escherian
Jan 28, 2013 8:22 am by escherian
at: http://www.cuoremediterraneo.com/en/?verify_license=1 (or any other fr, de, es...) I get:
You don't have appropriate license for www.cuoremediterraneo.com domain name. Please purchase GTranslate Pro license.
no firewall is active on this server if you want I can check with sysadmins but I need you to give me a clear question for them, since I would not know what to ask.
thank you,
Marco
Re: Cannot install PRO
Jan 28, 2013 5:20 pm by Yana
Jan 28, 2013 5:20 pm by Yana
Hi,
We will check your license ASAP.
Re: Cannot install PRO
Jan 28, 2013 5:45 pm by Yana
Jan 28, 2013 5:45 pm by Yana
Dear Marco,
Can you please send your PayPal email address so we can check the license?
Re: Cannot install PRO
Feb 1, 2013 12:09 pm by escherian
Feb 1, 2013 12:09 pm by escherian
I sent you a PM with all details...
Please activate my license, I paid 79 euro for it!!!
Re: Cannot install PRO
Feb 1, 2013 12:48 pm by Yana
Feb 1, 2013 12:48 pm by Yana
Hi,
Thank you. We will check it ASAP.
Re: Cannot install PRO
Feb 2, 2013 5:48 pm by escherian
Feb 2, 2013 5:48 pm by escherian
Thank you, it is 2 months I am trying to activate this plugin!
kind regards,
Marco
Re: Cannot install PRO
Feb 2, 2013 7:59 pm by Yana
Feb 2, 2013 7:59 pm by Yana
Hi,
Please check your PM.
Re: Cannot install PRO
Feb 5, 2013 1:06 pm by escherian
Feb 5, 2013 1:06 pm by escherian
I indicated the root domain when I made my payment. I need the plugin to work on a website which is hosted in a directory of another one, and I thought wrongly that I should indicate the "root" server.
Now the team will move my license to the correct website and everything should work as expected (and as I paid for).
Re: Cannot install PRO
Feb 6, 2013 3:24 pm by Yana
Feb 6, 2013 3:24 pm by Yana
Hi,
We will change the license and let you know.
Re: Cannot install PRO
Feb 24, 2013 4:44 pm by escherian
Feb 24, 2013 4:44 pm by escherian
After you have changed the license everything should work but is still now working.
First time I have tried it briefly appeared a grey box on top of the website stating that:
" cannot translate www.cuoremediterraneo.com " and then it disappeared and the pages are not translated whatever language I choose.
thank you in advance for your help!
Re: Cannot install PRO
Feb 24, 2013 9:21 pm by Yana
Feb 24, 2013 9:21 pm by Yana
Hi,
I can see the following in the debug.txt
Response: {
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceeded",
"message": "Daily Limit Exceeded"
}
],
"code": 403,
"message": "Daily Limit Exceeded"
}
}
Please check your API key usage limit or just remove it.
Re: Cannot install PRO
Feb 25, 2013 9:12 am by escherian
Feb 25, 2013 9:12 am by escherian
It seems to me very strange because:
1) website is VERY low traffic (few visitors per day)
2) we have just activated it for one day
Anyway, how do I remove the API key?
Translations editing will it work the same? (main reason to buy the PRO version for me)
Kind regards
Re: Cannot install PRO
Feb 25, 2013 9:55 am by escherian
Feb 25, 2013 9:55 am by escherian
Removing the API key seemed that has solved the problem, what is the benefit of adding the API key?
Thank you for your help, it seems we have solved everything!
Cheers up for the support Team at Gtranslate!
Re: Cannot install PRO
Feb 25, 2013 10:35 am by Yana
Feb 25, 2013 10:35 am by Yana
Hi,
Good to hear that! API key is an optional feature and GTranslate Pro works without API.
Re: Cannot install PRO
Mar 2, 2013 12:37 pm by escherian
Mar 2, 2013 12:37 pm by escherian
We get a strange behaviour during translation related to the ' (apostrophe) char beeing converted automatically to \' , same thing for " that becames \"
example
L'endroit becames L\'endroit
another strange thing is that I can correct it to L'endroit when in editing mode, but immediately as I remove the &language_edit=1 from the URL it returns to L\'endroit
other than this, after many days of work, we see no other errors...
can you help us with that?
kind regards
Re: Cannot install PRO
Mar 2, 2013 3:39 pm by Yana
Mar 2, 2013 3:39 pm by Yana
Hi,
Can you see .human files in the gtranslate /cache/XX folders? Please check the cache folder permissions. It should be writable.
SIMILAR TOPICS
Love the plug-in, please help us install it. | Jan 13, 2015 5:45 pm | Replies: 1 | Post by: joseph |
CONNOT INSTALL THE ZIP YOU SENT ME | Nov 4, 2014 1:04 pm | Replies: 4 | Post by: argana-belleza |
Enterprise Install please on my site | Oct 25, 2013 10:22 am | Replies: 3 | Post by: spanishproperty |
Drupal 7 multi site install | Jul 15, 2013 3:37 pm | Replies: 4 | Post by: DF30000 |
Local install problem | Jul 10, 2013 9:51 am | Replies: 11 | Post by: toshko4 |