• Resolved pamallen

    (@pamallen)


    Yesterday I was updating my site and I put a code in the wrong place and now can’t login to my site or wordpress to delete what I put in there! I’m so frustrated because a couple months ago I lost all my data on my site so I’m starting all over and just a couple new posts and now its all messed up again….I need to stop messing with it ??

    Can anyone let me know where to start and how to fix this warning:

    Parse error: parse error, unexpected ‘<‘ in /home/content/p/i/n/pinkmama/html/wp-content/themes/Tick_tack/functions.php on line 2

    Morethanbargains.com

    If I can just get into my dashboard I would be able to fix this but I CAN’T!

    Hope I can get some help.

    ~Pam Allen

Viewing 6 replies - 1 through 6 (of 6 total)
  • Looks like you need direct access to your files via FTP or some other method your host provides you. When you get this access go directly to the file you edited (which looks to be /home/content/p/i/n/pinkmama/html/wp-content/themes/Tick_tack/functions.php), and remove that edit.

    I wanted to bring this issue up to contributors that may see this.

    Are there any talks of maybe utilizing set_error_handler when including a theme’s functions.php file.

    Might alleviate a lot of these issues to maybe auto-deavtivate the problem theme?

    Thread Starter pamallen

    (@pamallen)

    I guess I’m just slow because I go to my FTP and have no idea HOW to get to that file. I even emailed GoDaddy and they said to contact WordPress so now I’m even more confused. Wish I never placed that code on the site now. I will try to look at the FTP files but I really don’t see it.

    ~Pam

    Thanks jimisaacs for you help

    I even emailed GoDaddy and they said to contact WordPress

    Wow, I really don’t know what to say to that… I hope we were more help than that kind of support ??

    In your file manager or ftp client, locate the directory where all of your wordpress files are, and then you will want to follow this path to the file:

    /wp-content/themes/Tick_tack/functions.php

    [edit]

    This is lines 1-5 of a fresh copy of the file for reference – including a blank line number two – which might be where your problem now resides.

    <?php
    
    //regster multiple sidebar
    if (function_exists('register_sidebar'))
    {
    Thread Starter pamallen

    (@pamallen)

    THANK YOU THANK YOU! You guys directed me to the correct place and I fixed it. WORDPRESS COMMUNITY ROCKS~!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t sign in or open site’ is closed to new replies.