1 users online. Create an account or sign in to join them.Users
Useragent Details
This is an open discussion with 26 replies, filed under Extensions.
Search
Aha, yep, it would...
Can you paste your user-agent string here? Somehow, your ua string is terminating the regex early...
Ignore that.
Line 58: 'SearchBot'=>'(nuhk)|(googlebot)|(yammybot)|(openbot)|(slurp)|(msnbot)|(ask jeeves/teoma)|(ia_archiver)' needs changing to 'SearchBot'=>'(nuhk)|(googlebot)|(yammybot)|(openbot)|(slurp)|(msnbot)|(ask jeeves\/teoma)|(ia_archiver)'
Notice the escaped slash after ask jeeves. Basically your useragent string isn't in the list, and the last line is ending the regex early and faulting.
Yep... that's it! working now, thank you very much!
I will report this bug on github...
Cool.
Sorry I fixed that ages ago but forgot to push a minor release as I started doing upgrades for a major release. I will push those amends today.
Useragent Details updated to version 1.1.2 on 19th of January 2012
Changelog
- regex issue causing failure in
class.os.php. Sorry it took so long!
Create an account or sign in to comment.
Thanks,
But unfortunately it did not help
I now get about the same error straight away (every useragent);