vjcspy / micrsoft-translator-php-wrapper

Automatically exported from code.google.com/p/micrsoft-translator-php-wrapper
0 stars 0 forks source link

Undefined index: class in MicrosoftTranslator.class.php on line 212 #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I started with a vanilla install of your demo ZIP file and configured my 
account key and path to cache directory within the config.inc.php files. When I 
load the /translate directory in my browser, I see the following message above 
the translation form:

Notice: Undefined index: class in 
/var/www/htdocs/translate/class/MicrosfotTranslator.class.php on line 212. 

Any ideas on why that may be the case? 

Thank you for this wrapper, it looks very useful. 

Original issue reported on code.google.com by davelind...@gmail.com on 24 May 2013 at 3:53

GoogleCodeExporter commented 8 years ago
Disregard -- this was being caused by a setting in my php ini

Original comment by davelind...@gmail.com on 29 May 2013 at 7:05

GoogleCodeExporter commented 8 years ago
I have the same problem. What can I do? Please help me. Any suggestions...

Original comment by bm.cse...@gmail.com on 20 Jun 2013 at 10:14

GoogleCodeExporter commented 8 years ago
I believe I added one of the error reporting levels explicitly to the 
MicrosoftTranslator.class.php file. 
See examples section on this page and try different values until you achieve 
desired result: 
http://php.net/manual/en/function.error-reporting.php

Original comment by davelind...@gmail.com on 21 Jun 2013 at 4:43

GoogleCodeExporter commented 8 years ago
i have this problem too . pls write your solution 

Original comment by mohammad...@gmail.com on 22 Feb 2015 at 7:22