• hi,

    It’s been awhile since I needed help with my WordPress sites. Up until 4.6 when it rendered my /wp-admin/index.php pages blank – on all sites.

    I don’t use FTP to update, I do it manually using a fresh /wordpress/ directory and just copy over wp-config.php and .htaccess over

    I can login fine because I can edit any page/post with no issues.. I don’t use plugins or 3rd party themes. I’m using an unmodified stock theme (2016).

    Hosting Platform:

    PHP 5.6.24
    Apache 2.4.x
    mySQL 5.5.50

    Please advise, much appreciated.

    Thank you,

    Steve

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi, @scaturan. A blank screen is typically an indication of an underlying PHP error, so try setting WP_DEBUG to TRUE in your wp-config.php file, then reload the front page of your site to see what (if any) error shows up.

    Alternatively, you can check your server’s error logs to see what’s being reported there.

    If you do find an error message, and aren’t sure what it means, you can post it here and we’ll try to help you figure that out.

    Thread Starter scaturan

    (@scaturan)

    hi,

    I already did those two bits already before I started the post.

    Apache renders a 200 response (no 500s or 404s). And the site functions fine from the web browser, except for /wp-admin/index.php – all other areas/sections like pages.php or edit.php work fine.

    There was definitely a change made to the Dashboard code. I’m not sure where.

    Please advise, thank you.

    Thread Starter scaturan

    (@scaturan)

    I also just noticed that “Save Changes” under Settings > General is no longer visible, except for all others (reading, permalinks, discussion, etc..) where it appears normally.

    I can login fine because I can edit any page/post with no issues.

    How do you do this with a blank /wp-admin/index.php?

    Download WordPress again and replace your copies of everything EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies. This should replace your core files without changing your content and settings in wp-config.php file and the /wp-content/ directory.

    Thread Starter scaturan

    (@scaturan)

    I already did that, I’ve done this many times from previous versions. But 4.6 isn’t behaving properly. ??

    Once I login, it redirects me to a blank /wp-admin/index.php BUT I can open /wp-admin/edit.php

    The missing “Save Changes” on Settings General looks like a bug. Will create a separate topic for it.

    Thank you,

    Thread Starter scaturan

    (@scaturan)

    alright, looks like I found something:

    after removing this line from /wp-admin/index.php – Dashboard no longer renders a blank page:
    wp_dashboard_setup();

    I tested this on a fresh install of 4.6 and another site upgraded from 4.5.x

    @scaturan I have the same problem! Like you do the things, I removed the wp_dashboard_setup() from /wp-admin/index.php file. Then I can see the page, but no dashboard ??

    My version of 4.6.1

    Thread Starter scaturan

    (@scaturan)

    @skiron:

    Thank you for sharing that you’re able to reproduce this bug.

    I filed a bug report more than a week ago – https://core.trac.www.ads-software.com/ticket/38014

    It was closed by a developer because it was invalid. I hope they look into it.

    @scaturan:

    I don’t know why it suddenly become to “normal”.

    My host is virtual host! So I can restore to some point before. Then I restore to 4.5.3. Then manually update to 4.6.1. At this time, the /wp-admin/index.php still “normal”. But when I restored the database, the page renders blank.

    So i think the problem at the database. Then I twice restore to 4.5.3! When I restored to 4.5.3 I have remembered I had done not backup one article yet. So I restore to 4.6.1 using virtual tools. When this time, I can not access my page. Show me “can’t establish to database”. Then I restart the Mysqld. Then the /wp-admin/index.php page is OK!

    I don’t why! just wish this can help to you!

    Thread Starter scaturan

    (@scaturan)

    Yeah, in my case, it’s not the database because a fresh install of 4.6 behaves the same way where a fresh 4.5.6 install works perfectly without issues, at least for all my WP instances. I don’t use plugins, or 3rd party themes – I only use whatever the base install provides.

    I don’t need the dashboard, or language features so they’re not important to me. I just don’t want to modify php files every time I upgrade. That’s all.

    I’ve been using WordPress since 1.2 but this is actually the first time I’ve had to remove two very specific lines to make things work normally.

    Thank you for sharing your experience, much appreciated!

    Hello,

    I have the same problem as described by scaturan. Installed a fresh WordPress 4.6.1 DE including new database.

    Request to /wp-admin/index.php is displayed as blank page. But when I remove the function call wp_dashboard_setup(); (/wp-admin/includes/dashboard.php) then admin content is rendered.

    So the problem can be reproduced.

    I am using WordPress on FreeBSD 10 with NGinX v1.10.1 and PHP v5.6.24

    • This reply was modified 8 years, 4 months ago by Uwe.

    Updated the PHP version to 5.6.27 without any effect -> Problem still exist

    Then, I’ve changed to PHP7 with new database and WordPress 4.6.1 DE -> With that I am now able to access full WP functionality.

    Following PHP extensions are installed under FreeBSD 10 using NGinX v1.10.2:

    php70-7.0.12                   PHP Scripting Language
    php70-ctype-7.0.12             The ctype shared extension for php
    php70-dom-7.0.12               The dom shared extension for php
    php70-extensions-1.1           "meta-port" to install PHP extensions
    php70-filter-7.0.12            The filter shared extension for php
    php70-hash-7.0.12              The hash shared extension for php
    php70-iconv-7.0.12             The iconv shared extension for php
    php70-json-7.0.12              The json shared extension for php
    php70-mysqli-7.0.12            The mysqli shared extension for php
    php70-opcache-7.0.12           The opcache shared extension for php
    php70-pdo-7.0.12               The pdo shared extension for php
    php70-pdo_sqlite-7.0.12        The pdo_sqlite shared extension for php
    php70-phar-7.0.12              The phar shared extension for php
    php70-posix-7.0.12             The posix shared extension for php
    php70-session-7.0.12           The session shared extension for php
    php70-simplexml-7.0.12         The simplexml shared extension for php
    php70-sqlite3-7.0.12           The sqlite3 shared extension for php
    php70-tokenizer-7.0.12         The tokenizer shared extension for php
    php70-xml-7.0.12               The xml shared extension for php
    php70-xmlreader-7.0.12         The xmlreader shared extension for php
    php70-xmlwriter-7.0.12         The xmlwriter shared extension for php
    php70-zip-7.0.12               The zip shared extension for php
    php70-zlib-7.0.12              The zlib shared extension for php

    Maybe this helps someone.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘blank /wp-admin/index.php’ is closed to new replies.