[resolved] [NextGen Gallery] Combination with other db-using plugin (2 posts)

  1. CatzHoek
    Posted 6 years ago #

    Hi together,
    i wrote my own Plugin that will create and use the wp database and ran into problems in combination with ngg.
    That's exactly the code i used:
    (just added the activation hook to the bottom of the code)

    But NextGen Gallery will stop showing pictures added to articles as long as this Plugin is activated. As soon as i disable my own Plugin it will start working again.

    When manually browsing to the picture location while having my custom plugin activated i will get this error: (poorly translated from german ;D)
    The gfx ./wp-content/plugins/nggallery/nggshow.php?pid=1&width=320&height=240&mode=" cannot be displayed because it's containing errors.

    When disabling my Plugin the same URL will show the Thumbnail as it should.

    Does anyone know how to get arround this?

    Thanks a lot

  2. CatzHoek
    Posted 6 years ago #

    Solved, i had whitespaces at the end of my plugin file. Deleting them and ensuring ?> to be the last thing in the php file solved the issue.

    I found in this thread:

Topic Closed

This topic has been closed to new replies.

About this Topic