I installed the theme, set it to enabled and default, saved settings and then went to "configure" and tried to change colors. Preview works but when I hit the "save configuration" button I get the following error:

"warning: Invalid argument supplied for foreach() in /home2/akrinon/public_html/test6/modules/color/color.module on line 327."

The same happens even if I simply select another color set (the red one).

CommentFileSizeAuthor
#3 color.module.zip7.65 KBarx-e

Comments

Alan Cooney’s picture

Assigned: Unassigned » Alan Cooney
Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Hi,

Please can you attach a copy of your /modules/color/color.module because I seem to be working with a different one to the one that you have. Please can you also tell me which version of Drupal you are using.

Also, for a quick fix it may work by just copying base.png, preview.png and preview.css from /themes/garland/color into the color directory of whichever version of .AD Blueprint that you are using (fixed or fluid). Then add the following code to color.inc in the ad_blueprint/color or ad_blueprint-fluid/color directory:

array(
  'preview_image' => 'color/preview.png',
  'preview_css' => 'color/preview.css',
  'base_image' => 'color/base.png',
);

Add this just before the final );

If this works, ignore what the preview image looks like. The fault will be from this ( http://drupal.org/node/213172 ) having not yet been implimented in your version of Drupal.

I hope this works. I'm away on training for the next two days but will return to this issue after that.

Alan Cooney,
Avioso Designs | http://www.avioso.com

arx-e’s picture

Here is the /modules/color/color.module file that I found in my drupal (test) installation.

Drupal version is 6.2 (on php 5.2.5, MySQL 4.1.22).

You can have a look at the site here: test6.akrino.net

arx-e’s picture

StatusFileSize
new7.65 KB

the color.module file...

WebNinja’s picture

I cannot change either, even after implementing your suggestions. Please advise.

ajsloan’s picture

Category: support » bug
Priority: Normal » Critical
Status: Postponed (maintainer needs more info) » Active

I'm receiving the same error with Version 6.2

Alan Cooney’s picture

Priority: Critical » Normal
Status: Active » Fixed

Thanks everyone for reporting this. The bug has now been fixed and you can apply the update by replacing the color folders in AD Blueprint with the attached folders. The fix will be added, along with another, very shortly in the form of a new version.

Alan

Alan Cooney’s picture

The new releases have now been added to the project page.

Alan Cooney’s picture

Status: Fixed » Closed (fixed)