MemoICTMemoICT MemberComments: 1 Received thanks: 0 Member since: April 2017 edited April 2017

With using images in theme development I get the following error anyone has an idea ? When i try to set a picture in the theme config i get this error on the frontend. In backend is also a error but can't copy that one

Fatal error: Uncaught exception 'Less_Exception_Chunk' with message 'ParseError: Unexpected input on line 1, column 3523 1| @setPrecomposed: 1;@offcanvasCart: 1;@offcanvasOverlayPage: 1;@focusSearch: 1;@displaySidebar: 1;@checkoutHeader: 1;@checkoutFooter: 1;@infiniteScrolling: 1;@infiniteThreshold: 4;@lightboxZoomFactor: 0;@brand-primary: #8A0515;@brand-primary-light: saturate(lighten(@brand-primary, 12%), 5%);@brand-secondary: #5F7285;@brand-secondary-dark: darken(@brand-secondary, 15%);@gray: #F5F5F8;@gray-light: lighten(@gray, 1%);@gray-dark: darken(@gray-light, 10%);@border-color: @gray-dark;@highlight-success: #2ECC71;@highlight-error: #E74C3C;@highlight-notice: #F1C40F;@highlight-info: #4AA3DF;@body-bg: darken(@gray-light, 5%);@text-color: @brand-secondary;@text-color-dark: @brand-secondary-dark;@link-color: @brand-primary;@link-hover-color: darken(@link-color, 10%);@rating-star-color: @highlight-notice;@overlay-bg: #000000;@overlay-opacity: 0.7;@font-base-stack: "Open Sans", "Helvetica Neue", Helvetica, Arial, "Lu in C:\Bitnami\shopware\apps\shopware\htdocs\vendor\oyejorge\less.php\lib\Less\Parser.php on line 545
503 Service Unavailable

Code i use in theme.php

$footerContactPicture5 = $this->createMediaField(
            'footerContactPicture5',
            '__footer_contact_field_label__',
            'Frontend/_public/images/no-picture.png'
        );

 

