WordPress.org

Ready to get started?Download WordPress

Forums

Parse error has locked me out (10 posts)

  1. debra m
    Member
    Posted 2 years ago #

    Hi I tried to change the number of post showing on my front page (www.velocitywa.com.au)by typing !important in front of the new number (beause I'd read that was the way to do it) and got this error:
    Parse error: syntax error, unexpected T_LNUMBER in /home/velocity/public_html/wp-content/themes/suburbia/functions.php on line 52

    and now I can't log in, get to thedashboard or see the site at all. Has anyone got any suggestions about how to fix this? Have I just killed my site :(
    tks
    deb

  2. Charles Frees-Melvin
    Member
    Posted 2 years ago #

    If you can get FTP access, edit the file or rename the theme directory.

  3. debra m
    Member
    Posted 2 years ago #

    Thanks Charles, this is probably a really stupid question but where would I get FTP access? I can't get to my usual log in
    tks
    deb

  4. Charles Frees-Melvin
    Member
    Posted 2 years ago #

    If you have a control panel from you hosting, or your host would provide it for you, It is probably http://ftp.velocitywa.com.au with you hosting username and password.

  5. Charles Frees-Melvin
    Member
    Posted 2 years ago #

    without the http://

  6. debra m
    Member
    Posted 2 years ago #

    OK, thanks I'll give that a go, thanks again!

  7. debra m
    Member
    Posted 2 years ago #

    no luck, I can't get into the ftp server either, it keeps saying there's no internet connection, but I can access other sites.

  8. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Please do not use a browser for ftp access to your sites! Use an FTP client!

  9. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    you need to use an FTP client app. If you don't have one installed, there are several to choose from. A popular free one is FileZilla which is available for windows, OSX & Linux.

    You need to find out your FTP hostname (or IP address), FTP user name & password. Ask your hosting company about these if you are unsure.

    !important is CSS syntax. you seem to have used it in PHP which is why it caused the problem. If you are unsure about the difference, you can pick up a lot of knowledge at http://www.w3schools.com/

  10. debra m
    Member
    Posted 2 years ago #

    Ah, thank you. This is a very steep learning curve. I have installed Filezilla and am now trying to get access sorted becasue the password I was using doesn't seem to be working.
    Thanks cubecolour for that link. I have been using a teach yourself HTML book but I'm struggling.
    thanks for all your help though, it is comforting knowing there is so much knowledge out there!

Topic Closed

This topic has been closed to new replies.

About this Topic