• I am currently designing a website at https://coffswebdesign.com.au/tigers/ and I ran into an error when I was editing the functions.php file which for some reason I cannot rectify. I had a previous version of the file on my computer (1322 bytes) which I uploaded via FTP replacing the new error-prone version (1288 bytes), but as soon as I uploaded the old one it instantly changed to 1288 bytes which makes me think there’s something strange going on behind the scenes. Any reason why this is occurring?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    If something is actually changing your PHP files then you are hacked.

    But that may not be the case. Download via FTP and perform a diff on what you downloaded versus what you uploaded (use two different file names).

    On the PC look up WinDIFF or if you can get it Notepad++ used to have a diff add-on.

    On the Mac use the terminal app and just diff file1 file2.

    If they are not identical then something is going on and you may be hacked.

    using ftp rename astatinize to say astatinize_hold so default theme opens and delete the theme reinstall the theme.

    Thread Starter bh_01

    (@bh_01)

    Thanks guys, I’ve managed to solve the issue now. Once again thanks for helping out.

    You are welcome

    Thread Starter bh_01

    (@bh_01)

    One more thing regarding the website – I am trying to get a vertical pausing scroller to display just below the ‘Follow us on’ section in the header but it doesn’t seem to be working. I’ve tried a few things in the header.php file but none of them have worked out yet. I’d really appreciate if any of you could provide me with some assistance.

    Thread Starter bh_01

    (@bh_01)

    I’ve got it up there but the images just aren’t displaying properly. Any ideas?

    Thread Starter bh_01

    (@bh_01)

    Never mind. Problem fixed.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error with functions.php file’ is closed to new replies.