wordpress error - please help

Discussion in 'WordPress' started by faiths13, Sep 3, 2008.

  1. #1
    i am trying to download wp and started on the configure file install when i go this error
    'Parse error: syntax error, unexpected ')' in C:\wamp\www\wordpress\wp-config.php on line 5'
    i have no idea what it means or what i need to do. can someone please help me?
     
    faiths13, Sep 3, 2008 IP
  2. martyn.b

    martyn.b Peon

    Messages:
    144
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What does line 5 say, also it looks like its trying to call something from c: C:\wamp\www\wordpress\wp-config.php

    Are you running it on a local machine of a actual server
     
    martyn.b, Sep 3, 2008 IP
  3. faiths13

    faiths13 Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    im not sure which is line 5...is that counting every line down even the <?php line? i found the file that this error is referring to. i am running wamp server and its in my wamp file.
     
    faiths13, Sep 3, 2008 IP
  4. Analyst

    Analyst Well-Known Member

    Messages:
    623
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    155
    #4
    open config.php and see what's there in line 5, and paste it here.... I may find any clue!
     
    Analyst, Sep 4, 2008 IP
  5. faiths13

    faiths13 Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    define('DB_PASSWORD', ); // ...and password

    im guess this is line 5? do i count ALL the lines including the <?php line?
     
    faiths13, Sep 4, 2008 IP
  6. glendowney

    glendowney Notable Member

    Messages:
    5,925
    Likes Received:
    198
    Best Answers:
    0
    Trophy Points:
    210
    #6
    That is line 5, just out of interest when you set up the mysql details did you put your password that you made into the config file?
     
    glendowney, Sep 4, 2008 IP
  7. alunsina

    alunsina Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    (just an aside, you can download pspad (free and very useful) so you dont have to use notepad. it also has automatic line numberiong. )

    :)
     
    alunsina, Sep 4, 2008 IP
  8. godsofchaos

    godsofchaos Peon

    Messages:
    2,595
    Likes Received:
    124
    Best Answers:
    0
    Trophy Points:
    0
    #8
    It seems that you deleted some codes from line 5, open up the config sample and just edit the part where it says "your database password here" and nothing else by putting your db pass there. Hope this solves it right away.
     
    godsofchaos, Sep 4, 2008 IP
  9. faiths13

    faiths13 Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    i downloaded wamp and i didnt put a password in per instructions from a video on how to download.

    i dont have a password to put in there....what do i do?
     
    faiths13, Sep 4, 2008 IP
  10. glendowney

    glendowney Notable Member

    Messages:
    5,925
    Likes Received:
    198
    Best Answers:
    0
    Trophy Points:
    210
    #10
    Did you set up a mysql db?
     
    glendowney, Sep 4, 2008 IP
  11. faiths13

    faiths13 Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    i just set up my wampserver db - ok i think i figured out that problem and now i have a new error code!

    Parse error: syntax error, unexpected $end in C:\wamp\www\wordpress\wp-config.php on line 32

    there arent 32 lines...
     
    faiths13, Sep 4, 2008 IP
  12. faiths13

    faiths13 Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    i might be able to figure out the prob if i could figure out what line 32 is. i counted only 31 including the spaces. am i missing something?
     
    faiths13, Sep 5, 2008 IP
  13. glendowney

    glendowney Notable Member

    Messages:
    5,925
    Likes Received:
    198
    Best Answers:
    0
    Trophy Points:
    210
    #13
    You got msn? if you have got it then add me, i'll see if I can help you out.
     
    glendowney, Sep 5, 2008 IP