WordPress.org

Support

Support » How-To and Troubleshooting » My website displays php instead on html

My website displays php instead on html

  • Hi everyone,

    I don’t really know what happened but both front end and admin panel of my website displays php code I really don’t understand (http://i-care-project.com)

    Front end display the index.php content…
    wp-admin displays the following

    <?php
    /**
    * Dashboard Administration Panel
    *
    * @package WordPress
    * @subpackage Administration
    */

    /** Load WordPress Bootstrap */
    require_once(‘./admin.php’);

    /** Load WordPress dashboard API */
    require_once(ABSPATH . ‘wp-admin/includes/dashboard.php’);

    wp_dashboard_setup();

    etc… and it keeps on

    I have tried to overwrite (via FTP) the index.php file and changed file’s permissions but it didn’t change a thing.

    Does anyone know how to fix this issue or how to re-install WP safely (I don’t know how to back up my content and template settings).

    A thousand thanks for your help. I you can help me you’re better that Google which happened to be pretty ignorant on that matter!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    Did you resolve the issue? I can’t see any PHP.

    Hi Andrew,
    no. still not unfortunately.
    did you try this adress http://www.i-care-project.com/ (sorry I forgot to put the www)
    thanks for taking time to help me out

    Anyone ?!
    I have downloaded WP latest version and tried to manually replace (via my FTP client) the existing files with new ones (all files except wp-content). The wp-config is edited properly with my dtb information. I have also checked my database integrity using phpmyadmin and everything is still there. I just don’t know what to do next… HELP !

    thx…

    My tool reads “Content type is x-mapp-php5”

    Please don’t panic and talk to your host. They would be able to clean the mess.

    Hi Bottleneck,

    thx for the answer. I’ve just sent an email to my host but I doubt they can offer that kind of service. Nonetheless, they stand as pretty good hosting service using the latest standards. So PHP5 should not be the issue. I guess. If they find a solution I will let you know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘My website displays php instead on html’ is closed to new replies.
Skip to toolbar