I got this error when I enable Language Path Checking after this patch http://drupal.org/node/1034126

* Notice: Use of undefined constant LANGUAGE_NEGOTIATION_NONE - assumed 'LANGUAGE_NEGOTIATION_NONE' in globalredirect_init() (line 145 of F:\Web Development File\www\drupal7\sites\all\modules\globalredirect\globalredirect.module).

* Notice: Use of undefined constant LANGUAGE_NEGOTIATION_PATH_DEFAULT - assumed 'LANGUAGE_NEGOTIATION_PATH_DEFAULT' in globalredirect_init() (line 146 of F:\Web Development File\www\drupal7\sites\all\modules\globalredirect\globalredirect.module).

* Notice: Use of undefined constant LANGUAGE_NEGOTIATION_PATH - assumed 'LANGUAGE_NEGOTIATION_PATH' in globalredirect_init() (line 147 of F:\Web Development File\www\drupal7\sites\all\modules\globalredirect\globalredirect.module).

* Notice: Use of undefined constant LANGUAGE_NEGOTIATION_DOMAIN - assumed 'LANGUAGE_NEGOTIATION_DOMAIN' in globalredirect_init() (line 167 of F:\Web Development File\www\drupal7\sites\all\modules\globalredirect\globalredirect.module).

Comments

s@ilor’s picture

Yep, me too. Anyone else?

* Notice: Use of undefined constant LANGUAGE_NEGOTIATION_NONE - assumed 'LANGUAGE_NEGOTIATION_NONE' in globalredirect_init() (line 145 of C:\xampp\htdocs\drup7\sites\all\modules\globalredirect\globalredirect.module).
* Notice: Use of undefined constant LANGUAGE_NEGOTIATION_PATH_DEFAULT - assumed 'LANGUAGE_NEGOTIATION_PATH_DEFAULT' in globalredirect_init() (line 146 of C:\xampp\htdocs\drup7\sites\all\modules\globalredirect\globalredirect.module).
* Notice: Use of undefined constant LANGUAGE_NEGOTIATION_PATH - assumed 'LANGUAGE_NEGOTIATION_PATH' in globalredirect_init() (line 147 of C:\xampp\htdocs\drup7\sites\all\modules\globalredirect\globalredirect.module).
* Notice: Use of undefined constant LANGUAGE_NEGOTIATION_DOMAIN - assumed 'LANGUAGE_NEGOTIATION_DOMAIN' in globalredirect_init() (line 167 of C:\xampp\htdocs\drup7\sites\all\modules\globalredirect\globalredirect.module).

Any help is appreciated! :)

chougrani’s picture

Version: 7.x-1.x-dev » 7.x-1.3

I have the same error when check "Language Path Checking".
Globaldirect
7.x-1.3 tar.gz (19.84 KB) | zip (28.18 KB) 2011-Jan-05 Notes

iztok’s picture

I can confirm the error message.

albertosilva’s picture

The solution to this issue is at http://drupal.org/node/1034126#comment-4181690

kiphaas7’s picture

Status: Active » Closed (duplicate)

since the issue mentioned in #4 was fixed, this can be closed?

nicholasthompson’s picture

Thanks Kiphaas7 - you're right. #1034126: Infinite loop (error 310) with i18n in D7 does indeed fix this.