Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • meewa Friend
    #147405

    when i click in some link sobi2 filter letter eg. A B C D E F or other, return this err…

    Deprecated: Function eregi() is deprecated in C:wampwwwnegociosnotapajostemplatesja_purity_iilibsmobile_device_detect.php on line 66

    Deprecated: Function eregi() is deprecated in C:wampwwwnegociosnotapajostemplatesja_purity_iilibsmobile_device_detect.php on line 73

    but the sobi2 other functions work fine.

    need help for this

    denis25 Friend
    #333780

    eregi is obsolete with php5.3 then, you have to edit the file libs > mobile_device_detect.php
    and replace all the eregi functions by preg_match….i as it’s already done in line 80.

    for example, the line 66 :
    [PHP] case (eregi(‘opera mini’,$user_agent));[/PHP]
    will becomes :
    [PHP] case (preg_match(‘/(opera mini)/i’,$user_agent));[/PHP]

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  denis25 14 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum