Feature request: PRO : remove some PHP notice

Popular automatic website translation tool

Feature request: PRO : remove some PHP notice

Postby DenisC » Thu Jun 26, 2014 11:47 am

Usin gtranslate PRO : have PHP notice in error log.
This make harder to debug other part.
Code: Select all
[Thu Jun 26 06:04:17 2014] [error] [client IPadress1] PHP Notice:  Undefined index: HTTP_COOKIE in /var/www/gtranslate/translate.php on line 153
[Thu Jun 26 06:04:19 2014] [error] [client IPadress1] PHP Notice:  Undefined index: HTTP_COOKIE in /var/www/gtranslate/translate.php on line 153
[Thu Jun 26 06:04:21 2014] [error] [client IPadress1] PHP Notice:  Undefined index: HTTP_COOKIE in /var/www/gtranslate/translate.php on line 153
[Thu Jun 26 06:04:22 2014] [error] [client IPadress1] PHP Notice:  Undefined index: HTTP_COOKIE in /var/www/gtranslate/translate.php on line 153
[Thu Jun 26 06:04:23 2014] [error] [client IPadress1] PHP Notice:  Undefined index: HTTP_COOKIE in /var/www/gtranslate/translate.php on line 153
[Thu Jun 26 06:04:26 2014] [error] [client IPadress1] PHP Notice:  Undefined index: HTTP_COOKIE in /var/www/gtranslate/translate.php on line 153
[Thu Jun 26 06:04:27 2014] [error] [client IPadress1] PHP Notice:  Undefined index: HTTP_COOKIE in /var/www/gtranslate/translate.php on line 153
[Thu Jun 26 06:04:27 2014] [error] [client IPadress1] PHP Notice:  Undefined index: HTTP_COOKIE in /var/www/gtranslate/translate.php on line 153
[Thu Jun 26 08:30:55 2014] [error] [client IPadress2] PHP Notice:  Undefined index: HTTP_COOKIE in /var/www/gtranslate/translate.php on line 153
[Thu Jun 26 09:35:13 2014] [error] [client IPadress2] PHP Notice:  Undefined index: HTTP_COOKIE in /var/www/gtranslate/translate.php on line 153


Thanks
DenisC
 
Posts: 11
Joined: Thu Jun 19, 2014 11:20 am

Re: Feature request: PRO : remove some PHP notice

Postby Edvard » Thu Jun 26, 2014 4:06 pm

Hi,

I would suggest to turn off the notice debugging or you may define a correct $_SERVER['HTTP_COOKIE'] variable which should be predefined in PHP, not sure why it is not defined on your server.

Thanks!
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: 4179
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