We recently upgraded from 4.2.3 to 5.4.4
Everything is configured and we placed the new forum live. But after we did that we can no longer access AdminCP. When we try to do that and we login we get the error - In order to accept POST requests originating from this domain, the admin must add the domain to the whitelist.
We were given these directions from support to fix the problem but my MIS people don't understand them and need more detail or an example what to do.
Is this purely a DB edit? Or is this a Unix command line commands or both? I need to know this because I need to give it to the right people to work on. We don't have one person who does the application, Unix and DB so makes troubleshooting and fixing things hard for us.
This is the directions support gave us which we cant get a detailed explanation about or examples.
Can anyone help?
You can add to the redirect whitelist with this query:
update setting set value="https://domain1.com/\nhttps://domain2.com/\nhttps://domain3.com" where varname="redirect_whitelist";
Or you can turn off the feature complete with this query:
update setting set value="1" where varname="redirect_whitelist_disable";
To allow these variables to take effect, you have to clear several rows in the datastore table as well.
delete from datastore where title in ("miscoptions","options","publicoptions");
To rebuild the datastore, you have to load the front-end of the site in your browser or use tools.php.
Everything is configured and we placed the new forum live. But after we did that we can no longer access AdminCP. When we try to do that and we login we get the error - In order to accept POST requests originating from this domain, the admin must add the domain to the whitelist.
We were given these directions from support to fix the problem but my MIS people don't understand them and need more detail or an example what to do.
Is this purely a DB edit? Or is this a Unix command line commands or both? I need to know this because I need to give it to the right people to work on. We don't have one person who does the application, Unix and DB so makes troubleshooting and fixing things hard for us.
This is the directions support gave us which we cant get a detailed explanation about or examples.
Can anyone help?
You can add to the redirect whitelist with this query:
update setting set value="https://domain1.com/\nhttps://domain2.com/\nhttps://domain3.com" where varname="redirect_whitelist";
Or you can turn off the feature complete with this query:
update setting set value="1" where varname="redirect_whitelist_disable";
To allow these variables to take effect, you have to clear several rows in the datastore table as well.
delete from datastore where title in ("miscoptions","options","publicoptions");
To rebuild the datastore, you have to load the front-end of the site in your browser or use tools.php.
Comment