Page 1 of 1

Error when trying to do custom order

Posted: 02 Aug 2025, 01:43
by tarnali
I keep getting an error-> textStatus error when trying to save a custom order for a gallery. Any help would be appreciated. 

Re: Error when trying to do custom order

Posted: 02 Aug 2025, 03:38
by mjau-mjau
This is a hosting firewall blocking the POST request. If you can send me link and panel login, I can verify. Basically, in browser dev tools "network inspector", you will see "403 forbidden" for the request, yet it will show "200 ok" when accessed directly in browser (without POST).

Re: Error when trying to do custom order

Posted: 02 Aug 2025, 14:38
by tarnali
Sent you a DM through the forum. Thanks! 

Re: Error when trying to do custom order

Posted: 02 Aug 2025, 22:23
by mjau-mjau
As you can see, the POST to the script simply returns "403 forbidden":
Image

The script itself is not "forbidden", as you can see when accessed directly with normal GET.
Image

The above is basically the clear indicator that it's a firewall response. I see the same script works fine when doing normal save, without customizing the sort order. So it means your firewall is explicitly triggering for the POST data that is related to image sort index. I can't really know from here what specific rule it is, or even why it's triggering at all, but below is POST data from custom sorting:
Image

This is something you need to resolve with your hosting. Ultimately, your firewall doesn't really need to be enabled from the /panel/* url, because everything that goes on there requires login anyway (but your firewall doesn't know that).

Re: Error when trying to do custom order

Posted: 27 Aug 2025, 13:26
by tarnali
I was able to change the security settings and it is working now! Thank you very much