index.php – freaking out here!
-
I was advised just now by someone attempting to visit my blog that they couldn’t get on and it had some weird stuff on the page where my blog should be, so I checked it out and found this:
Parse error: syntax error, unexpected ‘?’ in /home/sarahk/public_html/index.php on line 5
I looked into the index.php file in my root directory and found a reference to an iframe and an unfamiliar url that was in no way related to my site which obviously gave me great concerns about malicious software. I replaced the index.php file with the one I had backed up on my hard drive which contained only the following:
<?php /* Short and sweet */ define('WP_USE_THEMES', true); require('./wp-blog-header.php'); ?>
Then when I refreshed my blog I got the following:
Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/sarahk/public_html/index.php on line 4
Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/sarahk/public_html/index.php on line 4
Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/sarahk/public_html/index.php on line 4
Can anybody PLEASE help this freakin’ out blogger?!
Hugest thanks in advance…
- The topic ‘index.php – freaking out here!’ is closed to new replies.