• Resolved cbiagi

    (@cbiagi)


    I’ve set up a demo version of a new NGG template I made here:
    https://chrisbiagi.com/cwg-demo/?page_id=1419
    This is not the live site, it’s just to demo to my client before going live.

    Now that we’re ready to go live, I copied my entire theme folder from the demo site to the live site, and also copied my plugins\nextgen-gallery\css folder from the demo site to the live site. I then changed the gallery Page on the live site to refer to the new template:
    [album id=3 template=cwg-toplevel]
    (the name of the album template is album-cwg-toplevel.php)

    However, on the live site, the gallery page gives me the error, “Rendering of template album-cwg-toplevel.php failed”.

    I’m stumped here because everything should be exactly cloned from the demo site, which works perfectly. Also, if I set the shortcode back to the default “template=extend”, it does not give me the error.

    I’ve done this same procedure for three other sites with custom NGG templates, and never had this error before.

    The demo and live sites are both WP v3.0.4 and NGG v1.7.2.

    Any ideas?
    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter cbiagi

    (@cbiagi)

    OK, I’ve figured this out. It was not a problem with NGG at all, it was actually a problem with my updated WP theme. NGG was giving me the error, so I assumed that the problem was related to NGG.

    I had two custom themes in my theme folder, let’s call them ‘old’ and ‘new’. When I made the new custom NGG template, I had to make some very minor tweaks to my WP theme to accommodate it. What I did not realize, is that when I changed the theme from ‘old’ to ‘new’, WP for some reason did not recognize the ‘new’ theme. Since the themes look identical, I assumed that my ‘new’ theme had been applied, but I was really still seeing the ‘old’ theme. The problem is that my custom NGG template was in the ‘new’ theme folder, but the ‘old’ theme was being used, so NGG could not find the custom template I was telling it to use – hence the error.

    Murphy’s law.. the more aggravating and impossible to track down a problem is, the simpler it is to fix once you find it.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NGGallery] "Rendering Failed" on live site, but works fine on demo site’ is closed to new replies.