Heimdall icon indicating copy to clipboard operation
Heimdall copied to clipboard

ErrorException (E_NOTICE) Undefined offset: 1

Open weaselBuddha opened this issue 5 years ago • 0 comments

First time installing, trying to determine its suitability:

Getting this error, 2 out of three times.

Claims it is happening here:

       ` if(isset($_SERVER['HTTP_AUTHORIZATION']) && !empty($_SERVER['HTTP_AUTHORIZATION'])) {
            list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = 
          explode(':', base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)));**
        }`

On the explode.

Value of HTTP_AUTHORIZATION

HTTP_AUTHORIZATION | "Digest username="FAKE", realm="Welcome", nonce="xiGqaOeiBQA=1c149720cc8b010e0b6d01adcb2e21368084a4e1", uri="/Heimdall/", algorithm=MD5, response="33ad33c090d6218092bb635f78ee55c1", qop=auth, nc=00000003, cnonce="df49a36a3c30f36f" ◀"

Environment: Ubuntu 18.04 PHP-FPM7.3 Apache2.4 HTTPS Digest Auth

When it does come up, I attempt to go to settings, or users, and I get a 500 with:

AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: HTTPS://xxxxx/Heimdall

Don't know if it helps, whether it is one problem or two.

weaselBuddha avatar Apr 10 '20 03:04 weaselBuddha