Closed imarkdesigns closed 8 years ago
Even this: If i am running php artisan firewall:blacklist country:ph to test if my country will block...
Command "firewall:blacklist" is not defined.
Did you mean one of these?
firewall:tables
firewall:list
Should be fixed now.
Also, you have to remember to enable, on config\firewall.php:
enable_country_search
and
use_database
Those are disabled by default to improve speed.
Btw, i found that one of your file under "Support" is missing when i run the GeoIP... the main file "GeoIp.php". Luckily i have my old copy at my local (desktop). Not sure but for sure it is weird that it is missing in terminal ssh installation via VPS.
Thanks also for the quick update. appreciate it!
You have to make sure your VPS is downloading the last versions of
pragmarx/support pragmarx/tracker
So you have to make sure it is installing:
This screenshot was taken from an installation on a 4.2.
Unfortunately Composer sometimes misses some packages updates...
Found the bug. Directory was not renamed in GitHub!!!
old was: src/geoip new is: src/GeoIp
GitHub kept it as src/geoip.
Will fix it, sorry, guys.
Done, please check.
Sorry again.
Go to vendor\pragmarx\firewall\src\Vendor\Laravel\ServiceProvider.php
Near by line no 8 or so, Change
use PragmaRX\Support\GeoIp;
to
use PragmaRX\Support\GeoIp\GeoIp;
Then
Go to vendor\pragmarx\firewall\src\Firewall.php
Near by line no 32 or so, Change
use PragmaRX\Support\GeoIp;
to
use PragmaRX\Support\GeoIp\GeoIp;
Should work fine then
Hello,
Whenever i tried to configure the code, it was ended to this portion:
Any idea sir?