• Resolved jamesbisset

    (@jamesbisset)


    When the slideshow is requested, XML data is generated to give imagerotator.swf a list of images in XML format. The file which does this is nggextractXML.php and the first thing it does is go and look for wp-load.php or wp-config.php at this location.

    $root = dirname(dirname(dirname(dirname(__FILE__))));
    require_once($root.'/wp-load.php');

    if your file path is like this:
    /wordpress/wp-content/plugins/nggallery/nggextractXML.php
    then everything will work perfectly, but if you choose to have your wp-config.php and/or your wp-content folder OUTSIDE the WordPress directory then the slideshow gets stuck.

    I’ve fixed it temporarily by just setting the absolute path to wp-load.php, but I’m sure WordPress must have a more elegant solution for developers?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Gallery] Slideshow doesn’t load images – found the bug’ is closed to new replies.