The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
Using execphp but saving turns code into comment - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5)
+--- Thread: Using execphp but saving turns code into comment (/showthread.php?tid=3196)



Using execphp but saving turns code into comment - Asken - 2012-05-15

Hi,

I'm trying to use execphp to run some code on a page.

I've added a component to my theme and the component is added like this:
<?php get_component('testcmp'); ?>

My problem is that as soon as I add the code to the page in html mode and save the code turns into this:
<!--?php get_component('contactform'); ?-->

What am I doing it wrong?

/Kristian


Using execphp but saving turns code into comment - mvlcek - 2012-05-15

Asken Wrote:Hi,

I'm trying to use execphp to run some code on a page.

I've added a component to my theme and the component is added like this:
<?php get_component('testcmp'); ?>

My problem is that as soon as I add the code to the page in html mode and save the code turns into this:
<!--?php get_component('contactform'); ?-->

What am I doing it wrong?

/Kristian

Better use DynPages than execphp.


Using execphp but saving turns code into comment - Asken - 2012-05-15

mvlcek Wrote:
Asken Wrote:Hi,

I'm trying to use execphp to run some code on a page.

I've added a component to my theme and the component is added like this:
<?php get_component('testcmp'); ?>

My problem is that as soon as I add the code to the page in html mode and save the code turns into this:
<!--?php get_component('contactform'); ?-->

What am I doing it wrong?

/Kristian

Better use DynPages than execphp.

Yeah, I saw just after sending this post. Thanks anyway for you help!

/K