(2015-11-06, 19:07:33)Oleg06 Wrote: this setup breaks on litespeed
Hey 0leg, thanks.
I think I figured out the problem. With
x-www-url-form-encoded
header in a GET req. data is sent as a URL query string. However Litespeed servers (and Windows too) have URL request length limits at approx. 8192 bytes. As the entire settings' data is passed in GS Custom Settings, this is very likely to be bigger than the request length limit. Plus, because Cyrillic chars are multi-byte, the file is quickly heavier. I just tested your export in a string-to-byte converter, and it's at 44.000 bytes, so your server probably blocks the request.(Another possible cause, check that
php.ini
post_max_size
is > 1MB)Documentation on this is hard to find, so I can't promise anything. Could you test the patch in attachment (extract to plugins folder) and tell me specifically if (1) the data loads on the screen, and (2) if the data gets saved (modify some values & reload).