File Gallery
[resolved] debug options and help? (4 posts)

  1. electrolund
    Posted 3 years ago #

    Hey there, great plugin. I'm trying to follow the instructions in this thread about enabling debugging. Aesqe said

    I've added a basic debugger to File Gallery 1.7-RC11... To see debugger output, you need to define a constant in your theme's "functions.php" file, like this:

    define('FILE_GALLERY_DEBUG', true);

    and then add a 'file_gallery_debug' variable to your gallery URL, like this:


    I'm tripping up on that last instruction. What is this URL? It's not the plugin URL, which is somesite/wp-content/plugins/file-gallery/

    It's not the shortcode, which is simply [gallery], what is that?


  2. Aesqe
    Plugin Author

    Posted 3 years ago #

    @electrolund: just add "?file_gallery_debug" to the end of your url, like this: http://www.electrolund.com/2012/01/if-a-tree-falls-in-your-backyard/?file_gallery_debug

    I'm not sure what the output will be, though, probably not much, as I haven't been adding any new output to it :/

  3. Aesqe
    Plugin Author

    Posted 3 years ago #

    In the next version of the plugin, I'll hook all the debugging to the Debug Bar plugin. You'll have to install it, but I think that having all debug data in one place makes it waaay easier to see what's going on under the hood.

  4. electrolund
    Posted 3 years ago #

    Hey that's cool. I didn't even know about Debug Bar, so thanks again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • File Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic