Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Less Expected Color Value: Failed At `e.less";` Line: 30 Rate Topic   - - - - -

 
  • sayerice
  • Newbie
  • Trial users
  • Join Date: 10-Mar 19
  • 6 posts

Posted 10 March 2019 - 11:52 PM #1

Hello, in our frontend we get this error message

 

LESS expected color value: failed at `e.less";` line: 30

@import "addons/discussion/styles.less";
@import "addons/discussion/responsive.less";
@import "addons/wishlist/styles.less";
@import "addons/wishlist/responsive.less";
@import "addons/image_zoom/styles.less";
@import "addons/hybrid_auth/styles.less";
@import "addons/abt__youpitheme/styles.less";
@import "addons/ab__seo_filters/ab__sf.less";

 

 

The whole style seems to be broken. What can I do to fix this?

 

Thanks much in advance

saye



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18904 posts

Posted 11 March 2019 - 05:51 AM #2

If you added incorrect code to the CSS section of the Theme editor, corresponding styles can be changed directly in the file

 

design/themes/THEME/styles/data/STYLE_NAME.less


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • sayerice
  • Newbie
  • Trial users
  • Join Date: 10-Mar 19
  • 6 posts

Posted 11 March 2019 - 11:00 AM #3

Hello,

thanks much for the reply. Actually I only made a change to the button colors in the Theme Editor and that is all.

After clearing the cache, the complete style was broken.

 

Now the site does not seem to load the css styles.

.top-menu-grid .ty-menu__item-active a.ty-menu__item-link, .top-menu-grid .ty-menu__item-active .ty-menu__item-link, .top-menu-grid-vetrtical .ty-menu__item-active a.ty-menu__item-link, .top-menu-grid-vetrtical .ty-menu__item-active .ty-menu__item-link { background: rgba(0, 0, 0, 0.15); } .top-menu-grid, .top-menu-grid-vetrtical, .color-block { background: -moz-linear-gradient(90deg, #2C3E50 30%, #22313F 100%); background: -webkit-linear-gradient(90deg, #2C3E50 30%, #22313F 100%); background: linear-gradient(90deg, #2C3E50 30%, #22313F 100%); } .ty-discount-label { background: -moz-linear-gradient(135deg, #d4021c 30%, #d4021d 100%); background: -webkit-linear-gradient(135deg, #d4021c 30%, #d4021d 100%); background: linear-gradient(135deg, #d4021c 30%, #d4021d 100%); } .ab_dotd_product_label { background: #00bbb3; } .ty-product-block .ab__deal_of_the_day, .ty-product-detail.fixed-form .sticky-block { background: white; border: 3px solid transparent; -moz-border-image: -moz-linear-gradient(top right, #ef45a3 0%, #00bbb3 100%); -webkit-border-image: -webkit-linear-gradient(top right, #ef45a3 0%, #00bbb3 100%); border-image: linear-gradient(to bottom right, #ef45a3 0%, #00bbb3 100%); border-image-slice: 1; } .ty-btn__primary { background: -webkit-linear-gradient(135deg, #99d257 30%, #74b632 100%); background: linear-gradient(135deg, #99d257 30%, #74b632 100%); } .ty-btn__primary:hover { background: -webkit-linear-gradient(135deg, #98d155 30%, #5b9d1a 100%); background: linear-gradient(135deg, #98d155 30%, #5b9d1a 100%); } 

That is the current status. The website is installed on a test environment and can be found here: https://selisha.dev-on.info

Any help is much appreciated.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18904 posts

Posted 11 March 2019 - 02:32 PM #4

Depending on the theme you use, default styles can be found in the repository. For example, main styles are located here

 

var/themes_repository/THEME/css/styles.less

 

Try to replace current files with the files from repository


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • sayerice
  • Newbie
  • Trial users
  • Join Date: 10-Mar 19
  • 6 posts

Posted 11 March 2019 - 02:37 PM #5

That is exactly what I did, thanks for the idea.

Actually it does not work. 

 

Maybe its an error due to the cache....? Right now it doesn't even display any errors. The style "standalone.......css"  is not being loaded correctly.

 

Did you visit the URL? Any other ideas, what this could be?

 

Thanks much

Mr Reid



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18904 posts

Posted 12 March 2019 - 01:04 PM #6

Unfortunately, you URL does not work for me 

 

https://prnt.sc/mwt79g


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • sayerice
  • Newbie
  • Trial users
  • Join Date: 10-Mar 19
  • 6 posts

Posted 12 March 2019 - 09:11 PM #7

Hello, yes it seems visits from Russia are blocked directly. Can you use VPN to enter site?

 

Great thanks in advance.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18904 posts

Posted 13 March 2019 - 06:05 AM #8

Please check if the following file exists

 

var/cache/misc/assets/design/themes/abt__youpitheme/css/standalone.ffbf6e5ec3ec597448161c937606384d1552337444.css

 

If yes, set 777 permissions on the var directory and all subdirectories


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • sayerice
  • Newbie
  • Trial users
  • Join Date: 10-Mar 19
  • 6 posts

Posted 13 March 2019 - 09:23 AM #9

No, the file does not exist. What am I going to do now?

 

Thanks much ecomlabs.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18904 posts

Posted 13 March 2019 - 01:12 PM #10

Start from permissions. Possibly CS-Cart cannot create file or directories


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • sayerice
  • Newbie
  • Trial users
  • Join Date: 10-Mar 19
  • 6 posts

Posted 13 March 2019 - 03:51 PM #11

Cs-Cart Customer Care deleted var/cache directory, now its running again.

 

Thanks much, the issue is solved.

 

Regards

Saye



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18904 posts

Posted 14 March 2019 - 06:00 AM #12

Thank you for keeping us updated


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.