• nauroo

    (@nauroo)


    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?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Justin

    (@jgwpk)

    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.

    WPyogi

    (@wpyogi)

    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.

    Thread Starter nauroo

    (@nauroo)

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

    Justin

    (@jgwpk)

    You stated you changed it.

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

    Thread Starter nauroo

    (@nauroo)

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

    Justin

    (@jgwpk)

    You’ll need to use FTP

    Justin

    (@jgwpk)

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

    Thread Starter nauroo

    (@nauroo)

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

    Justin

    (@jgwpk)

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

    WPyogi

    (@wpyogi)

    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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Please help with crashed site!’ is closed to new replies.