Posted by altparty on May 21, 2008 at 4:51pm
| Project: | Internationalization |
| Version: | 5.x-2.3 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
In my php error_log I found this repeated message: PHP Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/vhosts/altparty.net/httpdocs/sites/all/modules/i18n/i18n.module on line 434.
Does anyone have a clue what this message is about and how to solve it?
Comments
#1
I get this error too - on the same line. Did you track down the cause?
#2
No, and the error still exists.
#3
Hmmm... I just noticed the error as well...
#4
I made a little fix for this because we got the same error!
It sets the default language to 'en', please improve because I didn't got the time to really dive into the code
I wasn't able to test it but please let me know if it works!
#5
Patch seems to work...
No more errors.
#6
A Notice is not an error, you use it only for development. And anyway we are fixing only critical bugs for 5.x
#7
But it does slow down the speed of your application? Or am I wrong?
I highly recommend to create a solution for this. Anyway, the fix is not so big right?
#8
No. But it does slow down debugging by cluttering the logs with notices.