ღ Fairwells ღ (fairwells) wrote in component_help,
ღ Fairwells ღ
fairwells
component_help

  • Mood:

Error installing Super LJ search tutorial

Hi all :) I keep fiddling with my layout and unfortunately that makes me ask more questions. I'm terribly sorry. Especially to uniquewonders. She's helped me so much. Thank you!

I'm trying to compile the code for the super search feature tutorial that has everything. But I keep getting this error when I compile. So I took it out. It's the same error that two other people also got around two years ago. I was hoping to find an answer but didn't see one.

I placed the code as is without the php part into another free text component, but I got the following error. I didn't change anything except add another free component and inserted the code. It's no longer in my layer because it won't compile. Any help on this would great. Thanks in advance.


Compile error: line 625, column 38: Unexpected token found. Expecting: [TokenPunct] = (
Got: [TokenIdent] = type
S2::Node, S2/Node.pm, 144
S2::NodeArguments, S2/NodeArguments.pm, 25
S2::NodeTerm, S2/NodeTerm.pm, 450
S2::NodeIncExpr, S2/NodeIncExpr.pm, 41
S2::NodeTypeCastOp, S2/NodeTypeCastOp.pm, 29
S2::NodeInstanceOf, S2/NodeInstanceOf.pm, 29
S2::NodeUnaryExpr, S2/NodeUnaryExpr.pm, 40
S2::NodeProduct, S2/NodeProduct.pm, 28
S2::NodeSum, S2/NodeSum.pm, 31
S2::NodeRelExpr, S2/NodeRelExpr.pm, 41
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::NodePrintStmt, S2/NodePrintStmt.pm, 48
S2::NodeStmt, S2/NodeStmt.pm, 36
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

621: "jabber" => "jabber"
622: };
623:
624: # build lj search box
625: var string k1Sljsch = """ <input ... >$k1Sljmslbl\n <select ... >\n""";
626: foreach var string k1Smskw ($k1Smskws) {
627: $k1Sljsch = $k1Sljsch + """ <option ... >$k1Smslbl{"$k1Smskw"}</option>\n""";
628: }
629: $k1Sljsch = $k1Sljsch + """ </select>
\n""";
Tags: /topic-component: search, status: closed
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic
  • 5 comments