• Resolved eldimentio

    (@eldimentio)


    The (custom) active theme for our website was being edited by a student and he inserted a piece of code into the file called core-functions.php which prevents anyone from accessing any file from the website!

    What do I do? I tried emptying the template and stylesheet values from phpmyadmin, nothing. I can’t find the theme when I go to the FTP server. I can’t find a core-functions.php file on the FTP server. Please I am in hot water, what should I do??

Viewing 2 replies - 1 through 2 (of 2 total)
  • catacaustic

    (@catacaustic)

    If that’s the file that the student had edited, then it must be on the server. Files just don’t dissapear like that – unless someone’s gone in and deleted it. If you can’t find that file, or the theme, double-check the FTP deails, and triple-check where you actually are on the server. I know that I’ve had times when I’ve logged inot the wrong account and wondered why things wren’t were they were supposed to be. If you are 100% sure that this is the correct place and the themes file asren’t there, that means that someone has deleted them. You may be able to find out who if the servers logs are recording those actions.

    This is one of those times when I want to tell you to restore a back up from the last-known working state… but I have a feeling that you don’t have any backups there?

    Thread Starter eldimentio

    (@eldimentio)

    Thank you, the problem has been solved. I was supplied with the wrong FTP account by my coworker and the files I was looking at where for a test site we had installed way back.

    I was able to find the file that was edited and fix it promptly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Student broke core-functions from main theme’ is closed to new replies.