Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • costabreeze Friend
    #192818

    Notice from Joomla after trying to open my web page:
    First: i need to refresh couple time the page beause its blank page and keep loading something ???
    Secont: The notice from joomla i use v3.2

    “””Can’t identify browser version Agent: Mozilla/5.0 (iPhone ; CPU Iphone OS 7_0_4 like Mac X)
    Applewebkit/ 536.26 (khtml, like Gecko) GSA/3.1.0.23513 Mobile/11B554a Safari/8536.25 “””

    Also with iPhone OS 6 on iPhone 4 i get the same notice

    i see the notice on every page !

    Ja Obelisk 1.0.1 joomla 3.2

    pavit Moderator
    #514693

    Hi

    Could you try to do as suggested on This Thread ?

    costabreeze Friend
    #514702

    Hello i do fix like that: the code

    // Can't identify browser version
    $this->majorVersion = 0;
    $this->minorVersion = 0;
    JLog::add("Can't identify browser version. Agent: " . $this->agent, JLog::NOTICE);

    been removed from browser.php and probably i never gona see notice like Can’t identify browser version. Agent, but its work for me like this way so Thanks 🙂

    OOo all the code is like that now


    protected function identifyBrowserVersion()
    {
    if (preg_match('|Version[/ ]([0-9.]+)|', $this->agent, $version))
    {
    list ($this->majorVersion, $this->minorVersion) = explode('.', $version[1]);

    return;
    }

    }

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

This topic contains 3 replies, has 2 voices, and was last updated by  costabreeze 10 years, 5 months ago.

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