Closed (fixed)
Project:
AD Blueprint
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Jun 2008 at 10:52 UTC
Updated:
20 Jun 2008 at 07:26 UTC
Jump to comment: Most recent file
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).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | color.module.zip | 7.65 KB | arx-e |
Comments
Comment #1
Alan Cooney commentedHi,
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:
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
Comment #2
arx-e commentedHere 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
Comment #3
arx-e commentedthe color.module file...
Comment #4
WebNinja commentedI cannot change either, even after implementing your suggestions. Please advise.
Comment #5
ajsloan commentedI'm receiving the same error with Version 6.2
Comment #6
Alan Cooney commentedThanks 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
Comment #7
Alan Cooney commentedThe new releases have now been added to the project page.
Comment #8
Alan Cooney commented