Results 1 to 4 of 4

Thread: parse error

  1. #1
    Join Date
    Jan 2005
    Posts
    1

    Unanswered: parse error

    I dont know much abt php.I am getting the error


    Parse error: parse error in C:\Program Files\Apache Group\Apache2\htdocs\lacuc\lacuc_config.php on line 39



    the code in line 39 in lacuc_config file is

    // directory submitted files are stored till reviewed by admin
    // from root
    $move_file_source = 'c:\Program Files\submitted_files\';

    some one solve this problem.I am approaching the deadline.please.............

  2. #2
    Join Date
    Jan 2005
    Location
    Rees / Germany
    Posts
    34
    Hey

    I can't find an error in the line you posted.
    Check your code if you have all braces and parenthesis closed.
    If can't find something, post a little bit more code please.
    hth

    Andreas
    In Nomine Padri Et Fili Et Spiritus Sancti

  3. #3
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    although the error is reported on line 39, it may be that the compiler has hit an unexpected token/value on line 39
    as ChiefRebelAngel suggests check for brqacketing or other punctuation in the preceeding lines
    there could be a semicolon missing of the previous line, or a malformed statement (eg missing some parameters or closing bracket)
    HTH

  4. #4
    Join Date
    Feb 2005
    Posts
    1

    help, parse error!

    I have a problem, i keep getting a parse error, and it keeps popping up in different places.. the problem i think, is that in another part of the script, its trying to echo... and seeing as i know.. umm.. nothing about this, i can't fix it. i'm just trying to customize a free script i found.. and i can sort of get it to work, but othertimes not. help me? (what i'm trying to do is change a mboard.php script so i can add a background, and enclose the message board within a table adjusted right)

    Parse error: parse error in /export/home/scf-27/philipko/public_html/mboard/mboard2.php on line 298

    here's the code.. i'm not sure which is line 298.. but yeah, its in there.

    <script language=\"Javascript\" src=\"$settings[mboard_url]/smileys.js\"><!--
    //-->
    </script>
    </head>
    <body background="http://www-scf.usc.edu/~philipko/public_html/jeniedit.jpg" bgproperties=fixed text=827D00 link=FFFFFF vlink=FFFFFF alink=000000>
    ";
    $content.=$header;

    $content.="
    <h3 align=\"center\">$settings[mboard_title]</h3>

    <div align=\"center\"><center>
    <table border=\"0\" width=\"95%\"><tr>
    <td>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •