Closed (cannot reproduce)
Project:
MAYO
Version:
7.x-1.2
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2011 at 07:13 UTC
Updated:
4 Dec 2012 at 20:38 UTC
This error appears after page width change.
After it appears permanently on any page layout changes.
Notice: Undefined index: even ... _color_rewrite_stylesheet() (строка 448 ... /var/www/SoilZoology/modules/color/color.module).
Comments
Comment #1
mermentau commentedI can't reproduce the error. I changed the width to 960px in Mayo settings and it works with no error. I looked at the code you referenced and can't see how that would relate to width. You might look in the issue queue for color.module.
If you can give me more details on how to reproduce the error I will be glad to explore further.
Comment #2
peterdm commentedI have the same issue. It happened after I tried to save some changes to the color/font of mayo (I did not touch the width). The color scheme is totally broken and I can't fix it :-(
Comment #3
mermentau commentedIf someone can walk me through the steps for me to duplicate the problem on my end it should be easy to fix.
What I need is described well here in "Making an issue report".
Comment #4
mermentau commentedOne possible issue is the variable color_mayo_palette in the variables table. If you update your color settings after a code update in mayo/color/color.inc you may need to go in and manually delete this variable. Then after that do a Save changes in the Mayo settings admin area and it will rebuild color_mayo_palette. It seems you have to make a small change in the Mayo color settings and all 4 color_mayo_xxxxx variables will get rebuilt if they are deleted first.
Comment #5
peterdm commentedI haven't figured out an isolated scenario to reproduce the problem. However, I can tell all that I have been doing recently:
Comment #6
mermentau commented@peterdm, Try grabbing the dev version. It's nearly the same as 7.x-1.2 and has the latest fix. Be sure and follow #4 above after that.
Comment #7
peterdm commentedI did as you suggested: grabbed the dev version, and cleared the color_mayo_palette from the variable table. The same problem persists. This is what happened:
Comment #8
mermentau commented@peterdm, Can you copy paste the error messages you are getting? Can you define "totally broken"?
Comment #9
mermentau commentedComment #10
debbypeeters commentedComment #11
mermentau commentedThis is not an error in Mayo, but a problem with the way you are using the color module in your sub-theme. We can't go into support here in this bug thread, but if you will email me I'll send you something that might help.
Comment #12
debbypeeters commentedI've solved it ... and it works ...
Thanks for your quick reply!
Copy the map css and keep the files layout.css, color.css and style.css
Copy the map color
Rename the map 'mayo1', rename mayo.info to mayo1.info and edit the .info file name = mayo1
More you do not have to do to make it works!
Have fun!
Debby
Comment #13
debbypeeters commentedHow can I mail you?
Friendly regards
Debby
Comment #14
mermentau commented@Debby, You removed your question #10 and left your solution #12. This won't make sense to anyone coming to this thread. The issue system here at drupal.org has a nicely organized structure to make it helpful to all. It's not like a forum at all.
Email here: Most users have their contact form enabled so you can click on their username and get it.