My Website is Gone!!

Discussion in 'Themia WordPress Theme' started by atlanticmarketing, Feb 11, 2013.

  1. atlanticmarketing

    atlanticmarketing New Member

    Joined:
    Jan 31, 2013
    Messages:
    5
    Likes Received:
    0
    Someone please help me ASAP. I posted this code:
    define('WP_TEMP_DIR','/tmp'); onto the wrong file and now my entire website shows up as this!!
    Parse error: syntax error, unexpected '(', expecting '&' or T_VARIABLE in C:\Inetpub\vhosts\atlanticmkt.com\httpdocs\wordpress\wp-content\themes\themiatheme\functions\theme-options.php on line 6

    I can't login to change the CMS or anything. I don't know what to do and I can't work on my website now. Please someone help.
     
  2. erjdavis

    erjdavis Member

    Joined:
    Dec 17, 2012
    Messages:
    47
    Likes Received:
    1
    Location:
    Philadelphia, PA
    Login via an FTP client, navigate to the file you added that line to and remove it. Then save the changes and overwrite the previous file.

    Hope that helps!
     
  3. Harmeet

    Harmeet Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    360
    Likes Received:
    15
    Hello,

    Open the theme using your FTP details and then remove that code which you have entered or you can replace the file by downloading the fresh copy of theme from members area. It will solve your problem and your website will come again.
     

Share This Page