Just in case anyone else experiences the pain I have endured with my hosting company over the last week, here’s the solution to the problem:
Action: Upgrade to EasyApache4 and Apache v2.4
Result: Payment Provider suddenly returning transactions as Unauthorised
Cause: suhosin module installed as part of upgrade and this truncates/limits information returned from Payment Provider so you return to a blank thanks.php page (thanks to Vince who spotted this immediately}
Solution: I added this to my php.ini file:
suhosin.cookie.max_array_depth = 150
suhosin.cookie.max_array_index_length = 192
suhosin.cookie.max_name_length = 192
suhosin.cookie.max_totalname_length = 768
suhosin.cookie.max_value_length = 30000
suhosin.cookie.max_vars = 4000
suhosin.executor.max_depth = 2250
suhosin.get.max_array_depth = 150
suhosin.get.max_array_index_length = 192
suhosin.get.max_name_length = 192
suhosin.get.max_totalname_length = 768
suhosin.get.max_value_length = 1536
suhosin.get.max_vars = 4000
suhosin.post.max_array_depth = 150
suhosin.post.max_array_index_length = 192
suhosin.post.max_name_length = 192
suhosin.post.max_totalname_length = 768
suhosin.post.max_vars = 4000
suhosin.request.max_array_depth = 150
suhosin.request.max_array_index_length = 192
suhosin.request.max_totalname_length = 768
suhosin.request.max_varname_length = 192
suhosin.request.max_vars = 4000
suhosin.session.max_id_length = 384
suhosin.upload.max_newlines = 300
suhosin.upload.max_uploads = 75
One thing I have learned is the importance of a phpinfo() file which lists all the settings for your php setup (though don’t leave it on your server as it reveals a great deal of info).
I am now officially 10 years older and need a lie down.
Many many thanks to Vince, Andy and Sinbad for helping me sort a problem that was actually a hosting issue. ECT going beyond the call of duty as usual.
Steve
