Static Page Mod - Revised

Started by thecooldude, May 05, 2006, 05:35:11 PM

Previous topic - Next topic

thecooldude

[nofollow]

thecooldude

I get this error when i try to see the mage i made:

Parse error: parse error, unexpected T_STRING in /home/aligamez/public_html/forum/Sources/Load.php(1623) : eval()'d code(7) : eval()'d code on line 1
[nofollow]

winrules

Quote from: thecooldude on May 06, 2006, 06:04:07 AM
I get this error when i try to see the mage i made:

Parse error: parse error, unexpected T_STRING in /home/aligamez/public_html/forum/Sources/Load.php(1623) : eval()'d code(7) : eval()'d code on line 1
what code are you using in the page? and what's the page type?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


thecooldude

Pagetype: PHP

name: hello

Page Title: wag1

code: this is a test
[nofollow]

winrules

Quote from: thecooldude on May 06, 2006, 08:30:29 AM
Pagetype: PHP

name: hello

Page Title: wag1

code: this is a test
It's not an error in the mod, it's an error in the code you're putting in. You'll either have to change the page type to html or bbc, or change the code to valid php like this:

echo 'this is a test';


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


thecooldude

oh im sorry. Yeh it works with HTML. Congrats! Just approve it!
[nofollow]

Advertisement: