Hello everyone,

Thanks in advance to everyone who can help.

I am using D7.22 hosted by ace-host.net
When ever I change the colors of any theme, everything turns white (exept text) and looks "unformatted".

I want to use MAYO but when I install and enable it I get the following error list:

Warning: Invalid argument supplied for foreach() in drupal_alter() (line 1041 of /home/fishmodo/public_html/includes/module.inc).
Warning: Invalid argument supplied for foreach() in drupal_alter() (line 1041 of /home/fishmodo/public_html/includes/module.inc).
Warning: Invalid argument supplied for foreach() in drupal_alter() (line 1041 of /home/fishmodo/public_html/includes/module.inc).
Warning: Invalid argument supplied for foreach() in drupal_alter() (line 1041 of /home/fishmodo/public_html/includes/module.inc).
Warning: Invalid argument supplied for foreach() in drupal_alter() (line 1041 of /home/fishmodo/public_html/includes/module.inc).
Warning: Invalid argument supplied for foreach() in drupal_alter() (line 1041 of /home/fishmodo/public_html/includes/module.inc).
Warning: Invalid argument supplied for foreach() in drupal_alter() (line 1041 of /home/fishmodo/public_html/includes/module.inc).
Warning: Invalid argument supplied for foreach() in drupal_alter() (line 1041 of /home/fishmodo/public_html/includes/module.inc).
Warning: Invalid argument supplied for foreach() in drupal_alter() (line 1041 of /home/fishmodo/public_html/includes/module.inc).
Warning: Invalid argument supplied for foreach() in drupal_alter() (line 1041 of /home/fishmodo/public_html/includes/module.inc).

I dont know if these things are related or not, but those errors are both are theme related.

Thanks for your help

Comments

jaypan’s picture

Are you drawing the new colors on your monitor with a marker?

Contact me to contract me for D7 -> D10/11 migrations.

FishMoDo’s picture

But thanks for asking.

SteelToedBoots’s picture

Just installed Mayo (place in the ...sites/all/themes folder), enabled, and set as default theme.

Opened up Dreamweaver (or just use Notepad++, which is free).

Went to ...sites/all/themes/mayo/css/colors.html.

Changed the page background to white:
body,
#page-wrapper {
background-color: #fff;
color: #3b3b3b;
}

Didn't have an error.

FishMoDo’s picture

I found the colors.css file where you said, and I made the changes you listed. Still had the same error, and an additional one. So I changed it back to the original text.

Thank you for the suggestion though.

jaypan’s picture

No I am not.
But thanks for asking.

Then please, tell us more!

Contact me to contract me for D7 -> D10/11 migrations.

FishMoDo’s picture

From the person at my host comapny who fixed photos not loading. "Upon looking into this further, I do see "Option FollowSymLinks" was enabled in the htaccess file located at /home/fishmodo/public_html/sites/default/files/ was causing the issue. Please note that, we have SymLinksIfOwnerMatch enabled by default, which is more secure and provides the same functionality.
I have disabled it in the htaccess file. Images should be loading fine now. Please verify and let me know if you face any further problems."

This also fixed the theme color issue.