Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-20 22:04:39

TheWorkingchair.com
Member
Registered: 2006-04-10
Posts: 12

PHP tags are defacated?!

I have this website that uses textpattern, but it has largely sat unused for about a little over half a year, and now I’m going to get back to work on it, but I have kinda forgotten how to use tXtptrn

I just updated, but now I get some warning at the top. I assume you can see it too. Just go to http://www.theworkingchair.com/

“Warning: Raw PHP tags are deprecated in /home/content/w/o/r/workingchair/html/textpattern/publish.php on line 996”

How do I solve this?

Oh yeah, now my text is really big too. What caused that?

Last edited by TheWorkingchair.com (2007-02-20 22:05:18)

Offline

#2 2007-02-20 22:14:23

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

Re: PHP tags are defacated?!

FAQ: Warning: Raw PHP tags are deprecated.

As for the big font size, checking the validation errors is always a good point to begin with.

Offline

#3 2007-02-20 22:18:40

TheWorkingchair.com
Member
Registered: 2006-04-10
Posts: 12

Re: PHP tags are defacated?!

Awesome, thanks!

Offline

#4 2007-02-20 22:42:39

TheWorkingchair.com
Member
Registered: 2006-04-10
Posts: 12

Re: PHP tags are defacated?!

Hmm… I don’t see how to disable it under Advanced Preferences… Is it labeled something different?

Offline

#5 2007-02-20 23:50:00

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

Re: PHP tags are defacated?!

It’s labeled Allow raw PHP?

Offline

#6 2007-02-21 00:18:08

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: PHP tags are defacated?!

hahaha “defacated”

Offline

#7 2007-02-21 04:45:10

TheWorkingchair.com
Member
Registered: 2006-04-10
Posts: 12

Re: PHP tags are defacated?!

I don’t have that option… Is there something wrong? Damn…

It only asks, “Allow PHP in pages?” and “Allow PHP in articles?”

Last edited by TheWorkingchair.com (2007-02-21 04:45:52)

Offline

#8 2007-02-21 05:34:24

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: PHP tags are defacated?!

Keep looking down the list. It is there.

Offline

#9 2007-02-21 06:04:36

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: PHP tags are defacated?!

From email:

…when I found it, it was already on “yes”. I tried turning it off and back on, but that’s not working… Any other suggestions?

What do you have send last modified headers set to?

Also, a possibly related bug fix.

Offline

#10 2007-03-02 01:44:24

resplence
Member
Registered: 2006-03-07
Posts: 37

Re: PHP tags are defacated?!

I was having the same problem when installing slimstat. I then used the code provided (@include_once( $_SERVER[“DOCUMENT_ROOT”].”/slimstat/inc.stats.php” );) inside <txp:php> tags and it worked flawlessly.

Offline

Board footer

Powered by FluxBB