Error when Customizing Color Schemes
Permalink Browser Info Environment
I am getting an error when I attempt to change the Motif color scheme - I get the error regardless of how I attempt to make the change - If I select on of the preset color schemes - or if I attempt to assign my own. If I save the changes it diables the entire site - and the site only reports the error.
This is the error I get when I attempt to alter the color scheme in the customize design area:
ParseError: Unexpected input in main.less on line 1, column 565 1| @preset-fonts-file: "build/fonts/defaults.less";@custom-feature-icon-type-color: rgb(255, 91, 16);@custom-feature-icon-type-font-size: 40px;@custom-feature-icon-background-color: rgb(255, 255, 255);@custom-feature-icon-container-size: 120px;@custom-feature-header-type-font-size: 30px;@custom-feature-type-font-size: 20px;@button-default-border-color: rgb(204, 204, 204);@button-default-background-color: rgb(255, 255, 255);@button-default-color: rgb(51, 51, 51);@button-border-radius-size: 14px;@button-type-text-transform: uppercase;@button-type-font-weight: 300;@headings-type-font-family: \'Lato\', Helvetica, Arial, sans-serif;@headings-type-text-transform: uppercase;@headings-type-font-weight: 900;@headings-type-line-height: 1.1em;@section-section3-padding-bottom-size: 0px;@section-section3-padding-top-size: 0px;@section-section3-link-color: rgb(255, 91, 16);@section-section3-color: rgb(0, 0, 0);@section-section3-background-color: rgb(255, 255, 255);@section-section2-padding-bottom-size: 100px;@section-section2-padding-top-size: 100px;@section-section2-link-color: rgb(255, 91, 16);@section-section2-color: rgb(0, 0, 0);@section-section2-background-color: rgb(238, 238, 238);@section-section1-padding-bottom-size: 100px;@section-section1-padding-top-size: 100px;@section-section1-link-color: rgb(255, 91, 16);@section-section1-color: rgb(0, 0, 0);@section-section1-background-color: rgb(255, 255, 255);@section-feature-padding-bottom-size: 100px;@section-feature-padding-top-size: 100px;@section-feature-link-color: rgb(255, 255, 255);@section-feature-color: rgb(255, 255, 255);@section-feature-background-color: rgb(255, 91, 16);@section-main-padding-bottom-size: 100px;@section-main-padding-top-size: 100px;@section-main-link-color: rgb(255, 91, 16);@section-main-color: rgb(0, 0, 0);@section-main-background-color: rgb(255, 255, 255);@section-top-padding-bottom-size: 100px;@section-top-padding-top-size: 100px;@section-top-link-color: rgb(255, 91, 16);@section-top-color: rgb(0, 0, 0);@section-top-background-color: rgb(255, 255, 255);@section-header-hr-color: rgb(255, 91, 16);@section-header-type-font-family: \'Lato\', Helvetica, Arial, sans-serif;@section-header-type-font-size: 50px;@footer-bottom-padding-bottom-size: 20px;@footer-bottom-padding-top-size: 20px;@footer-bottom-color: rgb(255, 255, 255);@footer-bottom-background-color: rgb(13, 37, 51);@footer-top-padding-bottom-size: 90px;@footer-top-padding-top-size: 90px;@footer-top-color: rgb(255, 255, 255);@footer-top-background-color: rgb(23, 62, 84);@navbar-nav-type-color: rgb(0, 0, 0);@navbar-nav-type-text-transform: uppercase;@navbar-nav-type-font-weight: 300;@navbar-nav-type-font-size: 14px;@navbar-brand-padding-top-bottom-size: 15px;@navbar-brand-padding-left-right-size: 15px;@navbar-brand-type-font-family: \'Lato\', Helvetica, Arial, sans-serif;@navbar-brand-type-color: rgb(255, 91, 16);@navbar-brand-type-text-transform: uppercase;@navbar-brand-type-font-weight: 900;@navbar-brand-type-font-size: 30px;@navbar-padding-bottom-size: 10px;@navbar-padding-top-size: 10px;@navbar-background-color: rgb(255, 255, 255);@blog-entry-header-height-size: 400px;@blog-entry-header-h1-type-font-size: 50px;@header-height-size: 400px;@header-link-hover-color: rgb(255, 91, 16);@header-link-color: rgb(255, 255, 255);@header-h1-margin-bottom-size: 0px;@header-h1-margin-top-size: 0px;@header-h1-type-text-transform: uppercase;@header-h1-type-font-size: 100px;@header-h1-type-line-height: 1em;@header-type-color: rgb(255, 255, 255);@header-type-font-size: 30px;@header-background-image: '/packages/motif/themes/motif/css/';@header-background-color: rgb(23, 62, 84);@header-overlay-background-color: rgb(23, 62, 84);@page-title-type-font-family: \'Lato\', Helvetica, Arial, sans-serif;@body-link-hover-color: rgb(34, 105, 166);@body-link-color: rgb(255, 91, 16);@body-type-font-family: \'Poppins\', Helvetica, Arial, sans-serif;@body-type-color: rgb(51, 51, 51);@body-type-font-weight: 300;@body-type-font-size: 14px;@page-background-color: rgb(255, 255, 255);@global-gray-lighter-color: rgb(238, 238, 238);@global-gray-light-color: rgb(119, 119, 119);@global-gray-color: rgb(85, 85, 85);@global-gray-dark-color: rgb(51, 51, 51);@global-gray-darker-color: rgb(34, 34, 34);@global-gray-base-color: rgb(0, 0, 0);@global-brand-danger-color: rgb(217, 83, 79);@global-brand-warning-color: rgb(240, 173, 78);@global-brand-info-color: rgb(91, 192, 222);@global-brand-success-color: rgb(92, 184, 92);@global-brand-secondary-color: rgb(23, 62, 84);
Attached is a screenshot of the code error in the preview window - when I am adjusting the primary brand color to X (nothing) the same error is reported if I set the color to something else - additionaly, the error can not be corrected by setting the color scheme back to the original selection.
This is the error I get when I attempt to alter the color scheme in the customize design area:
ParseError: Unexpected input in main.less on line 1, column 565 1| @preset-fonts-file: "build/fonts/defaults.less";@custom-feature-icon-type-color: rgb(255, 91, 16);@custom-feature-icon-type-font-size: 40px;@custom-feature-icon-background-color: rgb(255, 255, 255);@custom-feature-icon-container-size: 120px;@custom-feature-header-type-font-size: 30px;@custom-feature-type-font-size: 20px;@button-default-border-color: rgb(204, 204, 204);@button-default-background-color: rgb(255, 255, 255);@button-default-color: rgb(51, 51, 51);@button-border-radius-size: 14px;@button-type-text-transform: uppercase;@button-type-font-weight: 300;@headings-type-font-family: \'Lato\', Helvetica, Arial, sans-serif;@headings-type-text-transform: uppercase;@headings-type-font-weight: 900;@headings-type-line-height: 1.1em;@section-section3-padding-bottom-size: 0px;@section-section3-padding-top-size: 0px;@section-section3-link-color: rgb(255, 91, 16);@section-section3-color: rgb(0, 0, 0);@section-section3-background-color: rgb(255, 255, 255);@section-section2-padding-bottom-size: 100px;@section-section2-padding-top-size: 100px;@section-section2-link-color: rgb(255, 91, 16);@section-section2-color: rgb(0, 0, 0);@section-section2-background-color: rgb(238, 238, 238);@section-section1-padding-bottom-size: 100px;@section-section1-padding-top-size: 100px;@section-section1-link-color: rgb(255, 91, 16);@section-section1-color: rgb(0, 0, 0);@section-section1-background-color: rgb(255, 255, 255);@section-feature-padding-bottom-size: 100px;@section-feature-padding-top-size: 100px;@section-feature-link-color: rgb(255, 255, 255);@section-feature-color: rgb(255, 255, 255);@section-feature-background-color: rgb(255, 91, 16);@section-main-padding-bottom-size: 100px;@section-main-padding-top-size: 100px;@section-main-link-color: rgb(255, 91, 16);@section-main-color: rgb(0, 0, 0);@section-main-background-color: rgb(255, 255, 255);@section-top-padding-bottom-size: 100px;@section-top-padding-top-size: 100px;@section-top-link-color: rgb(255, 91, 16);@section-top-color: rgb(0, 0, 0);@section-top-background-color: rgb(255, 255, 255);@section-header-hr-color: rgb(255, 91, 16);@section-header-type-font-family: \'Lato\', Helvetica, Arial, sans-serif;@section-header-type-font-size: 50px;@footer-bottom-padding-bottom-size: 20px;@footer-bottom-padding-top-size: 20px;@footer-bottom-color: rgb(255, 255, 255);@footer-bottom-background-color: rgb(13, 37, 51);@footer-top-padding-bottom-size: 90px;@footer-top-padding-top-size: 90px;@footer-top-color: rgb(255, 255, 255);@footer-top-background-color: rgb(23, 62, 84);@navbar-nav-type-color: rgb(0, 0, 0);@navbar-nav-type-text-transform: uppercase;@navbar-nav-type-font-weight: 300;@navbar-nav-type-font-size: 14px;@navbar-brand-padding-top-bottom-size: 15px;@navbar-brand-padding-left-right-size: 15px;@navbar-brand-type-font-family: \'Lato\', Helvetica, Arial, sans-serif;@navbar-brand-type-color: rgb(255, 91, 16);@navbar-brand-type-text-transform: uppercase;@navbar-brand-type-font-weight: 900;@navbar-brand-type-font-size: 30px;@navbar-padding-bottom-size: 10px;@navbar-padding-top-size: 10px;@navbar-background-color: rgb(255, 255, 255);@blog-entry-header-height-size: 400px;@blog-entry-header-h1-type-font-size: 50px;@header-height-size: 400px;@header-link-hover-color: rgb(255, 91, 16);@header-link-color: rgb(255, 255, 255);@header-h1-margin-bottom-size: 0px;@header-h1-margin-top-size: 0px;@header-h1-type-text-transform: uppercase;@header-h1-type-font-size: 100px;@header-h1-type-line-height: 1em;@header-type-color: rgb(255, 255, 255);@header-type-font-size: 30px;@header-background-image: '/packages/motif/themes/motif/css/';@header-background-color: rgb(23, 62, 84);@header-overlay-background-color: rgb(23, 62, 84);@page-title-type-font-family: \'Lato\', Helvetica, Arial, sans-serif;@body-link-hover-color: rgb(34, 105, 166);@body-link-color: rgb(255, 91, 16);@body-type-font-family: \'Poppins\', Helvetica, Arial, sans-serif;@body-type-color: rgb(51, 51, 51);@body-type-font-weight: 300;@body-type-font-size: 14px;@page-background-color: rgb(255, 255, 255);@global-gray-lighter-color: rgb(238, 238, 238);@global-gray-light-color: rgb(119, 119, 119);@global-gray-color: rgb(85, 85, 85);@global-gray-dark-color: rgb(51, 51, 51);@global-gray-darker-color: rgb(34, 34, 34);@global-gray-base-color: rgb(0, 0, 0);@global-brand-danger-color: rgb(217, 83, 79);@global-brand-warning-color: rgb(240, 173, 78);@global-brand-info-color: rgb(91, 192, 222);@global-brand-success-color: rgb(92, 184, 92);@global-brand-secondary-color: rgb(23, 62, 84);
Attached is a screenshot of the code error in the preview window - when I am adjusting the primary brand color to X (nothing) the same error is reported if I set the color to something else - additionaly, the error can not be corrected by setting the color scheme back to the original selection.
Type: | Pre-Sale |
---|---|
Status: | Resolved |
Strange, you're the first person to experience this issue. I'll take a look and see if I can reproduce it.
I'm happy to let you play with it on site if you wish.
Let me know and I will send you the address a login and anything else you might need.
Bryce
Let me know and I will send you the address a login and anything else you might need.
Bryce
Yeah, that might be useful. Can you tell me step by step exactly what you did leading up to getting the error?
My email is cory [at] corywebbmedia.com
My email is cory [at] corywebbmedia.com
Sent you an email
I did some searching, and it seems others have had this issue with other themes as well. The cause seems to be that there is not enough memory to parse the LESS to CSS properly. It may be that you need to contact your host and ask them to allocate more memory to PHP on your account. 128MB should suffice
This thread my be useful for you:https://www.concrete5.org/community/forums/usage/elemental-navigatio...
I'm at a loss on this one. I've never seen this issue with the theme before. It looks like the PHP memory limit is high enough.
When I Googled "concrete5 ParseError: Unexpected input in main.less", I found that a few other people have had this issue with other themes, and the only cause mentioned was not enough memory.
I wonder if you've just reached your server's limit for what it can handle. Maybe you are running more than the server's resources are capable of handling. Have you tried setting up the site on a different server?
When I Googled "concrete5 ParseError: Unexpected input in main.less", I found that a few other people have had this issue with other themes, and the only cause mentioned was not enough memory.
I wonder if you've just reached your server's limit for what it can handle. Maybe you are running more than the server's resources are capable of handling. Have you tried setting up the site on a different server?
Hi,
I've checked the memory limit - it's at 256mb - so you're right it's not that.
I've just done a bunchperformance testing- the sites aren't getting any traffic, the sever has a plenty of resources available - during testing today your site is the only one that has been using any resources at all.
At least from the server side, it looks like there isn't anything going on that should effect it. The server is a high end arrangement not a budget one. :/
Anything else you can think of?
I would guess I can hard code the CSS, but it would save me considerable time if I didn't have to.
I'm going to try setting
Bryce Tugwell
The University of Wyoming Biodiversity Institute
________________________________
Phone: 307.766.6280
Cell: 703.622.5989
Fax: (877) 309-6285
?
________________________________
From: concrete5 Community <discussions@concretecms.com>
Sent: Friday, December 16, 2016 1:54:39 PM
To: Bryce Russell Tugwell
Subject: Error when Customizing Color Schemes : Support
I've checked the memory limit - it's at 256mb - so you're right it's not that.
I've just done a bunchperformance testing- the sites aren't getting any traffic, the sever has a plenty of resources available - during testing today your site is the only one that has been using any resources at all.
At least from the server side, it looks like there isn't anything going on that should effect it. The server is a high end arrangement not a budget one. :/
Anything else you can think of?
I would guess I can hard code the CSS, but it would save me considerable time if I didn't have to.
I'm going to try setting
Bryce Tugwell
The University of Wyoming Biodiversity Institute
________________________________
Phone: 307.766.6280
Cell: 703.622.5989
Fax: (877) 309-6285
?
________________________________
From: concrete5 Community <discussions@concretecms.com>
Sent: Friday, December 16, 2016 1:54:39 PM
To: Bryce Russell Tugwell
Subject: Error when Customizing Color Schemes : Support
I'm still at a loss on this one. You might try posting it in the general forums to see if anyone else has encountered this issue on servers like yours. I don't think it's an issue with the theme given that I am unable to reproduce it anywhere but your server. I wish I could be more help, but this one has me stumped.