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.

1 Attachment

Type: Pre-Sale
Status: In Progress
btugwell
View Replies:
corywebb replied on at Permalink Reply
corywebb
Strange, you're the first person to experience this issue. I'll take a look and see if I can reproduce it.
btugwell replied on at Permalink Reply
btugwell
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
corywebb replied on at Permalink Reply
corywebb
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
btugwell replied on at Permalink Reply
btugwell
Sent you an email
corywebb replied on at Permalink Reply
corywebb
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
corywebb replied on at Permalink Reply
corywebb
corywebb replied on at Permalink Reply
corywebb
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?
btugwell replied on at Permalink Reply
btugwell
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 <[email protected]>
Sent: Friday, December 16, 2016 1:54:39 PM
To: Bryce Russell Tugwell
Subject: Error when Customizing Color Schemes : Support
corywebb replied on at Permalink Reply
corywebb
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.

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.8
Version Installed - 5.7.5.8
Database Version - 20160412000000

# concrete5 Packages
Motif (0.9.4).

# concrete5 Overrides
languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
apache2handler

# PHP Version
5.3.29

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, pgsql, pspell, Reflection, session, SimpleXML, snmp, soap, sockets, SourceGuardian, SPL, SQLite, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 200
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 200
max_input_vars - 1000
memory_limit - 256M
post_max_size - 512M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 512M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.