Answers

  • MemoICTMemoICT MemberComments: 1 Received thanks: 0 Member since: April 2017

    Error in backend is very long:

    A server error occurred while processing your request for shop "Demoshop": ParseError: Unexpected input on line 1, column 3523 1| @setPrecomposed: 1;@offcanvasCart: 1;@offcanvasOverlayPage: 1;@focusSearch: 1;@displaySidebar: 1;@checkoutHeader: 1;@checkoutFooter: 1;@infiniteScrolling: 1;@infiniteThreshold: 4;@lightboxZoomFactor: 0;@brand-primary: #8A0515;@brand-primary-light: saturate(lighten(@brand-primary, 12%), 5%);@brand-secondary: #5F7285;@brand-secondary-dark: darken(@brand-secondary, 15%);@gray: #F5F5F8;@gray-light: lighten(@gray, 1%);@gray-dark: darken(@gray-light, 10%);@border-color: @gray-dark;@highlight-success: #2ECC71;@highlight-error: #E74C3C;@highlight-notice: #F1C40F;@highlight-info: #4AA3DF;@body-bg: darken(@gray-light, 5%);@text-color: @brand-secondary;@text-color-dark: @brand-secondary-dark;@link-color: @brand-primary;@link-hover-color: darken(@link-color, 10%);@rating-star-color: @highlight-notice;@overlay-bg: #000000;@overlay-opacity: 0.7;@font-base-stack: "Open Sans", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;@font-headline-stack: @font-base-stack;@font-size-base: 14;@font-base-weight: 500;@font-light-weight: 300;@font-bold-weight: 700;@font-size-h1: 26;@font-size-h2: 21;@font-size-h3: 18;@font-size-h4: 16;@font-size-h5: @font-size-base;@font-size-h6: 12;@btn-font-size: 14;@btn-icon-size: 10;@btn-default-top-bg: #FFFFFF;@btn-default-bottom-bg: @gray-light;@btn-default-hover-bg: #FFFFFF;@btn-default-text-color: @text-color;@btn-default-hover-text-color: @brand-primary;@btn-default-border-color: @border-color;@btn-default-hover-border-color: @brand-primary;@btn-primary-top-bg: @brand-primary-light;@btn-primary-bottom-bg: @brand-primary;@btn-primary-hover-bg: @brand-primary;@btn-primary-text-color: #FFFFFF;@btn-primary-hover-text-color: @btn-primary-text-color;@btn-secondary-top-bg: @brand-secondary;@btn-secondary-bottom-bg: @brand-secondary-dark;@btn-secondary-hover-bg: @brand-secondary-dark;@btn-secondary-text-color: #FFFFFF;@btn-secondary-hover-text-color: @btn-secondary-text-color;@panel-header-bg: @gray-light;@panel-header-font-size: 14;@panel-header-color: @text-color;@panel-border: @border-color;@panel-bg: #FFFFFF;@label-font-size: 14;@label-color: @text-color;@input-font-size: 14;@input-bg: @gray-light;@input-color: @brand-secondary;@input-placeholder-color: lighten(@text-color, 15%);@input-border: @border-color;@input-focus-bg: #FFFFFF;@input-focus-border: @brand-primary;@input-focus-color: @brand-secondary;@input-error-bg: desaturate(lighten(@highlight-error, 38%), 20%);@input-error-border: @highlight-error;@input-error-color: @highlight-error;@input-success-bg: #FFFFFF;@input-success-border: @highlight-success;@input-success-color: @brand-secondary-dark;@panel-table-header-bg: @panel-bg;@panel-table-header-color: @text-color-dark;@table-row-bg: #FFFFFF;@table-row-color: @brand-secondary;@table-row-highlight-bg: darken(@table-row-bg, 4%);@table-header-bg: @brand-secondary;@table-header-color: #FFFFFF;@badge-discount-bg: @highlight-error;@badge-discount-color: #FFFFFF;@badge-newcomer-bg: @highlight-notice;@badge-newcomer-color: #FFFFFF;@badge-recommendation-bg: @highlight-success;@badge-recommendation-color: #FFFFFF;@badge-download-bg: @highlight-info;@badge-download-color: #FFFFFF;@backgroundColor: #eeeeee;@scrollNav: 1;@showTopbar: 1;@filterSidebar: ;@displayAboveCategory: ;@showCategory: 1;@tabletLandscapeLogo: "";@tabletLogo: "virtualPath";@footerBackground: #6a6a6a;@textColor: #000000;@navigationTextSize: 16;@mainLogo: "virtualPath";@setPageWidth: 1260;@footerTextColor: #ffffff;@footerLinkColor: #ffffff;@footerHeadlineColor: #ffffff;@footerContactPicture1: http://localhost:8181/media/image/5f/48/37/index_tcm251-611695.png";@footerContactName1: Alexander Beckhuis;@footerContactNumber1: +49 5942 8189 638 0;@footerContactPicture2: "";@footerContactName2: No name;@footerContactNumber2: +49 5942 8189 638 0;@footerContactPicture3: "";@footerContactName3: No name;@footerContactNumber3: +49 5942 8189 638 0;@footerContactPicture4: "";@footerContactName4: No name;@footerContactNumber4: +49 5942 8189 638 0;@footerContactPicture5: "";@footerContactName5: No name;@footerContactNumber5: +49 5942 8189 638 0;@footerContactFunction1: Gärtenmöbel & Kamine;@footerContactFunction2: Gärtenmöbel & Kamine;@footerContactFunction3: Gärtenmöbel & Kamine;@footerContactFunction4: Gärtenmöbel & Kamine;@footerContactFunction5: Gärtenmöbel & Kamine;@shopware-revision: 201702141330;

Sign In or Register to comment.