Phew!
“Fatal error: Call to undefined function wp() in /home/emila/public_html/wp-blog-header.php on line 14”
This is what happen when a person with no program editing experience tried to mess up with the wp-config file! I was trying to add some code to it and after uploading it back to the server, I got the error message! I was panicking and hurriedly e-mailed the web-hosting provider to get help restoring my blog. But then I remember today is Sunday and tomorrow is public holiday and realised that maybe they’ll only get back to me on Tuesday. So I tried to seek help from Bobby but then I think Bobby is at work, so I just gave-up and hope to restore my blog back on Tuesday. I told my husband about what has happened and he offered to check on my wp-config.php file. He told me that it was not working. Told him that I edited the file using the wordpad, well, I normally edited php files in the theme folder using wordpad so I thought it would be the same with wp-config. My husband edited back the wp-config using proper php editor. I uploaded it back to the server and VOILA! my blog reappeared! Yehaaw! Thank you so much dear, you’re my Superhero!!
I should’ve consulted with my husband the first place to save all the headaches trying to figure out how to restore my blog back. Just so you know I was trying to add below codes to cache my blog’s database.
// Enable the WordPress Object Cache:
define(ENABLE_CACHE, true);
Now that I have the php editor, I should try and add the codes properly but I wouldn’t want to do that now as I have yet to recover from the shock of seeing my blog gone in few seconds! My heart was beating so fast that I think a pulse oximeter would blow out on me, lol! Anyway, I’ve done few clean-ups to make this blog loads faster. I tried to use WP Super Cache but it has all sort of errors that I didn’t understand, so I deleted it and resolved to other methods. I’ve simplified the template’s style.css file (the less white space the better), deactivated and deleted unused plugins, compressed theme images and cut down on widgets.
I hope this blog loads a bit faster than before. Lemme know if it went slow on you…I might want to brave myself and have that second attempt of messing with the wp-config codes!
28 Comments
Mariuca
OMG! This is why I tak berani move to WP! Aiyo… I don understand la all this he he, good thing Zaim was around to save the day! Let’s see how fast this comment goes through now! 😀
Mariuca
Seems to load faster than the earlier Emila YAY! 😀
emila
That’s why la, Marzie! Panicking la myself!
emila
Yay!!
Mariuca
LOL! I can imagine! We always panic when something happens to our blogs kan? Especially me ha ha ha! Some more mine not even WP! 😀
T.H
hey emila, your hubby is a real hero.
T.H
I will be panic too if this happened to me. I dont even know how to change template 🙁 find help from other to do it.
T.H
agree with Mariuca, its faster now 🙂
T.H
Mariuca, you know WP is not as easy as you see. I am still new to them.
emila
He is! He is my savior in all aspect!
emila
Lol! I thought I messed up big time and even imagined that I would have to start my blog again from scratch! Lol, silly me!
emila
Yuu should read the tutorials from wordpress.org
restnrileks
great… now i can visit emila’s banyak kali dalam sehari sebab dah laju.. huhuhu
Jean Chia
omg, what an nightmare for a blogger! im so glad it’s back to normal now.
your blog loads alot faster now and it’s superbly refreshing with the blue template. Great job, emila! 🙂
but sometimes, when i click “submit” comment, it doesn’t work. I hv to refresh yr blog. ><
Jean Chia
TH, long ago, i tried to switch to WP but as soon as i try to install my widget on it, i decided not to make the switch. It seems WP doesn’t support most of the html. Meaning, it’s more complicated to install widgets. ><
That’s why i am a loyal blogger at blogspot. I can easily add & edit my html code. 🙂
emila
Jean, wordpress.com is different from wordpress.org. In wordpress.com, you can only put basic widgets. But if you get yourself a self-hosted wordpress blog, the experience is totally different. You get to control everything!
emila
Betul ke laju, Rizal? Yeaaaa!
emila
Thanks Jean! Really was a nightmare la! Ok, I will try and see what’s the problem with ‘submit’. Thanks for informing, Jean!
marvic
sounds like a nightmare to me too… luckly kak emi dapat restored everything back…
antown
saya pernah mengunjungi blog kak emila, mungkin saat itu sedang error. makanya beberapa hari ini saya absen gak main ksini.
untung udah bisa lagi. horeeee
antown
sepertinya susah sekali untuk belajar seperti ini ya kak
antown
semoga selamanya lebih cepat, amien
Jean Chia
oh, there’s a difference between .com & .org? i didn’t know at all, emila!! in that case, it sounds interesting lar! if i get self-hosted, then hv to pay yearly fees rite?
Jean Chia
Emila, now the submit thingy is ok oredi. I can load yr blog & mengomen very fast! thanks, woman! 🙂
T.H
antown you are top commentator now..
T.H
emila, sometime I read still dont get it. I will try read often.
T.H
good for you 🙂 I am always on my own. How nice if my hubby can help.
T.H
yeah everyone is happy