Strange issue when activating a Wordpress theme
Wondering if someone could help me out with this.
A client on one of my nodes has installed a new theme within Wordpress which is generating the following errors in apaches error log (and subsequently a broken theme):
> [Wed Aug 01 23:01:20 2012] [error] [client IP] SoftException in Application.cpp:564: Directory
"/home/user/domains/domain.com/public_html/wp-content/themes" is writeable by group, referer:
http://www.domain.com/page [Wed Aug 01 23:01:20 2012] [error] [client IP] Premature end of script headers: user.php, referer:
http://www.domain.com/page [Wed Aug 01 23:01:54 2012] [error] [client IP] SoftException in Application.cpp:564: Directory
"/home/user/domains/domain.com/public_html/wp-content/themes" is writeable by group, referer:
http://www.domain.com/ [Wed Aug 01 23:01:54 2012] [error] [client IP] Premature end of script headers: user.php, referer:
http://www.domain.com/ [Wed Aug 01 23:10:14 2012] [error] [client IP] SoftException in Application.cpp:564: Directory "/home/user/domains/domain.com/public_html/wp-content/plugins" is writeable by group
[Wed Aug 01 23:10:14 2012] [error] [client IP] Premature end of script headers: media-rss.php
These errors only appear when this particular theme is activated. I appreciate it suggests a permissions issue, but changing the permissions (777/755 etc.) has had no effect.
As I say, it is just this particular theme - All other themes they use (all 12) don't cause any errors like this and work fine - Which is strange.
The developer of the theme has just bounced the issue back so pretty stuck regarding this. He said:
> I've just activated the theme, and I've found out that the dynamic stylesheet generator of the theme (responsible for most of the design) is not located where it should be, or something on your installation is redirecting it somewhere else.
Well, the file(s) he refers to are definitely there, all plugins have been disabled to ensure there were no conflicts (had no effect) and all other themes are fine. However, I did install the theme on a fresh install of Wordpress and it appears to work just fine. Migrating all the data from the current Wordpress site to a new, fresh installation is not an option right now so hoping I can find what might be causing the issue outside of the theme itself.
I've gone through the permissions of all files/folders associated with this particular theme, including plugins, and can't see any problems. Likewise I've double checked ownerships and they are consistent with all other files.
If anyone has experienced a similar error with Wordpress, I'd be grateful if you could suggest a solution to this issue.
Thanks
Tom
2 Replies
You are much more likely to get a response in the WordPress support forums (
Including at least which theme you are using, or the site using it, would allow someone to have better chance at helping you. As environment appears to be an issue, state your OS, PHP versions (assuming you host on a node).