• Hi I am just trying to change the theme on my site and at the same time I′ve upgraded to 3.5 but now the front end just shows php code. The back end seems to work fine.

    I′ve tried all the obvious things of changing to twenty eleven theme and re-uploading wp-admin and wp-includes but no luck. There are also no plugins running. I′ve also uploaded a helloworld.php and that works fine so I′m assuming its not a server issue.

    Anyone got any ideas? the site is at https://www.yogaliferetreats.co.uk

    Thanks in advance.
    Tom

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter tombourdon

    (@tombourdon)

    Actually just re looked it′s not php thats showing its html

    Try:
    – switching to the Twenty Twelve theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    resetting the plugins folder by FTP or phpMyAdmin.

    – re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    – running the upgrade manually via wp-admin/upgrade.php

    Thread Starter tombourdon

    (@tombourdon)

    Cheers Esmi for getting back to me this is starting to do my head in.

    – I′ve just tried Twenty Twelve but get the same thing

    – I′ve tried deactivating and even deleting all plugins

    – I′ve also tried a manual upgrade, the first was the automated one, when that didn′t work I tried a manual one since then I have also tried downgrading but the gave me another error(Fatal error: Cannot redeclare class WP_Embed in /home/fhlinux198/y/yogaliferetreats.co.uk/user/htdocs/wp-includes/media.php on line 1040)

    https://www.yogaliferetreats.co.uk/wp-admin/upgrade.php just tells me no upgrade is required.

    So still no joy

    Judging by the second error, you have damaged core files. Try re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Thread Starter tombourdon

    (@tombourdon)

    So, I′ve done a fresh download of 3.4.2 and uploaded it. Logged into wp-admin, updated the db and I still have the same problem.

    Really can′t work this one out. It′s strange because looking at the code that is shown (on https://www.yogaliferetreats.co.uk/) there are several opening html tags missing that seem to be from the admin bar.

    At the moment there are no plugins only twenty ten and twenty eleven themes and a fresh copy of 3.4.2, but I get the same error with 3.5

    Totally stuck

    So, I′ve done a fresh download of 3.4.2 and uploaded it

    No – you cannot run 3.4 files with a 3.5 database. Try re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress 3.5. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Thread Starter tombourdon

    (@tombourdon)

    I have, twice.

    Then I tried downgrading to 3.4, once the 3.4 files are uploaded and you login it asks you to update the DB which it did. I thought this was the regonnised process for downgrading, it seemed to work as far as the back end goes. Just the front end was displaying the same error as with 3.5

    I′m re uploading 3.5, as suggested, and I′ll try again, but not hopeful it will fix it.

    Thread Starter tombourdon

    (@tombourdon)

    Thanks for your help but I′m still not getting anywhere with fresh uploads or reinstalls.

    I really dont know whats going on.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘What have I done ??!!!!! only displaying php’ is closed to new replies.