WordPress.org

Ready to get started?Download WordPress

Forums

How Can I Change Themes Manually? (6 posts)

  1. goldguru
    Member
    Posted 7 years ago #

    I set up my wordpress site on the Tiga template and wanted to see what it would look like with the Kubrick template. Within WP Admin, I changed the theme to Kubrick and immediately received this error:

    Parse error: syntax error, unexpected '}' in /home/.leila/goldguru/goldstockbull.com/wp-content/themes/default/functions.php on line 402

    I can no longer acess my admin page http://www.goldstockbull.com/wp-admin/
    in order to change back to the Tiga theme because the above error is displayed.

    How can I revert back to my Tiga theme and get my site working again?

  2. moshu
    Member
    Posted 7 years ago #

    I'd try to upload a fresh copy of the default theme files.

  3. goldguru
    Member
    Posted 7 years ago #

    sorry, but i am a bit new to this. where can i find the default theme files? i did one-click intall through my host, so am not familiar with where to get the default theme files. are you talking about the kubrick theme files, v 0.9.1?

    your help is greatly appreciated.

  4. moshu
    Member
    Posted 7 years ago #

    Ah, those on-click things...
    Hopefully, they distribute the latest.

    On the top of this page see > Download. Unzip the package and under wp-content/theme/default you should find the famous K.

    Upload the files via FTP to your server to replace the existing (most likely, corrupted) files.

    If this is too complicated and your blog is still empty, you may try a delete - > re-install.

  5. goldguru
    Member
    Posted 7 years ago #

    Success! Thanks for the help moshu. To prevent issues in the future, do I need to backup my database? Any other preventitive measures that you recommend so that I never lose my site. That was scary.

    Thanks again!

  6. moshu
    Member
    Posted 7 years ago #

    Regularly backing up your database is always a wise thing.
    (read the first post in this thread: http://wordpress.org/support/topic/85514 - to learn!)
    All your content (posts, Pages, comments, settings) are stored in the DB. That's why a backup of the DB is crucial.
    If you have a customized theme, you should keep a copy on your computer, too; though I don't see any reason to back it up weekly since it doesn't change.

    And a small clarification: having a backup will NOT prevent issues like a corrupted file. Files get corrupted during download, unzip, upload etc. That's the nature of the beast :) But files always can be replaced unlike the content which if it's lost - it's gone.

Topic Closed

This topic has been closed to new replies.

About this Topic