Many errors in the error log

Popular automatic website translation tool

Many errors in the error log

Postby [email protected] » Tue Mar 29, 2011 9:15 pm

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
[email protected]
 
Posts: 8
Joined: Thu Mar 10, 2011 3:32 am

Re: Many errors in the error log

Postby Edvard » Wed Mar 30, 2011 2:07 pm

Please consult with your hosting provider about this variables $_SERVER["SERVER_PROTOCOL"], $_SERVER["HTTP_COOKIE"] which should be defined and accessible.
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4349
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Many errors in the error log

Postby [email protected] » Wed Mar 30, 2011 9:15 pm

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
[email protected]
 
Posts: 8
Joined: Thu Mar 10, 2011 3:32 am

Re: Many errors in the error log

Postby Edvard » Thu Mar 31, 2011 12:27 am

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.
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4349
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Many errors in the error log

Postby [email protected] » Thu Mar 31, 2011 12:42 am

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.
[email protected]
 
Posts: 8
Joined: Thu Mar 10, 2011 3:32 am

Re: Many errors in the error log

Postby [email protected] » Thu Apr 14, 2011 11:02 pm

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?
[email protected]
 
Posts: 8
Joined: Thu Mar 10, 2011 3:32 am

Re: Many errors in the error log

Postby Edvard » Fri Apr 15, 2011 4:01 pm

Which version do you use? It is loading the default wordpress jQuery library in the newer versions.
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4349
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux
cron