lat9 / gpsf

An update to the previous Numinix version, now supporting Zen Carts 1.5.6 and above (including 1.5.8a) as well as PHP versions 5.6 through 8.2.
GNU General Public License v2.0
2 stars 2 forks source link

$_REQUEST['key'] contains "DirectMap1G" #43

Closed torvista closed 1 month ago

torvista commented 1 month ago

I've just moved my shop to Jeandret and when checking GPSF I got "Incorrect key supplied!"

And I find that $key contains "DirectMap1G" instead of being empty!

So, not sure where the issue lies but there it is.

dbltoe commented 1 month ago

WAG When looking at https://unix.stackexchange.com/questions/605142/what-is-using-a-1g-byte-page-on-my-system, I wonder if it might have been a carryover from the previous host's attempt at large file operations.

torvista commented 1 month ago

I don't have that text anywhere.

lat9 commented 1 month ago

What value is in the GPSF configuration?

torvista commented 1 month ago

What value is in the GPSF configuration?

Nothing.

I outputted the key and constant: image

lat9 commented 1 month ago

That makes no sense to me.

lat9 commented 1 month ago

If you set the access-key to a non-blank value, does it get overwritten?

torvista commented 1 month ago

With a string in the access key: image

no string in access key

image

lat9 commented 1 month ago

Interesting, although it's not something that GPSF2 has control over.

torvista commented 1 month ago

My bad. I have extra server info in the header (including memory info) and that was using $key...and this is after the unset($key) in gpsf so was getting auto-substituted for the empty value.