I get the following error when I attempt to "Save Configuration" after modifying the color using the color picker or making another change.

The selected file themes/garland/images/menu-collapsed.gif could not be uploaded, because the destination is not properly configured.
The selected file themes/garland/images/menu-collapsed-rtl.gif could not be uploaded, because the destination is not properly configured.
The selected file themes/garland/images/menu-expanded.gif could not be uploaded, because the destination is not properly configured.
The selected file themes/garland/images/menu-leaf.gif could not be uploaded, because the destination is not properly configured.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/body.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/bg-bar.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/bg-bar-white.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/bg-tab.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/bg-navigation.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/bg-content-left.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/bg-content-right.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/bg-content.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/bg-navigation-item.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/bg-navigation-item-hover.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/gradient-inner.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/logo.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-934ff061/screenshot.png' for writing: No such file or directory in /home/homeoqld/public_html/drupal/modules/color/color.module on line 502.
The selected file /tmp/fileaHed0w could not be uploaded, because the destination is not properly configured.
The selected file /tmp/filexMNa5l could not be uploaded, because the destination is not properly configured.

This occurred after changing the name of the drupal directory from /drupal/ to /d/.
Now I know that in the mysql data base there is a table called 'variable' in which is listed: -

color_garland_palette	a:5:{s:4:"base";s:7:"#55c0e2";s:4:"link";s:7:"#000000";s:3:"top";s:7:"#085360";s:6:"bottom";s:7:"#067689";s:4:"text";s:7:"#696969";}
			color_garland_logo	s:51:"sites/default/files/color/garland-934ff061/logo.png";
			color_garland_screenshot	s:57:"sites/default/files/color/garland-934ff061/screenshot.png";

And that currently the name of my /file/default/color/garland-5df86360 is clearly different from that shown in the db.
If I manually alter the name color /garland-xxx to match the db it does not help so I'm not sure what to do.

Any help would be gratefully accepted as I have managed to cause the same problem about three times now of different sites during upgrades etc.

Greg.

Comments

cloudmaker’s picture

cloudmaker

It seems like there might be a bug in the color.module or some related file.
If I change the permissions for /site/files/default/color to 777 then it is able to create a new color folder for garland et al.
Greg.

nmashruwala’s picture

Thank you cloudmaker! That fixed it for me too.

lietuvis’s picture

I changed the permissions for all directories: sites, default, files, color to 777 and result is the same as in the first cloudmaker's post. How to fix this headache?

Drandarian Grey’s picture

Alfredas,

If you can delete your sites/default/files/color directory then recreate it and change the permissions to 777.

I found that I had to do this. The orginal colour directory would not let me change the permissions.

DG