ARGH....S.O.S.

Aug 08, 2005 23:57

Hi there,
I was guided here from s2styles.
I'm trying to add a page counter to my journal (not the profile page, but the main page), I am a paid member and have followed the directions from this link that was provided:

http://www.livejournal.com/community/s2smoothsailing/810.html

I got to the part of posting the html code for the counter and get an error that I have no idea what it means. I am by no means any sort of code writer/interpreter.

S2 Compiler Output at Mon Aug 8 21:40:06 2005
Error compiling layer:

Compile error: line 5, column 25: Can't finish parsing NodeTerm
S2::NodeTerm, S2/NodeTerm.pm, 463
S2::NodeIncExpr, S2/NodeIncExpr.pm, 41
S2::NodeUnaryExpr, S2/NodeUnaryExpr.pm, 40
S2::NodeProduct, S2/NodeProduct.pm, 28
S2::NodeSum, S2/NodeSum.pm, 31
S2::NodeRelExpr, S2/NodeRelExpr.pm, 29
S2::NodeEqExpr, S2/NodeEqExpr.pm, 29
S2::NodeLogAndExpr, S2/NodeLogAndExpr.pm, 29
S2::NodeLogOrExpr, S2/NodeLogOrExpr.pm, 29
S2::NodeRange, S2/NodeRange.pm, 29
S2::NodeCondExpr, S2/NodeCondExpr.pm, 29
S2::NodeAssignExpr, S2/NodeAssignExpr.pm, 29
S2::NodeExpr, S2/NodeExpr.pm, 29
S2::NodeVarDeclStmt, S2/NodeVarDeclStmt.pm, 33
S2::NodeStmt, S2/NodeStmt.pm, 50
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 42
S2::NodeFunction, S2/NodeFunction.pm, 104
S2::Layer, S2/Layer.pm, 58
S2::Compiler, S2/Compiler.pm, 27

Context

1: layerinfo "type" = "theme";
2: layerinfo "name" = "stat counter";
3:
4: function Page::lay_print_sidebar_freetextbox() {
5: var string myhtml = (!--WEBBOT bot='HTMLMarkup' startspan ALT='Site Meter -->
6: (a href='http://s20.sitemeter.com/stats.asp?site=s20raginglunatic' target='_top')
7: (img src='http://s20.sitemeter.com/meter.asp?site=s20raginglunatic' alt='Site Meter' border='0'/)(/a)
8: (!--WEBBOT bot='HTMLMarkup' Endspan -->
9: ;

I had to replace the '>' and '<' with a parentheses so it would stay as code...because once I posted this it did it's html thing and made me a nice big fat zero in black. Fricka schmicka...

Can anybody help me?
I know....I'm pathetic.
Thanks in advance.

Jen, aka raginglunatic
Previous post Next post
Up