Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2011-07-08 00:03:39

damshaw
New Member
From: Sydney
Registered: 2010-08-14
Posts: 8
Website

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

#14 2011-07-08 14:05:54

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#15 2011-07-11 12:19:16

damshaw
New Member
From: Sydney
Registered: 2010-08-14
Posts: 8
Website

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

#16 2011-07-12 01:39:03

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

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

#17 2011-07-12 04:21:26

damshaw
New Member
From: Sydney
Registered: 2010-08-14
Posts: 8
Website

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

#18 2011-07-12 11:59:42

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#19 2011-07-12 23:24:56

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

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

#20 2011-07-12 23:49:24

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 590
Website

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

#21 2011-07-13 00:14:44

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

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

#22 2011-07-14 05:00:47

damshaw
New Member
From: Sydney
Registered: 2010-08-14
Posts: 8
Website

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

Board footer

Powered by FluxBB