1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

need help with a parse error.

Discussion in 'PHP' started by wishmaster22, Jul 3, 2008.

  1. #1
    I am not a programmer, so just getting that out up front.

    I installed a php script and I am getting this error after install.


    Parse error: parse error, unexpected T_STRING in /home/clikns/public_html/store/config.php on line 10

    How can I determine where line 10 is in the code.

    I don't have a code editing program and I cannot isolate the line to see what is wrong.

    Is there a validator online that would show me the line numbers, and possibly the error?

    Thanks
     
    wishmaster22, Jul 3, 2008 IP
  2. flawebworks

    flawebworks Tech Services

    Messages:
    991
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    78
    #2
    If you have notepad, follow these instructions:

    Open the file.
    On the Edit menu, click Go To.
    In Goto line, type the line number you want the cursor to jump to.
    Walla! Line 10.
     
    flawebworks, Jul 3, 2008 IP
  3. nosleepno

    nosleepno Peon

    Messages:
    202
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have seen that error a million times... I would go to line #9 and make sure it ends with ;
     
    nosleepno, Jul 3, 2008 IP
  4. pneulameiro

    pneulameiro Peon

    Messages:
    440
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    do what the friand above said and make sure you are not forgetting to close some string quote "
     
    pneulameiro, Jul 3, 2008 IP