WordPress.org

Forums

Spun
[resolved] royally screwed things up (11 posts)

  1. dlowry
    Member
    Posted 2 years ago #

    I just royally screwed things up trying to change some code (which I had no business doing) and now I can't log in. I have contacted my server and they changed something to give me a specific error message, but I have NO idea how to fix my problem. HELP?

    This is the error message

    Parse error: syntax error, unexpected '.' in /home/vg007web05/47/69/2016947/web/wp-content/themes/spun/functions.php on line 337

  2. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

    Can you reinstall the theme through FTP?

  3. dlowry
    Member
    Posted 2 years ago #

    I don't know how to do that. I need to stop messing with things I don't know about and stick to drop and drag stuff I guess. I do know that the theme is on my FTP directory, but I don't know how to upload it that way. Sorry, I'm probably your worst nightmare today.

  4. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Unfortunately, you will need to use FTP to regain access to your site. You really probably only need to replace the functions file. Do you have FTP access set up? If not, get that info from your hosts first. Then download a new copy of your theme to your local computer and then replace the functions file with the new copy.

  5. dlowry
    Member
    Posted 2 years ago #

    I have a copy of the theme on my computer, but I don't know how to replace the functions file. Did I mention that I can't log in to my wordpress site?

  6. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Yes, and that's why we said you need to use FTP - here's some info about it - http://codex.wordpress.org/FTP_Clients

    You'll need to get the access info from your hosting company.

    You could also use another file manager system that your host uses - if there is one.

    The functions file will be located in:

    wordpress
       wp-content
          themes
             other themes
             spun
                 functions.php

    I know this seems a bit daunting, but it's really doable. Just take it one step at a time :).

  7. dlowry
    Member
    Posted 2 years ago #

    I have access to my ftp manager. Should I delete the functions.php from there and then upload the previous saved version from my computer to replace it?

  8. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Yep, that should work.

  9. dlowry
    Member
    Posted 2 years ago #

    keep your fingers crossed

  10. dlowry
    Member
    Posted 2 years ago #

    IT WORKED!!!! Thank you thank you thank you

  11. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Awesome!! Good job! (And now you know how to do that too :) )!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.