Replacement tag {PHP:page.php} does not work

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
tr.aymen1
Posts: 16
Joined: Wed 11. Mar 2009, 21:58

Replacement tag {PHP:page.php} does not work

Post by tr.aymen1 »

To include an external php script, I used the replacement tag {PHP:php/page.php} in a WYSIWYG content part. But it does not work.
The result in fronted is:
php/page.php

I try also with [PHP]include("php/page.php");[/PHP]
The result in fronted is:
include("php/page.php");

I used phpwcms 1.3.9 (r179)

Thank's for your help,
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Replacement tag {PHP:page.php} does not work

Post by flip-flop »

Pleases set up in conf.inc.php:

Code: Select all

$phpwcms["allow_cntPHP_rt"] = 1;
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
tr.aymen1
Posts: 16
Joined: Wed 11. Mar 2009, 21:58

Re: Replacement tag {PHP:page.php} does not work

Post by tr.aymen1 »

Thank you very much
my_rockfish
Posts: 3
Joined: Sat 24. May 2008, 07:42

Re: Replacement tag {PHP:page.php} does not work

Post by my_rockfish »

Mr. Flip Flop,

i'm using phpwcms 1.4.5 (2010/02/12, r400), but RT function {PHP:bca.php} doen't work anymore

i have edit / change setting at conf.inc like this : $phpwcms["allow_cntPHP_rt"] = 1;

but at front end of the website does not appear as it should. any suggestions ??? :|
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Replacement tag {PHP:page.php} does not work

Post by juergen »

Hi
my_rockfish wrote: doen't work anymore
It did before ?
my_rockfish wrote: does not appear as it should.
Give us example ?!
my_rockfish
Posts: 3
Joined: Sat 24. May 2008, 07:42

Re: Replacement tag {PHP:page.php} does not work

Post by my_rockfish »

thx for your reply DF6IH

sorry about my bad english,

here my screenshoot :

When i used phpwcms 1.4.2. r345, RT {PHP:kursbca.php} the scripts is ok

Image

but, when i'm using to phpwcms 1.4.5. r400, RT {PHP:kursbca.php} the external php scripts is not run

Image

i have changed in conf.inc.php to : $phpwcms["allow_cntPHP_rt"] = 1;

can you help me please, DF6IH ?
User avatar
Cipolla
Posts: 451
Joined: Sat 16. Feb 2008, 20:39
Location: Muppet Show

Re: Replacement tag {PHP:page.php} does not work

Post by Cipolla »

Well, i don´t have any clue why it stoped working, but have you tried the content part "External Content" ?
...
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Replacement tag {PHP:page.php} does not work

Post by juergen »

hmmm

anything seems to be completely corrupted !
Post Reply