• Resolved Revels888

    (@revels888)


    Hey,

    Tried to add a bit of code to the functions.php file and when I pressed update, I got a white page. Now that’s the same on everypage. Can’t get to the dashboard or anything.

    I’ve searched and searched and although this seems to happen quite a lot, I’ve tried everything that’s been suggested and I can’t get it working again.

    https://www.new-reviews.co.uk is the site. Any help would be greatly appreciated. I’m tearing my hair out!

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

    (@revels888)

    Okay, some progress.

    I’ve managed to get back into the dashboard but the rest of the site is still blank. All plugins are disabled and I am back using the twentyten default theme.

    I’m having the same problem, all I did was accidentally change the wordpress URL and now nothing works, not even the admin console.

    Picture 1

    Picture 2

    I’m just going to uninstall wordpress from my Cpanel and reinstall it and completely start over.

    @revels888: Start by removing or commenting out the bit of code you added to functions.php. You probably missed some critical bit – a semicolon, a curly bracket, etc, and ended up with non-functional php code.

    Basic troubleshooting rule: If you change something and suddenly everything breaks, go back and undo your change. If it starts working again then there was something wrong in the change you made.

    Thread Starter Revels888

    (@revels888)

    Thanks, Bill. I got a basic functions.php back again without whatever error I managed to add to it and it’s still not working again.

    Thread Starter Revels888

    (@revels888)

    I’ve wiped everything, started again with a fresh install and it’s still doing the same thing.

    What can it possibly be?

    Thread Starter Revels888

    (@revels888)

    I get this if you view source on the homepage..

    <?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');
    ?>
    Thread Starter Revels888

    (@revels888)

    I think there was something dodgy in the index file. No idea really. But I removed it, reinstalled wordpress (again) and it’s working.

    Thanks for your help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Every page is blank/white’ is closed to new replies.