Giter Site home page Giter Site logo

laravel51-provider's People

Contributors

elricho avatar

Stargazers

 avatar

Watchers

 avatar  avatar

laravel51-provider's Issues

Local User Agent Detection Issue

Looks like the library has issues parsing the user agent when using the local handset detection feature.

Here’s what we are using (which works via api call, but fails locally):

$hd = App('HandsetDetection');

$hd->deviceDetect(['user-agent' => 'Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B436 Safari/600.1.4']);

This fails with a 301 locally.. HDDevice:440 doesn’t find anything:

$_id = $this->getMatch('user-agent', $headers['user-agent'], DETECTIONV4_GENERIC, 'agent', 'device');

We have all of the supplied json files in the directory that the library is set up to pull from (/home/***/***/storage/app/hd40store) - but it’s not getting that far because of the issue above

Looping in @artkay @biteknight

Error updating community handsets database

Sometimes during

$hd = App('HandsetDetection');
$hd->communityFetchArchive();

we are getting error:

[ErrorException]                                        
ZipArchive::close(): Invalid or unitialized Zip object 

I assume it is connection problem and the archive is broken due that. Is there any way to check this from your end, guys?

Looping in @djskripta and @Lagawrd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.