Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryConfiguration error with V3.00.11Configuration error with V3.00.11
Previous
 
Next
New Post
12/19/2005 9:49 PM
 

Adeian,

I can understand that you are somewhat dissapinted but irony will not make the module better, nor will that attitude gain anything for anyone.

Everyone,

Please notice that the module is still in BETA (Although it doesn't say so, this will surely be corrected). Since Source is available, maybe we can all surf through it and try to find the culprit.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
12/19/2005 10:34 PM
 
rogerselwyn wrote

Well it seems to be failing getting file extensions in the Page_Load for the settings page. Looks like it's when it tries to assign the value to 'lblImageExtensions.Text'.

To me as a relative coding novice, it doesn't look like the ascx ties up with the code behind, since lblImageExtensions isn't present in the ascx, whilst txtImageExtensions is.

You are correct.  It appears as though they meant to change the scope to no longer allow file extensions to be set in the Gallery configuration.  The issue is also with lblMediaExtensions.  Until Core Team updates the download package, here is a fix I applied that seems to be working fine without having to recompile:

I changed lines 82-90 in Settings.ascx to (changes highlighted):

<tr>
 <td class="Gallery_RowPanel" width="220" height="24">&nbsp;
  <dnn:label id="plImageExtensions" runat="server" text="Image Extensions:" controlname="lblImageExtensions"></dnn:label></td>
 <td class="Gallery_Row" align="left"><asp:label id="lblImageExtensions" runat="server" CssClass="Normal"></asp:label></td>
</tr>
<tr>
 <td class="Gallery_RowPanel" width="220" height="24">&nbsp;<dnn:label id="plMediaExtensions" runat="server" text="Media Extensions:" controlname="lblMediaExtensions"></dnn:label></td>
 <td class="Gallery_Row" align="left"><asp:label id="lblMediaExtensions" runat="server" CssClass="Normal"></asp:label></td>
</tr>

Hope this helps others experiencing this issue.

 
New Post
12/20/2005 7:34 AM
 

Hi

I've tried to apply your changes, but I've now a "critical error" - Object reference not set to an instance of an object.

Did you had the same problem?

Thanks in advance

Daniele

 
New Post
12/20/2005 9:51 AM
 
Daniele, I received that error prior to making the changes.  After I made the changes, I no longer get that error and am able to access the configuration page with no problems.  Try to cut and paste my changes into Notepad (to remove the html formatting from these forums), then cut/paste from Notepad into Settings.ascx over the 2 rows that use Textbox for Media and Image extensions (Lines 82-90 in Visual Studio).  (Be sure to backup your files first!)  Save Settings.ascx, browse to Gallery, hit Refresh, then try to access configuration.  If you are still receiving the error, can you please send the full error details from the Log Viewer (under Admin tab).  Hope that helps.
 
New Post
12/20/2005 11:55 PM
 

DJ Doug, Great works a treat.  I can now finish some stuff.  :)  I've made the settings.ascx file available for DL from my site for anyone who doesn't want to edit the file themselves.

Crispy I know you think I'm a complainer but I'm not really, promise. 


Paul Davis
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryConfiguration error with V3.00.11Configuration error with V3.00.11


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out