Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.
This topic has 7 replies, 2 voices, and was last updated 4 years, 3 months ago by Szabi – CodeRevolution.
-
AuthorPosts
-
-
September 21, 2020 at 7:03 pm #1975
[21-Sep-2020 20:56:01 UTC] Exception thrown in Translator Exception: Failed to translate string, incorrect response 302 – <HTML><HEAD><meta http-equiv=”content-type” content=”text/html;charset=utf-8″> <TITLE>302 Moved</TITLE></HEAD><BODY> <H1>302 Moved</H1> The document has moved here. </BODY></HTML> in /var/www/u1134050/data/www/stiridetop.com/wp-content/plugins/newsomatic-news-post-generator/res/newsomatic-translator.php:46 Stack trace: #0 /var/www/u1134050/data/www/stiridetop.com/wp-content/plugins/newsomatic-news-post-generator/newsomatic-news-post-generator.php(7850): GoogleTranslator->translateText(‘(*)\n …’, ‘auto’, ‘ro’) #1 /var/www/u1134050/data/www/stiridetop.com/wp-content/plugins/newsomatic-news-post-generator/newsomatic-news-post-generator.php(7525): newsomatic_translate(‘Coding unit tes…’, ‘(*)\n …’, ‘auto’, ‘ro’) #2 /var/www/u1134050/data/www/stiridetop.com/wp-content/plugins/newsomatic-news-post-generator/newsomatic-news-post-generator.php(4181): newsomatic_spin_and_translate(‘Coding unit tes…’, ‘(*)\n …’, ‘disabled’, ‘disabled’) #3 /var/www/u1134050/data/www/stiridetop.com/wp-content/plugins/newsomatic-news-post-generator/newsomatic-news-post-generator.php(1685): newsomatic_run_rule(‘0’, ‘0’, 0) #4 /var/www/u1134050/data/www/stiridetop.com/wp-includes/class-wp-hook.php(287): newsomatic_run_my_action_callback(”) #5 /var/www/u1134050/data/www/stiridetop.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #6 /var/www/u1134050/data/www/stiridetop.com/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /var/www/u1134050/data/www/stiridetop.com/wp-admin/admin-ajax.php(176): do_action(‘wp_ajax_newsoma…’) #8 {main}
[21-Sep-2020 20:56:01 UTC] Translation Failed – returned false!
[21-Sep-2020 20:56:01 UTC] Rule ID 0 succesfully run! 1 posts created!
[21-Sep-2020 20:57:26 UTC] Exception thrown in Translator Exception: Failed to translate string, incorrect response 302 – <HTML><HEAD><meta http-equiv=”content-type” content=”text/html;charset=utf-8″> <TITLE>302 Moved</TITLE></HEAD><BODY> <H1>302 Moved</H1> The document has moved here. </BODY></HTML> in /var/www/u1134050/data/www/stiridetop.com/wp-content/plugins/newsomatic-news-post-generator/res/newsomatic-translator.php:46 Stack trace: #0 /var/www/u1134050/data/www/stiridetop.com/wp-content/plugins/newsomatic-news-post-generator/newsomatic-news-post-generator.php(7850): GoogleTranslator->translateText(‘(*)\n …’, ‘auto’, ‘ro’) #1 /var/www/u1134050/data/www/stiridetop.com/wp-content/plugins/newsomatic-news-post-generator/newsomatic-news-post-generator.php(7525): newsomatic_translate(‘Ready to slip i…’, ‘(*)\n …’, ‘auto’, ‘ro’) #2 /var/www/u1134050/data/www/stiridetop.com/wp-content/plugins/newsomatic-news-post-generator/newsomatic-news-post-generator.php(4181): newsomatic_spin_and_translate(‘Ready to slip i…’, ‘(*)\n …’, ‘disabled’, ‘disabled’) #3 /var/www/u1134050/data/www/stiridetop.com/wp-content/plugins/newsomatic-news-post-generator/newsomatic-news-post-generator.php(1685): newsomatic_run_rule(‘0’, ‘0’, 0) #4 /var/www/u1134050/data/www/stiridetop.com/wp-includes/class-wp-hook.php(287): newsomatic_run_my_action_callback(”) #5 /var/www/u1134050/data/www/stiridetop.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #6 /var/www/u1134050/data/www/stiridetop.com/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /var/www/u1134050/data/www/stiridetop.com/wp-admin/admin-ajax.php(176): do_action(‘wp_ajax_newsoma…’) #8 {main}
[21-Sep-2020 20:57:26 UTC] Translation Failed – returned false!
[21-Sep-2020 20:57:26 UTC] Rule ID 0 succesfully run! 1 posts created! -
September 21, 2020 at 7:31 pm #1976
Hello,
First of all, thank you for your purchase.
I checked and it seems that the free version of the Google Translator API that my plugin is using started showing captchas to limit the number of calls users are making to it. Because of this, the plugin is not able to parse the translations using it.
To solve this issue, please switch to using the official Google Translator API, this will solve this issue. I made a video to help with this, please check it here: https://www.youtube.com/watch?v=1gUJNAnlEhw
Also, changing the ip address of your server will also make the free version of the translation work again, but switching to the above official API is recommended.
Regards, Szabi – CodeRevolution.
-
September 23, 2020 at 6:33 am #1992
Thx you! but Google API is too expensive. Can i set proxy to use free google tranlator from different IPs?
-
September 23, 2020 at 6:45 am #1993
Good idea, please update plugin to v3.0.1.1, you will be able to set proxies in the plugin’s ‘Main Settings’ -> ‘Web Proxy Address’ settings field.
Regards.
-
September 23, 2020 at 7:16 am #1994
i mean a list of proxy… web proxy support socks4 proxy?
-
September 23, 2020 at 9:42 am #1995
Nice suggestion, you will be able to use a comma separated list of proxies in the v3.0.1.2 update of the plugin. To use socks4 proxies, use this format:
socks4://bob:marley@localhost:12345
-
September 23, 2020 at 10:14 am #1996
if i use non autorisation proxy, it will be
<span class="str">socks4://localhost:12345,socks4://localhost:12345,socks4://localhost:12345</span>
right sintax?
-
September 23, 2020 at 10:43 am #1997
Yes, but don’t forget to replace URLs and ports. 🙂
-
-
AuthorPosts
The topic ‘Google translation 302 error’ is closed to new replies.