Shown error at xampp local server - by longfit

This topic has 4 replies, 2 voices, and was last updated 9 years, 6 months ago ago by Eva Kemp

  • Avatar: longfit
    longfit
    Participant
    May 28, 2015 at 12:02

    Hi

    I have installed idstore theme at local server xampp

    but when I click shop menu item
    error shown

    Parse error: syntax error, unexpected ‘}’ in C:\xampp\apps\wordpress\htdocs\wp-content\themes\idstore\woocommerce\archive-product.php on line 68

    please help me how to fix it

    Mr Yeung

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    May 28, 2015 at 12:14

    Hello,

    You need edit the file wp-content\themes\idstore\woocommerce\archive-product.php on line 62, you’ll see the code <? if(isset($cat->description) && $cat->description !='' && !is_shop()) {. You need add “php” at the beginning so it will be <?php if(isset($cat->description) && $cat->description !='' && !is_shop()) {

    Please try it.

    Regards,
    Eva Kemp.

    Avatar: longfit
    longfit
    Participant
    May 30, 2015 at 07:25

    Problem fix and thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    May 30, 2015 at 08:59

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘shown error at xampp local server’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.