WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't sign in or open site (7 posts)

  1. PamAllen
    Member
    Posted 4 years ago #

    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

  2. jimisaacs
    Member
    Posted 4 years ago #

    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.

  3. jimisaacs
    Member
    Posted 4 years ago #

    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?

  4. PamAllen
    Member
    Posted 4 years ago #

    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

  5. jimisaacs
    Member
    Posted 4 years ago #

    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 ;)

  6. ClaytonJames
    Member
    Posted 4 years ago #

    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'))
    {
  7. PamAllen
    Member
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic