Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Parse Error Help Please

    While altering the template for my website, I wrongly entered a line. Now, my site will only show this message:

    Parse error: syntax error, unexpected ':' in /home/theultra/public_html/wp-content/themes/minimalism 1.0.2/functions.php on line 16

    How do I return to my site and the template to fix this problem? Visiting my Wordpress account, my site, and my hosting site all just lead straight to this message. What should I do?

    (Sorry, I'm new at this)

  • #2
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    Well post your code for a start Where did you change? if you download the minimalism theme again and look in the functions.php file you should be able to get it to work
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)

  • #3
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    You were editing the template through the control panel in wordpress?

    You can fix the problem by downloading that file off your server, fixing the syntax error and reuploading the edited version of the file.
    OracleGuy

  • #4
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm not even able to return to the place where you upload the template though. No matter what I try, that message is all that I'm allowed to see. Even if I download the template again and fix it there, how do I get around that parse error and reupload the edited file?

  • #5
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    remove all the content from that function file, save it and re-upload it. It might give you an error but it should work ok. Post the contents of it here first if you like and we should be able to fix it
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)

  • #6
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok thank you.
    I'll try it and let you know if I need more help.


  •  

    Posting Permissions

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