Craig, Thanks for looking into this.
I had the impression from reading the README.Debian that the setup-mysql script was optional (as long as you took similar steps to do the setup yourself). For instance, the README.Debian uses the word "beware" when saying it will put the wp-content in /srv/www. I had set up the DB by using the instructions in the later part of the readme. The package itself installs into /var/lib/wordpress, and I left it there. So, taking your advice, I wiped out my wordpress DB and config, and re-did it using the setup-mysql script. I moved the business-pro theme from /var/lib/wordpress/wp-content/themes to /srv/www/wp-content/themes. The new theme still does not show up. The theme is now at (two paths shown so you can see where it is installed): /srv/www/wp-content/themes/business-pro /srv/www/wp-content/themes/business-pro/index.php And the admin still does not see the new theme, although I can visit the new blog in the browser. It is a development blog, I don't mind doing things like blowing it away and running experiments. That's also why I'm a little cavalier about things like putting in soft links and allowing apache to follow them. This is not for production. So now when I change the link from /usr/share/wordpress/wp-content/themes to point to /srv/www/wp-content/themes/business-pro, the theme does NOT show up. I can get the contents of the business-pro directory when I do a directory listing of /usr/share/wordpress/wp-content/themes/business-pro, so the link is correctly made. Also: bjb@rhino:/usr/share/wordpress/wp-content/themes/business-pro$ ls -la /usr/share/wordpress/wp-content/themes total 20 drwxr-xr-x 4 root root 4096 Aug 23 12:01 . drwxr-xr-x 5 root root 4096 Aug 21 16:24 .. lrwxrwxrwx 1 root root 40 Aug 23 12:01 business-pro -> /srv/www/wp-content/themes/business-pro/ -rw-r--r-- 1 root root 30 Apr 15 2009 index.php drwxr-xr-x 8 root root 4096 Aug 21 16:24 twentythirteen drwxr-xr-x 7 root root 4096 Aug 21 16:24 twentytwelve So it is a link and not a copy of the directory. Hmm. In this new scenario, I added a link from /var/www/wordpress/wp-content/themes/business-pro to /srv/www/wp-content/themes/business-pro, and a refresh of the wp-admin -> appearance -> themes page now shows the theme. After looking at the code related to getting a list of themes in the admin, (finding function get_themes (in wp-includes/deprecated.php), function wp_get_themes (in wp-includes/theme.php), global $wp_theme_directories (in wp-includes/theme.php), etc) I'm not much further ahead, as I don't know php and I have run out of time to look into it. It looked like maybe it should work properly, so I removed the link from /var/lib/wordpress/wp-content/themes/business-pro to /srv/www area, and refreshed the page, and the business-pro theme disappeared again. Let me know if there is a specific thing you'd like me to do. I'm ok with making changes to the code and trying it out, you just have to tell me what to do as I don't know php. Thanks again for looking into this. bjb > On Thu, Aug 21, 2014 at 07:16:32PM -0400, Brenda J. Butler wrote: >> /var/lib/wordpress/wp-content/themes/business-pro/ >> /var/lib/wordpress/wp-content/themes/business-pro/index.php > Did you use the setup-mysql script or config it yourself? > Should be going into /srv/www/wp-content/example.com/themes > for the former, for the latter it depends on what you set > WP_CONTENT_DIR in the configuration file. > > What made you put them into that directory? > > - Craig > -- > Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au > Debian GNU/Linux http://www.debian.org/ csmall at : debian.org > GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org