Forum Archive - Many errors in the error log

Many errors in the error log
Mar 29, 2011 5:15 pm by [email protected]
I'm getting the following errors in my error log. [Tue Mar 29 12:07:22 2011] [error] [client 74.125.152.82] PHP Notice: Trying to get property of non-object in /var/www/htdocs_Markzware/gtranslate/translate.php on line 139 [Tue Mar 29 12:07:22 2011] [error] [client 74.125.152.82] PHP Notice: Undefined variable: protocol in /var/www/htdocs_Markzware/gtranslate/translate.php on line 216 [Tue Mar 29 12:13:26 2011] [error] [client 66.249.71.90] PHP Notice: Undefined index: HTTP_COOKIE in /var/www/htdocs_Markzware/gtranslate/translate.php on line 66
Re: Many errors in the error log
Mar 30, 2011 10:07 am by Edvard
Please consult with your hosting provider about this variables $_SERVER["SERVER_PROTOCOL"], $_SERVER["HTTP_COOKIE"] which should be defined and accessible.
Re: Many errors in the error log
Mar 30, 2011 5:15 pm by [email protected]
First I checked the php_info to see if I saw anything relating to those two variables. Then I found a simple php script to output all of the $_SERVER variables. It looks like those two variables you mentioned above are available. Check out the link below. http://markzware.com/server.php
Re: Many errors in the error log
Mar 30, 2011 8:27 pm by Edvard
Well, in that case I don't know why this error comes up: PHP Notice: Undefined index: HTTP_COOKIE. If it works, you don't need to worry about the notices, by default your php error reporting should be set to E_ALL & ~E_NOTICE, which doesn't log notices, probably you have E_ALL, which is not used on production sites.
Re: Many errors in the error log
Mar 30, 2011 8:42 pm by [email protected]
Thanks, I changed my error_reporting level in my configuration file and restarted apache. At least this will do away with all of those messages in the log file.
Re: Many errors in the error log
Apr 14, 2011 7:02 pm by [email protected]
Just found the following in my logs. GET /wp-content/plugins/gtranslate/jquery.js That file doesn't exist. Is gtranslate trying to access that file?
Re: Many errors in the error log
Apr 15, 2011 12:01 pm by Edvard
Which version do you use? It is loading the default wordpress jQuery library in the newer versions.

SIMILAR TOPICS

Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
Error message and URL problemsFeb 6, 2019 11:16 amReplies: 1Post by: Kidbooo
GT doesn't work...error 404 pageJan 28, 2019 5:36 pmReplies: 1Post by: vincenzodinuzzo
Large numbers of crawl errors with double language codeJan 24, 2019 1:43 amReplies: 1Post by: natastna2
Nginx 502 ErrorJan 11, 2019 2:15 pmReplies: 1Post by: mightyfineprint

Try GTranslate with a free 15 day trial