Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

HTML Validator crashes in 2.0.1

#349

Problem is in the is_mobile function of framework/core/subsystems/expTheme.php:

HTTP_ACCEPT could possibly be not set so have to change it to the following:

    if (isset($_SERVER['HTTP_ACCEPT']) && (strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml') > 0) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))) {
        $mobile_browser++;
    }

Reported by Imran · October 4th, 2011 @ 03:30 PM

State: resolved
Milestone: 2.0.2
Assigned to: nobody

Activity

  1. expNinja
    expNinja
    • Milestone set to 2.0.2
    • State changed from new to resolved
    • Milestone order changed from 110 to 0

    (from [805ef3619b406258800158c24a353c151a719ee2]) Fixes several XHTML validation issues, Opera browser mis-detected as mobile device, etc... [#349 state:resolved milestone:2.0.2] [#350 state:resolved milestone:2.0.2] [#351 state:resolved milestone:2.0.2] https://github.com/exponentcms/exponent-cms/commit/805ef3619b406258...

    October 11th, 2011 @ 12:44 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.