Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 Yesterday 12:40:59
- bashirnoori
- Member
- From: Afghanistan
- Registered: 2012-10-02
- Posts: 84
Error on live server when saving pages has script
I have uploaded a website to the live server on Hostinger. When I make changes to the Pages code and click the Save button, a popup appears stating, “Sorry, the form could not be submitted. Please try again later.”
Upon investigation, I discovered an error that suggests the server is preventing the submission of JavaScript code or other syntax due to security restrictions. I also found that this issue occurs with articles when they contain certain scripts.
Last edited by bashirnoori (Yesterday 12:42:53)
Offline
Re: Error on live server when saving pages has script
It happens with a number of hosts. The best way is to get in touch with them, tell them your issue, and ask for some security restrictions to be lifted.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Error on live server when saving pages has script
If the host allows to disabled the mod_security filters, this might work in your .htaccess file
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Your host control panel might also have an option to disabled those security filters. Checking with your host, as Yiannis suggest is an option.
If all else fails: export your theme to disc (Themes panel, from the multi-edit widget), edit the relevant files in your favourite text-editor – you’ll find them in /themes
by default on the server. After editing re-import the files from the Themes panel: multi-edit widget, update from drive.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline