Sorry to say, it's me again ... I've downloaded the sample templates and am finding the exact same issue. I can get the clonable news template to work, but the first time visiting news.php generates this error:
and the first visit to nyhet.php generates this error:
I then deleted the lang_group tag from both templates, re-registered them and they work OK i.e. I can switch between en/news.php and no/nyhet.php via the links my_link_no and my_link_en - hooray, that's good! BUT ...
I am back to square one with the index.php templates - i.e. the non-clonable templates:
I click view site from the admin panel, am redirected to http://localhost/vertavofestivalen/en/index.php because of the my_lang variable being set in the root level index.php This generates:
I try to visit http://localhost/vertavofestivalen/no/index.php
WHen I then delete lang_group tags from both no/index.php and en/index.php, re-register templates, I can visit them OK. I then replace the lang_group tags, re-register the templates and the language links still don't work - there are no my_link_ tags after doing a cms:dump_all
What am I doing wrong or differently to you? I am using Couch V2.0 (20160523) ..... heeeeeeeelp
- Code: Select all
ERROR: Tag "reverse_related_pages": masterpage 'no/nyhet.php' not found
and the first visit to nyhet.php generates this error:
- Code: Select all
ERROR: Tag "related_pages": relation field 'related_page' not defined in no/nyhet.php
I then deleted the lang_group tag from both templates, re-registered them and they work OK i.e. I can switch between en/news.php and no/nyhet.php via the links my_link_no and my_link_en - hooray, that's good! BUT ...
I am back to square one with the index.php templates - i.e. the non-clonable templates:
I click view site from the admin panel, am redirected to http://localhost/vertavofestivalen/en/index.php because of the my_lang variable being set in the root level index.php This generates:
- Code: Select all
ERROR: Tag "reverse_related_pages": masterpage 'no/index.php' not found
I try to visit http://localhost/vertavofestivalen/no/index.php
- Code: Select all
ERROR: Tag "related_pages": relation field 'related_page' not defined in no/index.php
WHen I then delete lang_group tags from both no/index.php and en/index.php, re-register templates, I can visit them OK. I then replace the lang_group tags, re-register the templates and the language links still don't work - there are no my_link_ tags after doing a cms:dump_all
What am I doing wrong or differently to you? I am using Couch V2.0 (20160523) ..... heeeeeeeelp