Recently installed themes not available in /wp-admin/themes.php
-
I’m preparing to cower in shame as I realize I have forgotten something atrociously obvious, but for now I’m stuck and out of ideas…
This is not a Multisite setup, but an install from the Debian package (WordPress 3.5.2 in Debian Wheezy). With this type of setup, users spawn a WordPress instance by dropping their wp-config in /etc/wordpress and specifying /usr/share/wordpress as DocumentRoot for the vhost. They all share themes and plugins – the distribution takes care of updating WordPress… The only limitation is that we don’t allow updating themes and templates from the Web interface, but we consider that a feature, not a bug. This is not the native WordPress way, but it has served use well on this host since 2004… Which makes the current problem even more vexing.
After purchase, I downloaded boldr-pro.1.2.0.zip to /usr/share/wordpress/wp-content/themes – then:
unzip boldr-pro.1.2.0.zip
chown -R jim:www-data boldr-pro.1.2.0
find boldr-pro.1.2.0 -type d | xargs chmod 755
find boldr-pro.1.2.0 -type f | xargs chmod 654
mv boldr-pro.1.2.0 boldr
The usual…But at /wp-admin/themes.php the theme does not appear in the list of the available ones. This is especially strange since /wp-content/themes/boldr/style.css or any other of the theme’s files are available from the DocumentRoot of any of the WordPress instances on that host. No plugins are active.
Two separate admins have reproduced the problem with two other randomly chosen themes among the popular ones on www.ads-software.com (Cazuela and Responsive) – so the problem higly unlikely related to packaging or unpackaging. I have checked that the resulting files do not contain artefacts such as DOS CR/LF. There are 41 themes in /usr/share/wordpress/wp-content/themes used by about half that number of instances – the only themes not available in /wp-admin/themes.php are the newly installed ones (boldr, cazuela and responsive)… This has been retried several times.
Other symptoms:
– Changing metadata in style.css in a theme that is recognized is well taken into account in /wp-admin/themes.php
– No errors are logged by Apache when loading /wp-admin/themes.php
– When activating define(‘WP_DEBUG’, true); in wp-config, no error message related to themes is seen in /wp-admin/themes.php
– Copying a theme successfuly used by one of the instances and changing its style.css metadata to avoid conflict, the theme is not detected (just like a newly installed one)
– When moving a theme successfuly used by one of the instances out of /usr/share/wordpress/ the theme is no longer available. Moving it back in place, it is correctly detected and available.
– ‘find . -name style.css | xargs head -n 2 | grep “Theme\ Name” | grep BoldR | wc -l’ returns ‘1’ so there is no name conflict.We recently upgraded the host to Debian Wheezy and we suspect this may be related, but that may just be a coincidence.
Is there something that escaped me in the sleep-deprived haze of the recent opening of my wife’s brick’n’mortar shop ? Some other users in other places seem to have encountered situations ressembling this problem, but it does not look like a FAQ… Three of us old farts here are left puzzled.
I’ll try anything you suggest… I have the wife on my back !
- The topic ‘Recently installed themes not available in /wp-admin/themes.php’ is closed to new replies.