No internet connection
  1. Home
  2. Support

Talkyard+Ghost Selfhosted Error on Theme Reload

By @jim
    2022-01-03 13:33:20.810Z2022-01-07 09:29:15.188Z

    Hi,

    I have self hosted instances of Ghost and Talkyard on separate servers. Followed the instructions provided here 3.

    Noticed couple of issues:

    1. Documentation says comment code snippet to be included in: section class=“post-full-comments”
      But post.hbs has only: section class=“article-comments gh-canvas”

      Does the documentation need update and is this the correct place to plug in the integration code?

    2. On pasting the code snippet in this section, theme throws an error on reload. In Ghost log, the following error is found:

      {“checkedVersion”:“4.x”,“name”:“casper”,“path”:"/var/www/content/content/themes/casper",“version”:“4.3.0”,“errors”:[{“fatal”:true,“level”:“error”,“rule”:“Templates must contain valid Handlebars”,“details”:“Oops! You seemed to have used invalid Handlebars syntax. This mostly happens, when you use a helper that is not supported.
      See the full list of available helpers here.”,“failures”:[{“ref”:“post.hbs”,“message”:"Parse error on line 76:\n… {{ <section class=“arti\n---------------------^\nExpecting ‘ID’, ‘STRING’, ‘NUMBER’, ‘BOOLEAN’, ‘UNDEFINED’, ‘NULL’, ‘DATA’, got ‘INVALID’”}],“code”:“GS005-TPL-ERR”}]}
      ThemeValidationError: Theme “casper” is not compatible or contains errors.

      Is there any change in the embed code that needs to be made for compatibility?

    Appreciate your inputs.

    Thanks,
    Jim

    • 1 replies
    1. There are people who use Ghost + Talkyard, however, I don't know if maybe these are issues for them too. Or maybe nowadays new bloggers try out G + Ty and then abandon Ty, because of this.

      Seems I might need to re-read the Ghost docs, and look for changes in more recent Ghost versions, maybe install Ghost locally to try this out, hope to have time ... hmm, next week or the week after