I suspect this is a file permissions issue, but I'm not receiving any informative error messages to tell me what's broken. When I select the "Mayo (Default)" colour scheme, the theme works perfectly, but if I try selecting any other scheme, or editing it to make my own custom version, I'm left with blue links, white backgrounds and black text. There doesn't appear to be anything in the files/color directory apart from a logo.png file, and there's no files/style directory. This may be related to the fact that I have a multi-site Drupal installation with different directories under /sites, or it may be an issue related to file permissions.

Comments

Bat’s picture

Version: 7.x-1.1 » 7.x-1.x-dev

Took a chance and uploaded the dev version. Problem persists. I like the new default colour scheme there though, so I'll live with it. It would be nice to fix the bug though, because a theme with no colour control isn't much good.

mermentau’s picture

Category: bug » support

Changing to support request as I am almost positive the problem lies in your install and not a bug. As long as the theme has been out there would be way more mention if this was a bug.

I tried to recreate your problem, but found all works as planned. My sites/default/files/color/mayo-7807df98 directory has colors.css and logo.png.

I have sites/default/files/styles with directories and files inside. Have you tried your install with other themes that use the color module? Can you provide more details as I would like to help.

gimlic’s picture

I have this same problem. Basically, when set to default the sites/default/files/color/mayo-[xxxx] directory and files are deleted, and the default color scheme is applied.

When a color or setting is changed, however, the css file is created but does not load on the site (so all I get is structure with generic css sheet for styling).

gimlic’s picture

Solved. It's an issue of symlinks which are disabled on many hosts for security reasons.

Add "Options SymLinksIfOwnerMatch" to .htaccess under /sites/default/files and comment out (#) FollowSymLinks

angus_muir’s picture

I am having difficulty in this regard still. Seems to be related to several themes where you are able to change the color scheme. I have followed directions above, but it didn't help. File permissions seem fine.

Error message returned is:

Premature end of script headers: index.php

tagdog-dupe’s picture

If it doesn't work to Add "Options SymLinksIfOwnerMatch" to .htaccess under /sites/default/files, try to comment out (#) all the Options instead in that file.

mwbyrd’s picture

I found an easier solution. Usually when I migrate my site to production, I always forget to change my tmp file location. It's usually something like c:/sites/tmp (example). I was having trouble getting my colors to change on the mayo color picker. I could change the colors in the setttings but when I saved the colors, i would lose the colors on the website.

I checked my tmp folder and sure enough, it was pointing to my local host (C:/sites/tmp). I changed the temp file to a folder on my webhost and sure enough, the color picker started working.

Hope this helps out.

Mike

mermentau’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)