1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HELP, my site is messed up

Discussion in 'Hire a Freelancer' started by software248, Mar 16, 2010.

  1. software248

    software248 Regular Member

    Joined:
    Feb 15, 2010
    Messages:
    286
    Likes Received:
    43
    I dont know what happened but if you go to my site you get this error.

    Parse error: syntax error, unexpected ')' in /home/hotdogow/public_html/smashdir.com/index.php on line 140

    I know this is really little to work with but i will pay you to fix this.

    Please pm me as i want a fix as fast as i can.

    Thanks
     
  2. tukim

    tukim Regular Member

    Joined:
    Sep 20, 2009
    Messages:
    254
    Likes Received:
    173
    Location:
    localhost
    Oh look it's the internet God again. Everyone bow down.

    OP I sent a PM, can be fixed in two seconds.
     
    • Thanks Thanks x 2
  3. blackmagicmaster

    blackmagicmaster BANNED BANNED

    Joined:
    Dec 11, 2008
    Messages:
    587
    Likes Received:
    932
    open file with text editor and look the line 140 and remove ')' or try to remove ' and keep ) or try to remove all this thats it !! try to download a php editor so this way u can see syntex error !! its easy !!
     
  4. software248

    software248 Regular Member

    Joined:
    Feb 15, 2010
    Messages:
    286
    Likes Received:
    43
    Sorry but i'm 18 and frankly i don't have the time for lessons..yeah i understand i have loooonnnggg ways to go.

    Thanks, ill get better in that kinds of stuff tho...
     
  5. tukim

    tukim Regular Member

    Joined:
    Sep 20, 2009
    Messages:
    254
    Likes Received:
    173
    Location:
    localhost
    If anyone else may run into this issue, it was simply a missing ";" after an array. Then it couldn't Fetch because there wasn't a user assigned to the database. So if someone else runs into a similar issue, make sure you have set up a user for the database you want to connect to.
     
  6. bannedfree

    bannedfree Regular Member

    Joined:
    Jan 31, 2010
    Messages:
    444
    Likes Received:
    43
    Occupation:
    World Wide Web Worker
    Location:
    near an active volcano
    download phpeditor then go to line 140 of the code. See if there is a missing command there between line 137 to 142. Usually syntax error are mis spelled commands or missing ";" or some an declared values. Kindly check. Good luck.
     
  7. tukim

    tukim Regular Member

    Joined:
    Sep 20, 2009
    Messages:
    254
    Likes Received:
    173
    Location:
    localhost
    It was already resolved, if you read above.