Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #425527

    Just bought this theme for it’s gallery style and rating system.

    Hope page works fine. Click on another page or post and I’m displayed with

    Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\…\wp-content\themes\expose\single.php on line 121

    Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\…\wp-content\themes\expose\page.php on line 105

    Currently running latest WP version, version 4.1.1–en_GB I’m aware this theme is somewhat out dated. But as I paid for it, I am hoping there is a fix or work around.

    Thanks in advance.

    #426299

    Hey HoodedVillian!

    Could you try to overwrite the whole theme with a fresh copy from Themeforest please?

    Regards,
    Rikard

    • This reply was modified 4 years, 8 months ago by  Rikard.
    #427006

    Hi Rikard

    Already tried that several times, and still does not work.

    Speaking some friends who know a lout about coding, they seem to think…. It has something to do with Line Endings. And I must do something like dos2unix [options] [FILE …] [-n INFILE OUTFILE …] or something???

    #427010

    I think I fixed it…..

    single.php and page.php

    <?
    endwhile;
    endif;

    echo “</div>”;

    $k_option[‘showSidebar’] = ‘page’;
    get_sidebar();
    get_footer();
    }
    ?>

    There was a php missing from the <?

    #427286

    Hey!

    Glad you fixed it. Yes, expose is pretty outdated and if I were you, I will use the latest theme, Enfold. It will save you more time and headache in the long run.

    Best regards,
    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.