Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Slimstat Problem with TXP 4.04
Hi All,
I’ve been using slimstat to track visits to my blog, and I really like it. I just upgraded my blog to TXP 4.04,
and now I get the dreaded “Warning: raw_php_deprecated” warning. However, if I substitute the following:
<?php @include_once( “/users/home/losource/domains/treb0r.net/web/public/slimstat/inc.stats.php” ) ?>
With:
<txp:php> @include_once( “/users/home/losource/domains/treb0r.net/web/public/slimstat/inc.stats.php” ) </txp:php>
I get a syntax error and slimstat no longer works.
Any ideas?
Thanks in advance…
Last edited by treb0r (2007-01-23 15:01:46)
Offline
Re: Slimstat Problem with TXP 4.04
Yeah you can’t use the regular <php? ?> tags anymore.
You have to use <txp:php> code
Offline
#3 2007-01-23 16:03:29
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Slimstat Problem with TXP 4.04
Or use wet_slimpattern :)
Offline
Re: Slimstat Problem with TXP 4.04
That plugin did the job nicely. A very nice addition to my txp toolbox…
Offline
#5 2007-01-26 20:07:58
- NyteOwl
- Member

- From: Nova Scotia, Canada
- Registered: 2005-09-24
- Posts: 539
Re: Slimstat Problem with TXP 4.04
The problem is that <txp:php> doesn’t work with all PHP when including 4external files/scripts
Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;
Offline
#6 2007-04-27 09:30:17
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: Slimstat Problem with TXP 4.04
I just updated the german TXP Resource blog from 4.0.3 to 4.0.4 and get the Warning: raw_php_deprecated. I use Wets Plugin for slimstat. How do i get rid of the warning?
OKAY; PROBLEM SOLVED!
Last edited by alexandra (2007-04-27 09:54:45)
Offline
Pages: 1