Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2011-04-03 22:02:42

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: txp:password_protect doesn't work in 4.3.0?

Not sure, but my guess would be somewhere outside the IfModule part, so either before or after it.

I followed the link in the Dreamhost topic you mentioned to this thread, and it appears to be a PHP 4 vs 5 issue, which is also the difference between your hosts. I am not very good at this technical stuff, so I don’t know what other consequences adding that line may have.

Offline

#14 2011-04-04 07:54:14

joel
Member
Registered: 2004-11-26
Posts: 162

Re: txp:password_protect doesn't work in 4.3.0?

On the non working host I have both php4 and php5 activated. Is it possible to change version via htaccess?

Offline

#15 2011-04-04 08:42:31

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

Re: txp:password_protect doesn't work in 4.3.0?

PHP 4 is end-of-life. Stick with PHP 5.
To debug, add this to the template for that page:

<txp:php>phpinfo();</txp:php>

That should give enough information to begin debugging the problem.

Offline

Board footer

Powered by FluxBB