[Not a valid template] – Migrating from staging server to live site
-
Album page and gallery page both use custom templates which are referenced via the usual shortcode. Both templates have been placed in theme/nggallery folder.
Album and galleries work great on staging server, but when pushed live, the Galleries page gets the error [Not a valid template].
Note – the initial ALBUM page linking to the individual GALLERY page with the error works fine. It is ONLY happening on the GALLERY page.Seems this is a very common issue and unresolved bug going back years.
If I modify my shortcode to use an absolute URL, template fails. If I use any combination of other paths, template fails.
WHy does this work on a staging server and not on a live server?
I have tried all of the usual responses – reset gallery, reset image cache, changed name of templates and re-referenced.Why does this only happen on the GALLERY page and not the ALBUM page?
- The topic ‘[Not a valid template] – Migrating from staging server to live site’ is closed to new replies.