-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined Indexes #24
Comments
I think this might be related to browscap/browscap#259 |
It helps to check if the keys exists (and if not, simply ignore that part), but the detection of the beta version doesn't work: object(stdClass)[3] |
The Beta Flag is not set |
Ah, okay. I also just see that the user agent doesn't contain this information. |
@asgrim Where do I get this release? Can't find in anywhere. |
On the site, where it usually is! :) http://browscap.org/ |
@asgrim Ah, okay, you are talking about the INI-file... I thought you changed the PHP file. :) Will test it tomorrow. |
1 similar comment
@asgrim Ah, okay, you are talking about the INI-file... I thought you changed the PHP file. :) Will test it tomorrow. |
Sorry, shouldn't do that on my mobile... |
Works with the new version. |
Thanks for confirming, @ziege :) |
I got the following errors, perhaps because I was trying it a new browser (Firefox 30 Beta 2)? Tested with PHP 5.5.11 (64 Bit), on Windows Server 2008 R2.
Notice: Undefined index: Palm Source in C:\wwwroot\tests\browser\vendor\browscap\browscap-php\src\phpbrowscap\Browscap.php on line 576
Call Stack
Time Memory Function Location
1 0.0010 240256 {main}( ) ..\index.php:0
2 0.0049 553064 phpbrowscap\Browscap->getBrowser( ) ..\index.php:7
3 0.0049 554144 phpbrowscap\Browscap->updateCache( ) ..\Browscap.php:289
Notice: Undefined index: in C:\wwwroot\tests\browser\vendor\browscap\browscap-php\src\phpbrowscap\Browscap.php on line 579
Call Stack
Time Memory Function Location
1 0.0010 240256 {main}( ) ..\index.php:0
2 0.0049 553064 phpbrowscap\Browscap->getBrowser( ) ..\index.php:7
3 0.0049 554144 phpbrowscap\Browscap->updateCache( ) ..\Browscap.php:289
And I also got a memory error (but that's another issue).
The text was updated successfully, but these errors were encountered: