Needs review
Project:
Fusion Prosper
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Jul 2011 at 11:54 UTC
Updated:
12 Apr 2016 at 14:25 UTC
Jump to comment: Most recent
Notice: Undefined index: preview_css in theme_color_scheme_form() (line 246 of ...\modules\color\color.module).
Notice: Undefined index: gradients in color_scheme_form() (line 203 of ...\modules\color\color.module).
I'm on Drupal 7.4
| Comment | File | Size | Author |
|---|---|---|---|
| Acquia Prosper Color Setting.png | 158.89 KB | Clean |
Comments
Comment #1
goody815 commentedHi Virtual,
Yes there are warnings that will appear when using the color module. The gradient options and image options are not enabled. That is what's throwing the warning. The color module works with this theme though.
Comment #2
Babalu commentedi get the same error
Comment #3
King of Picts commentedSame as mine, I m still looking for solution on this problem, to stop show up the error message
Comment #4
Satri commentedSubscribing. Getting these error messages too.
Comment #5
spatialguru commentedfollowing too
Comment #6
shwx commentedSubscribing
Comment #7
tomarsh commentedI get that as well. No solution anywhere?
Comment #8
esmerel commentedColor.module is part of core - this is likely an issue with core.
Comment #9
sw0rdf1sh commentedSame problem
Comment #10
causalloop commentedsubscribing
Comment #11
causalloop commentedis there an open issue with core that you know of that we can link to and track?
Comment #12
castelar commentedTo stop displaying the error go to admin/config/development/logging and set to Errors and Warnings.
Comment #13
ucensys01 commentedI am getting this error as well. Do not mind the display of the error. More interested in a fix for the error. Has there been any progress on this yet??
Comment #14
itatcheekandscott commentedAlso looking for resolution for this. Posting to track updates.
Comment #15
sonickkk commentedSame issue for me, waiting for a solution..
Comment #16
desmondmorris commentedWithout hacking up the color.module, you could add the following to the bottom of the themes color.inc file.
Not ideal. The color module should handle the error better.
Comment #17
sbsxrx commentedWAT?
1. -Yes there are warnings that will appear when using the color module. -Yes, we already knows that, that's the point.
2. -The gradient options and image options are not enabled. -How we can enable it, both options? What config file?
3. -That is what's throwing the warning. -Ok, thank you for that information.
4. -The color module works with this theme though. -Yes 'color module' works, but I think this issue is about Acquia Prosper, why you closed this thread so?
kind regards,
Francois Vaan Der Valen
Comment #18
sbsxrx commentedSubscribing
Comment #19
sbsxrx commentedThis is the output of $info:
Array (
[fields] => Array (
[base] => Base
[background] => Background
[text] => Text
[link] => Link
[linkhover] => Hovered Link
[darkestgray] => Darkest Gray
[2nddarkestgray] => 2nd Darkest Gray
[3rddarkestgray] => 3rd Darkest Gray
[mediumgray] => Medium Gray
[2ndmediumgray] => 2nd Medium Gray
[2ndlightestgray] => 2nd Lightest Gray
[lightestgray] => Lightest Gray
)
[schemes] => Array (
[default] => Array (
[title] => Gray (Default)
[colors] => Array (
[base] => #343434
[background] => #f3f3f3
[text] => #000000
[link] => #af0000
[linkhover] => #336699
[darkestgray] => #343434
[2nddarkestgray] => #404040
[3rddarkestgray] => #5b5b5b
[mediumgray] => #a9a9a9
[2ndmediumgray] => #b0b0b0
[2ndlightestgray] => #d8d8d8
[ligthestgray] => #f3f3f3
)
)
)
[css] => Array (
[0] => css/colors.css
)
)
So we can see, 'gradients' and 'preview_css' are not defined!
Regards,
F.
Comment #20
dianacastillo commentedHas anyone found the solution to this ?
Comment #21
Karinp76 commentedI have the same problem!
Comment #22
Poieo commentedMoving to Fusion Prosper.
This theme is deprecated. There is an unbranded D7 port of this theme available here: https://www.drupal.org/sandbox/poieo/2337715
The theme is currently only available as a sandbox, but functional and only awaiting administrative approval to be promoted to a full project. Any developments are going to happen on the new version of the theme!
Comment #23
klausson commented@Poieo: I installed the latest Fusion Prosper and am still having the same problem everybody else is referring to above, plus a ton of error messages whenever I change any of the colors. It sounds like further up there were some fingers pointed at the Colors module. If so, what should we look at to fix the problem?
Comment #24
spyderpie commentedI have the same issues with the Fusion Prosper theme as well
Comment #25
Poieo commentedComment #26
Poieo commentedUpdating the title to better reflect the issue.
Comment #28
Poieo commentedProper color module support has been added to the latest dev. It's likely, if you've already setup a custom color scheme, that you'll have to redo your color settings.
There are probably still some minor adjustments to be made. Please post back any issues you find.
Comment #29
ph7 commentedAdd the following to your theme's /color/color.inc $info array and the undefined index error will disappear once you clear the cache