- Issue created by @corE
- ππ·Croatia devad
Since you said you are using Ludwig... did you created manually the ludwig.json file inside your modules/visitors folder?
- πΊπΈUnited States corE
Thank you @devad
I thing I need to tackle the composer hurdle. I've been doing the old way for so long that I'm a little intimidated by setting it up. I really like the Ludwig idea, but I think they want to discontinue it.
Here is what I came up with for your suggestion, although I couldn't find any reference to these in the visitor files. I assume the are specified elsewhere? You may not be familiar with Ludwig but I don't suppose you would be able to determine if this looks correct? I think I have the URLs right.
{ "require": { "composer/ca-bundle": { "version": "1.3.7", "url": "https://github.com/composer/ca-bundle/archive/1.3.7.zip" }, "maxmind/web-service-common-php": { "version" : "v0.9.0", "url": "https://github.com/maxmind/web-service-common-php/archive/v0.9.0.zip" }, "maxmind/MaxMind-DB-Reader-php": { "version" : "v1.11.0", "url": "https://github.com/maxmind/MaxMind-DB-Reader-php/archive/v1.11.0.zip" }, "maxmind/GeoIP2-php": { "version" : "v2.13.0", "url": "https://github.com/maxmind/GeoIP2-php/archive/v2.13.0.zip } } }
- ππ·Croatia devad
Yes, you have the URLs right. The library names should be kept the same as composer's.
This ludwig.json file should work.
{ "require": { "composer/ca-bundle": { "version": "1.3.7", "url": "https://github.com/composer/ca-bundle/archive/1.3.7.zip" }, "maxmind/web-service-common-php": { "version" : "v0.9.0", "url": "https://github.com/maxmind/web-service-common-php/archive/v0.9.0.zip" }, "maxmind-db/reader": { "version" : "v1.11.0", "url": "https://github.com/maxmind/MaxMind-DB-Reader-php/archive/v1.11.0.zip" }, "geoip2/geoip2": { "version" : "v2.13.0", "url": "https://github.com/maxmind/GeoIP2-php/archive/v2.13.0.zip" } } }
- πΊπΈUnited States bluegeek9
The IP address appears as an integer because the ip address format has changed. You need to convert the data. You can use Drush, or the form, admin/config/system/visitors/rebuild-ip-address
https://8-x-2-16-vdqqys14ud2xzuff8fhka1b63lwsnptt.tugboatqa.com/admin/co...
ip2long only support IPv4. Visitors supports IPv6 and IPv4.
- ππ·Croatia devad
I thing I need to tackle the composer hurdle. I've been doing the old way for so long that I'm a little intimidated by setting it up.
I really like the Ludwig idea, but I think they want to discontinue it.
Ludwig will be around until a new similar official UI tool is completed. π¬ Retire Ludwig? Postponed
- πΊπΈUnited States corE
Thank you @bluegeek9 and @devad !
I tried the /rebuild-ip-address link (which I did not see or know about in the visitors UI). It gave a message that some item updates have been processed, but it returned it on the same page asking "Do you want to rebuild the IP Address?" with the Confirm button. I pressed it multiple times and it returned to this confirm page with the items processed message each time, so I can only hope that it worked correctly. I didn't see any changes on the host page ip address presentation (the odd number are still there) and am wondering it this flush acts immediately, or it if will act on new hits only?
...and @devad, I can report that your ludwig.json rewrite "work nicely" as you have outlined! Thank you very much for your help on this as well as the encouragement with composer, and the ludwig future development info. When I get the time I will try to figure out composer.
In appreciation!
- πΊπΈUnited States corE
Hum... perhaps things didn't go so well. I just checked today and the visitors entries stopped on the 17th. I checked my notes and that is the day I went from 8.x-2.12 to 8.x-2.16. It looks like I can't get past 8.x-2.12 for some reason. My 8.x-2.12 install was pre Ludwig operation π¬ Visitors - Ludwig integration Active mention above. My 8.x-2.12 was acting normally with the exception of the odd numbers in hosts. The Ludwig procedure and /rebuild-ip-address π¬ Visitors - Ludwig integration Active procedure were performed on 8.x-2.16, so perhaps I'll try rolling back to 8.x-2.12 and giving these procedures a go again on that version and see what happens. Weird! [scratching my head]
- Status changed to Closed: won't fix
6 months ago 11:51pm 6 July 2024