Simple Gallery Module Error: The Controls collection cannot be modified because the control contains code blocks
I've come across this issue twice lately on two seperate DNN installs so I thought I make a note here for anyone googling it.
As it turns out, the Simple Gallery module does not play nice with DNN's module cache time. Starting with DNN 4.4.x (it might have been introduced earlier ... does anyone remember?), any given module has a cache time of 1200 seconds to improve performance.
The cache time is set in Module Settings | Page Settings | Advanced Settings. Since caching is disabled when logged in as host or admin, you will be able to set the cache time to zero on your Simple Gallery module without a problem. After making that change the page containing the gallery will load just fine for any user.
Comments are closed