Directly accessing $_GET['q'] (without checking that $_GET['q'] exists before) resuts in a PHP notice.

This cause big problems if page cache normal is enabled and the webserver is configured to serve gzip compressed pages.

This resutls in a white screen of death.

Attached patch fixed it.

CommentFileSizeAuthor
content_encoding_error.patch411 bytesfax8

Comments

BradleyT’s picture

I wasn't getting a WSOD however my log file was filled with a few hundred thousand errors because of this.

Your patch fixed that error.

OK I fixed the line 32 error (seperate issue) so nevermind that part.

fax8’s picture

line 32 what? did not understand sorry.

grendzy’s picture

Status: Needs review » Closed (won't fix)

The 5.x branch is no longer supported. If this issue is still present in a current version of Secure Pages, please update the issue summary, change the version field, and re-open the issue.