WordPress.org

Ready to get started?Download WordPress

Forums

Please help with crashed site! (11 posts)

  1. nauroo
    Member
    Posted 1 year ago #

    Hello! Please, help me fast. I was changing the code in functions.php (I know i shouldn't). I can't go in my page http://www.tervetesnakotnei.lv and in admin panel too. It shows : Parse error: syntax error, unexpected T_STRING in /home/tervetes/public_html/wp-content/themes/twentyten/functions.php on line 475

    Please, tell me, what should i do?

  2. Justin
    Member
    Posted 1 year ago #

    Copy the origanal code from the twentyten theme and paste it into your functions.php file. Do not do this if your functions file is customize.

    You can also use PasteBin and let us see what your function file looks like. We can help you out that way as well.

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You'll need to use FTP to deactivate that theme - see:
    http://codex.wordpress.org/Login_Trouble

    Then download a new copy of the theme to your computer and again, using FTP replace the functions.php file you messed up with a new copy.

  4. nauroo
    Member
    Posted 1 year ago #

    Where can i find the functions.php file and how can i change it?

  5. Justin
    Member
    Posted 1 year ago #

    You stated you changed it.

    The error you got was in the file
    /public_html/wp-content/themes/twentyten/functions.php

  6. nauroo
    Member
    Posted 1 year ago #

    Yes, but i can't access it through the wp-admin... it shows the error too

  7. Justin
    Member
    Posted 1 year ago #

    You'll need to use FTP

  8. Justin
    Member
    Posted 1 year ago #

    Refer to http://codex.wordpress.org/FTP_Clients for FTP clients

  9. nauroo
    Member
    Posted 1 year ago #

    when i try to log into ftp://http://www.tervetesnakotnei.lv/wp-admin/
    it shows an authentication error.

  10. Justin
    Member
    Posted 1 year ago #

    Please refer to to hosts documentation for how-to FTP into your site

  11. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Yes, you need to use FTP access - that's not the same as logging in. You need to ask your hosting company how to set up the FTP for your site. We cannot help you with that part of it - it's just a way to access files on a server.

Topic Closed

This topic has been closed to new replies.

About this Topic