Search…

X3 Photo Gallery Support Forums

Search…
 
tarnali
Topic Author
Posts: 5
Joined: 28 Jul 2025, 00:23

Error when trying to do custom order

02 Aug 2025, 01:43

I keep getting an error-> textStatus error when trying to save a custom order for a gallery. Any help would be appreciated. 
Attachments
Screenshot 2025-08-02 004057.png
Screenshot 2025-08-02 004057.png (296.4 KiB) Viewed 1139 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

Re: Error when trying to do custom order

02 Aug 2025, 03:38

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).
 
tarnali
Topic Author
Posts: 5
Joined: 28 Jul 2025, 00:23

Re: Error when trying to do custom order

02 Aug 2025, 14:38

Sent you a DM through the forum. Thanks! 
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

Re: Error when trying to do custom order

02 Aug 2025, 22:23

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).
 
tarnali
Topic Author
Posts: 5
Joined: 28 Jul 2025, 00:23

Re: Error when trying to do custom order

27 Aug 2025, 13:26

I was able to change the security settings and it is working now! Thank you very much