You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make use of the LOCATION_TESTING boolean in my env file to set an IP address manually whilst on localhost but it doesn't have any effect.
.env:
LOCATION_TESTING=true
location.php config (I swapped around the enabled and ip keys to test with no joy):
local.ERROR: The address 127.0.0.1 is not in the database. {"userId":1,"exception":"[object] (GeoIp2\\Exception\\AddressNotFoundException(code: 0): The address 127.0.0.1 is not in the database.
What I've Tried
Clearing the config cache,
Setting it to false and then back to true again,
Running it via php artisan serve (I use valet, mysite.test)
Changing IP addresses,
Changing the order of the testing array of keys in the config file.
Any help is appreciated!
The text was updated successfully, but these errors were encountered:
Bug
I'm trying to make use of the LOCATION_TESTING boolean in my env file to set an IP address manually whilst on localhost but it doesn't have any effect.
.env:
LOCATION_TESTING=true
location.php config (I swapped around the
enabled
andip
keys to test with no joy):I get this error message in the logs:
local.ERROR: The address 127.0.0.1 is not in the database. {"userId":1,"exception":"[object] (GeoIp2\\Exception\\AddressNotFoundException(code: 0): The address 127.0.0.1 is not in the database.
What I've Tried
php artisan serve
(I use valet, mysite.test)Any help is appreciated!
The text was updated successfully, but these errors were encountered: