Hello again, again.

OK.. the error message provided by Drupal is this:

Message The file permissions could not be set on public://color/bartik-f3efd97b/colors.css.

Does 'public' mean the same as: "/sites/default/files", because that's where the /color/bartik-nnnnnnnn/colors.css SHOULD be??

Can any Drupal experts please help me? I've spent at least 20 hours getting nowhere on this.

Thank-you.

--------
Hello again.

I think this is a permissions problem, but please, I still would like some help with it.

On my web host, I went to the folder: /sites/default/files/color/ and deleted all the 'bartik-nnnnnnnn' files that I could.

I was left with this:

Parent Folder
bartik-79785833 You drwxrwxr-x
bartik-96b4b96d You drwxrwxrwx

After trying to change to default 'Slate' colours: (didn't work - page is white), I now get this:

Parent Folder
bartik-70a3e55e You drwxrwxr-x
bartik-79785833 You drwxrwxr-x
bartik-96b4b96d You drwxrwxrwx

It appears that the final group of permissions is only 'execute' and not 'write'(I manually changed the 'bartik-96b4b96d' file), but I don't know if has anything to do with the problem or not.

Can somebody PLEASE point me to a resource that will help me?

Thank-you.

--original message below--

Hello all.

I have an issue with Bartik 7.10 where I cannot change the base theme colour scheme.

I have a fresh upload of Drupal 7 onto my web host and made it a sub-domain so I can work on the site, but I cannot change the colour of the Bartik theme. Only the standard 'Blue Lagoon' works. No other pre-configure colour schemes work, and any custom colours merely show white.

I have made sure all directory permissions are '777'.

Can anybody point me to a possible reason for this, as I simply cannot progress without setting the base theme colours.

I have Firebug installed and my local (IIS) version (Acquia Drupal) works properly, and under CSS gives the below text:

"@import "http://localhost:11963/modules/system/system.base.css?lxgpsh";
@import "http://localhost:11963/modules/system/system.menus.css?lxgpsh";
@import "http://localhost:11963/modules/system/system.messages.css?lxgpsh";
@import "http://localhost:11963/modules/system/system.theme.css?lxgpsh";
......

The version which is on my web host's site (Standard Drupal), gives the following text in Firebug:

"@import "http://www.nnnn.nnnnnn.com/modules/system/system.base.css?lxvvnd";
@import "http://www.nnnn.nnnnnn.com.com/modules/system/system.menus.css?lxvvnd";
@import "http://www.nnnn.nnnnnn.com.com/modules/system/system.messages.css?lxvvnd";
@import "http://www.nnnn.nnnnnn.com.com/modules/system/system.theme.css?lxvvnd";

..........

Can anybody out there please explain the differences in the last characters to me, and/or even if it has anything at all to do with the problem? Thank-you.
.......

This is the message from REPORTS > RECENT LOG MESSAGES:

Type file
Date Saturday, January 21, 2012 - 11:29
User rac_admin
Location http://www.nnnnn.nnnnn.com/admin/appearance/settings/bartik?render=overl...
Referrer http://www.nnnnn.nnnnn.com/admin/appearance/settings/bartik?render=overlay
Message The file permissions could not be set on public://color/bartik-f3efd97b/colors.css.
Severity error

All help appreciated.

Thank-you.

Comments

enrgyxprt’s picture

I also have similar problem. Im a first time user,
I created a sub domain, and tried to modify Bartik 7.10.

Settings seam to be saved but
click home page as admin, auth user or un auth and see an empty (blank) theme.
Oddly, the drupal dude shows up, so paths are correct in config.

Change back to default and all is good.
I see once I do that, my modified theme is not available anymore ?

couturier’s picture

I found this post, wreckage, after replying to similar comments you posted at this thread, so be sure to check out the possibilities I mentioned on that comment.

I have experienced the situation with my own host server that some files, particularly in the Sites folder, revert to default permissions even if you think you've set them to 777. So, go back and check to see if they have re-set to default permissions. This seems to be what is happening based on your log error messages. Also look to see what permissions the higher folders have. It is not just the folder you are investigating but also all the folders in the hierarchy above it (sites, default and files) that must have permissions set to 777 before changes can be made. If you are restricted from changing these permissions, then it is an issue with the way your host's server is set up. You'll need to contact your hosting provider and request that they grant you added permissions for the Sites folder and all the folders within it. Some hosts purposely restrict permissions to the Sites folder and the folders within so that you do not accidentally erase your whole site when you are upgrading Drupal core, so that could be part of what is causing your folders to not be writable. If your host is unwilling to do grant you this permission, then you should consider hosting your site from a different platform. See my further suggestions on this at the comment linked above.

wreckage’s picture

Thank-you for the tips, couturier.
I did try again re-setting all file and folder permissions (which took forever via FTP) but it did not resolve the issue of not being able to change the Bartik colour scheme.

Today I have updated to Drupal version 7.12 (cleared the caches and performed a database update) and miraculously, with the default permissions, I can now change the colour scheme.

I have no idea why, but am thankful that it works! Yippeeeee! ;-)

Cheers.

couturier’s picture

This issue is active here: http://drupal.org/node/1288970