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

mermentau’s picture

Status: Active » Postponed (maintainer needs more info)

I 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.

peterdm’s picture

I 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 :-(

mermentau’s picture

Assigned: max.carabus » Unassigned

If 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".

mermentau’s picture

One 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.

peterdm’s picture

I haven't figured out an isolated scenario to reproduce the problem. However, I can tell all that I have been doing recently:

  1. Update drupal from 7.7 to 7.9 (as per drupal instructions, including running update.php)
  2. Update mayo from 1.1 to 1.2
  3. Try to change some mayo settings: save failed, after which my color scheme was totally broken
mermentau’s picture

@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.

peterdm’s picture

I 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:

  • I lost my custom color scheme, it reverted back to the default (peviously, my custom color scheme was visible, even in the preview, but it somehow did not apply to the site)
  • The I tried to manually re-apply my custom mayo color settings. However, I ran into the exact same problem: the color scheme is totally broken.
mermentau’s picture

@peterdm, Can you copy paste the error messages you are getting? Can you define "totally broken"?

mermentau’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
debbypeeters’s picture

mermentau’s picture

This 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.

debbypeeters’s picture

I'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

debbypeeters’s picture

How can I mail you?

Friendly regards

Debby

mermentau’s picture

@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.