Modifying files crash the site?

Discussion in 'Infoway WordPress Theme' started by acidbarrel, Aug 10, 2013.

  1. acidbarrel

    acidbarrel New Member

    Joined:
    Aug 6, 2013
    Messages:
    2
    Likes Received:
    0
    Hi!

    All works fine until I modify files and put them back to the server.

    For example, if I open theme-options.php (in folder wp-content/themes/infowaytheme/functions/) and change lines harmlessly (like just translate english words to finnish) and upload file back to server -> crash. (by crash I mean admin login page shows blank screen, items in page shows wrong, etc..)

    I think modifying (for example) this line is completely harmless:
    $captcha_option = array("on" => "On", "off" => "Off");

    to look like that: $captcha_option = array("on" => "Päällä", "off" => "Pois");

    Why I can't change files? What causes site crash?
     
  2. acidbarrel

    acidbarrel New Member

    Joined:
    Aug 6, 2013
    Messages:
    2
    Likes Received:
    0
    I tested more and yes, it did it again. Seems like touching files screws whole database somehow because it can't be fixed by replacing modified files with original ones..
     
  3. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,
    Please download the fresh copy of Infoway Theme from the members area (http://inkthemes.com/members/member)
    and, upload and activate it in your dashboard.

    Follow the link given below for reference.
    http://www.inkthemes.com/how-to-update-a-premium-theme-by-inkthemes/05/

    Always use child Theme for the modification in the .php file.

    See the link for reference
    http://www.inkthemes.com/httpwww-in...rdpress-a-way-to-save-themes-modification/02/

    Could you please specify the word or text that you want to change, with the help of screenshot images.
     

Share This Page