TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 488
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 213
  • Total: 213

PHP articles showing blank

Started by SpiffyJr, July 27, 2007, 03:31:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SpiffyJr

I'm trying to use TinyPortal as a wrapper for a PHP file so I tried out the PHP article. I used a bit of simple test code <?php echo 'test'; ?> and when I preview the page all I get is a blank page. I even tried <?php die("TEST!!!"); ?> as well as just die("TEST!");

Any ideas?

Lesmond

#1
remove the <?php and ?> from the code so you just have   echo ' test ';

SpiffyJr

Tried that as well. All I get is "echo 'test';" It's like the file isn't being parsed at all.

Lesmond

Strange I have just tested it on my local server, here.. http://lesmond.homedns.org/smf2/index.php?page=6

echo ' <b>This is what I get</b> ';

SpiffyJr

#4
Joy. Something must have borked on my end, then. Let me make a page real fast for a demo.

Alright, attached is an image of what I put in the article editor and you can view it at http://www.phpraider.com/index.php?page=45

IchBin

Delete the article and create a new one. Let me know if you still have this problem.

SpiffyJr

Deleted and remade using echo 'test'; and the same thing happens.

This website is proudly hosted on Crocweb Cloud Website Hosting.