URGENT HELP PLEASE!

Posted in: Newspaper
Post count: 51

I’ve committed a serious mistake here.

I was adding a code in my functions.php, for the first few times I added the code correctly. But don’t what happened last time that now I’ve lost access to my site http://www.clearawayacne.com/wp-admin/theme-editor.php?file=functions.php&theme=Newspaper&scrollto=16621&updated=true

Please help me with all this. I’m VERY depressed!

Post count: 9544

You will need to upload new “clean” version of functions.php file via FTP to replace the bad version.

Post count: 51

The hell is that I don’t have cPanel in my hosting.

I’ve contacted my hosts. Don’t know when they’ll respond.

Is there any measure I can take in the meantime? Is it dangerous?

Post count: 555

I’ll advice you next time to use the “Code Snippets” plugin to add any thing to the functions.php it’s safer because if something go wrong you can go and delete it from ur admin panel easy…it’s good to do backups before editing any thing because when something go wrong you can go back to the old way…

Get it from here http://wordpress.org/plugins/code-snippets/

Post count: 555

Go in ur theme folder that you have on ur PC and upload the functions.php from there to overwrite the one you make a mess with…this will put every thing back to the normal way..

Post count: 51

Thanks Steven, I’ll be careful of that by now!

Post count: 6600

Hi,

Thanks Steven/Christopher!

@SheikhOvais
Sorry for the delay, have you managed to fix this? I have checked your site and looks fine now.
Please let me know!

Thanks

Post count: 51

Everything’s fine now Lucian. I first disabled the old file, and then uploaded the new one.

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.