1.36.31: Cannot add server: "actions can no longer be performed without POST"

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
NotSoWittyName
Posts: 22
Joined: Sun Nov 13, 2022 5:45 pm

1.36.31: Cannot add server: "actions can no longer be performed without POST"

Post by NotSoWittyName »

I'm getting the above error message trying to do a few things in ZM. The latest time I just hit this was when I was trying to add a server. I completed all feels, pressed "add", and the new server was not added. Instead, I received these error messages:

Code: Select all

11/15/22, 12:55:02 PM GMT+1	web_php		556557	FAT	View 'server' does not exist	/usr/share/zoneminder/www/index.php	281
11/15/22, 12:55:02 PM GMT+1	web_php		556557	ERR	actions can no longer be performed without POST.	/usr/share/zoneminder/www/index.php	200
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: 1.36.31: Cannot add server: "actions can no longer be performed without POST"

Post by Magic919 »

I'm guessing it's in here

Code: Select all

/usr/share/zoneminder/www/skins/classic/views/options.php:          <form name="optionsForm" method="get" action="?">
Change the "get" to "post".
-
FSAB
Posts: 8
Joined: Thu Sep 14, 2017 10:27 am

Re: 1.36.31: Cannot add server: "actions can no longer be performed without POST"

Post by FSAB »

I'm also getting that option when trying to modify Zones in 1.36.31
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: 1.36.31: Cannot add server: "actions can no longer be performed without POST"

Post by Magic919 »

Same fix will apply across a few of the PHP files.
-
NotSoWittyName
Posts: 22
Joined: Sun Nov 13, 2022 5:45 pm

Re: 1.36.31: Cannot add server: "actions can no longer be performed without POST"

Post by NotSoWittyName »

Works for me, thanks.

Should this be submitted as an issue to GitHub?
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: 1.36.31: Cannot add server: "actions can no longer be performed without POST"

Post by Magic919 »

Isaac was the one that originally mentioned it, so I wouldn’t see any value in it.
-
Post Reply