WordPress.org

Forums

Broken my theme/site. Need help! (8 posts)

  1. twamoran
    Member
    Posted 6 years ago #

    Hi,

    First of all this is totally my fault! I was trying to add some code into the sidebars.php of my theme (Carrington-blog) and when I hit refresh it came back with this error message:

    Parse error: syntax error, unexpected T_STRING in /home/twamoran/urbanghosts.com/wp-content/themes/carrington-blog/functions/sidebars.php on line 30

    All I'd done was hit return three times to create three blank lines then pasted the code in for the ad in. When it didn't work, I took it out and returned it to how it was before (or so I thought!). That's when the error message (above) came up. I checked out Line 30 and couldn't see a problem. But now I can't get into the site at all, or even the dashboard. So its pretty much screwed!

    I know I should have copied the code before I made changes and have learnt the hard way. Is there anything I can do to fix this? I'd really appreciate any help whatsoever...

    Cheers,

    Tom

  2. Peter Boosten
    Member
    Posted 6 years ago #

    According to google you embedded some quotes, breaking strings.

    Something like this:

    "this is "the text"
             ^

    Peter

  3. twamoran
    Member
    Posted 6 years ago #

    Thanks Peter. What can I do to correct this, since I can't even log into the dashboard as a result?

  4. Peter Boosten
    Member
    Posted 6 years ago #

    ftp?

    Peter

  5. Peter Boosten
    Member
    Posted 6 years ago #

    btw, it could also be that you removed a semicolon (also according to Google)

    Peter

  6. twamoran
    Member
    Posted 6 years ago #

    Sorry mate, I'm pretty new to all this so really don't know much about the technicalities of it. I have Core FTP which I've used for a previous blog, but that was with an earlier version. With my latest blog done through WordPress 2.8, I've not used the ftp at all. I've downloaded the themes and plugins straight from the dashboard...

  7. Peter Boosten
    Member
    Posted 6 years ago #

    but how did you get wordpress on the site in first place?

    Peter

  8. twamoran
    Member
    Posted 6 years ago #

    I just signed up with Dreamhost and then did a one-click install of WordPress. After that I activated the theme from the default options in the dashboard.

    I actually just got an email from Dreamhost and they've managed to sort it so panic over!

    Thanks a lot for helping out, Peter. I'll probably be back on this help forum before long!

    Cheers,

    Tom

Topic Closed

This topic has been closed to new replies.

About this Topic