Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: PHP functions not supported on ComputingHost, alternative Web Hosts?
I already googled and found this solution:
Locate the .htaccess file in Apache web root directory and add in the following code:
SecFilterEngine Off
SecFilterScanPOST Off
All this does is break the website completely :(
Offline
Re: PHP functions not supported on ComputingHost, alternative Web Hosts?
Please provide details. How exactly does the website break. Does it give an error message? Do the web server error logs show anything (with or without that modification in .htaccess file)
Btw. Don’t change the .htaccess in the root directory. Create a new one in the /textpattern directory.
Offline
Re: PHP functions not supported on ComputingHost, alternative Web Hosts?
Web server logs say nothing, no errors… installed Textpattern in a subfolder to make sure plugins or my code were not causing the problem… what do you know the problem is still there. I cannot save forms!
I have added
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
to. htaccess in the root and it did nothing, i then tried in the Textpattern folder and strangely I can now save <txp:body /> in a form or simple text like “simple text not code” but unfortunately i need to save some txp:tags in there….
Time vs effort vs cms ….. slowly becoming not worth it!
Offline
Re: PHP functions not supported on ComputingHost, alternative Web Hosts?
I have this same problem with my host – they just add the txp sites to the modsec whitelist – ask them to do this.
I tried to disable modsec using htaccess, and that didn’t work – so the domains have to be added to the modsec whitelist.
It is to do with this set of modsec rules, not really txp related at all
Offline
Re: PHP functions not supported on ComputingHost, alternative Web Hosts?
Yeah my host pretty much said “bad luck, why dont you pay for dedicated hosting?” :(
Offline
Re: PHP functions not supported on ComputingHost, alternative Web Hosts?
tye, damshaw, can you tell us which hosting company does this, so others can avoid them?
Offline
Re: PHP functions not supported on ComputingHost, alternative Web Hosts?
My hosting company is run like a ‘private club’ for reliability, stability and security – They don’t offer single website hosting and prefer to deal with resellers and multi-domain customers.
They don’t advertise their services publicly, but if is interested PM me and I will give you details
Offline
Re: PHP functions not supported on ComputingHost, alternative Web Hosts?
That must be ktwebservers.net, the one that just IP blocked me. :-) Pretty secure setup! lol
Offline
Re: PHP functions not supported on ComputingHost, alternative Web Hosts?
maruchan wrote:
That must be ktwebservers.net, the one that just IP blocked me. :-) Pretty secure setup! lol
Nope – lol
Offline
Re: PHP functions not supported on ComputingHost, alternative Web Hosts?
My host is Digital Pacific and I contacted them again and this time I got someone willing to go the extra mile. They have spent the day trying to whitelist various Mod_sec features and they finally decided to just disable it completely.
So in the end my host is better than I previously suggested!
Cheers for the help peeps!
Offline