WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] After upgrade to WP3.4, no themes show up in Network themes page (4 posts)

  1. Haoxian
    Member
    Posted 2 years ago #

    Hello,

    After I manually upgrade my Multisite installation WordPress to WordPress 3.4, there are no themes show up on page of /wp-admin/network/themes.php

    Then I set up two new WordPress site with multisite and non-multisite installation respectively to do some tests, the problems are the same: no themes show up.

    But the sites DO have a theme assigned, which is the theme in use before I do the upgrade.

    Please give me some help! Thank you!

  2. Haoxian
    Member
    Posted 2 years ago #

    I had done a route trouble-shooting already, including:

    1. Disable all the plugins;
    2. Manually re-upgrade, even do the upgrade on a brand new wordpress installation;

    But all these are not the right ways.

    And here is an odd thing: I can install a new theme through the control panel or manually, but it doesn't show up on the theme-manage-page (/wp-admin/network/themes.php) after installation. And if I try to search and install this theme again, it shows that this theme is already installed.

    Please help!

  3. Haoxian
    Member
    Posted 2 years ago #

    Could anyone give me some advice on how to fix it?

    I use WordPress 3.3.2 to replace the in using 3.4, then visit the control panel, and the themes show up. But after upgrading it the WP 3.4, they are gone again.

    Are there something I can try?

  4. Haoxian
    Member
    Posted 2 years ago #

    I figured out the problem and solved it now.

    In short, if the function of scandir of PHP is disabled on the server, this problem occurs. Because the WP_Theme class introduced in WordPress 3.4 uses this function to detect all the themes available in /wp-content/themes/ folder.

    To fix it, edit php.ini file on your server and remove scandir from the line of disable_funcions = then reboot your system.

    Here is the detail: http://cnzhx.net/blog/solve-problem-of-no-themes-show-up-in-themes-page-of-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Topic