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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Can't add module after upgrade to DNN 9.0.2Can't add module after upgrade to DNN 9.0.2
Previous
 
Next
New Post
4/18/2017 1:09 PM
 

Things are so complicated and anoying in DNN!! , I'm really getting sick and tired of it!  Here is just a standard story of how things get super frustrating for a simple job (note that I am using this CMS for more than 8 years now)


We wanted to use Lets Encrypt for a SSL Certificate.

1) Of course DNN has nothing built-in to Let's Encrypt and there is no official documentation about it so we start following this blog post: 

https://justinacton.com/2016/08/12/free-ssl-cert-for-dnn-using-lets-encrypt/

2) Since we do not want to break all 'user friendly' URL's we needed to install a module: "Url management".  The module is not core/official, is on Codeplex (which is shutting down) and is an old version which is saying to support "DNN 7.2+"  (Hello, we are on DNN9 nowadays!).
Without any other option, I'm trying to install it.

3) For this module to get started I had to create an Admin page and add the module to it.  (I wonder why this is not done by default installation but ok..).
In DNN 9.0.2 with the new 'Perona bar' I am NOT able to create a new admin page but after Google'ing around I found I could still use ../Admin to go to the old interface and add it form there.

4) Now I needed to go to this page and Add the URL management module to it.  Unfortunatelly the 'Add Module' button doesn't work.  After searching the Forums it seems there might be another module or javascript blocking this.  However,  my error is: 

Uncaught TypeError: Cannot read property 'data' of null

    at Object.onClick (AddModule.js?cdv=591:17)

    at /DesktopModules/admin/Dnn.EditBar/scripts/main.js?cdv=591:182

    at getMenuLoader (/DesktopModules/admin/Dnn.EditBar/scripts/main.js?cdv=591:74)

    at /DesktopModules/admin/Dnn.EditBar/scripts/main.js?cdv=591:180

    at /DesktopModules/admin/Dnn.EditBar/scripts/main.js?cdv=591:157

    at Object.success (/DesktopModules/admin/Dnn.EditBar/scripts/sf.js?cdv=591:50)

    at j (jquery.js?cdv=591:2)

    at Object.fireWith [as resolveWith] (jquery.js?cdv=591:2)

    at x (jquery.js?cdv=591:4)

    at XMLHttpRequest.<anonymous> (jquery.js?cdv=591:4)

onClick @ AddModule.js?cdv=591:17

(anonymous) @ /DesktopModules/admin/Dnn.EditBar/scripts/main.js?cdv=591:182

getMenuLoader @ /DesktopModules/admin/Dnn.EditBar/scripts/main.js?cdv=591:74

(anonymous) @ /DesktopModules/admin/Dnn.EditBar/scripts/main.js?cdv=591:180

(anonymous) @ /DesktopModules/admin/Dnn.EditBar/scripts/main.js?cdv=591:157

success @ /DesktopModules/admin/Dnn.EditBar/scripts/sf.js?cdv=591:50

j @ jquery.js?cdv=591:2

fireWith @ jquery.js?cdv=591:2

x @ jquery.js?cdv=591:4

(anonymous) @ jquery.js?cdv=591:4

 

Where was I ?   Oh.. yeah.. All I wanted to do was installing a certificate and then run into all this trouble.  It's not just this time but for almost everything you want to do you run into trouble of:  Old modules..  Failing upgrades.. Paying a lot for module-support-refreshments after you upgraded the core network and modules stopped working.  ApplicationPools and ASP.NET version hassle... pffff

 

 

 
New Post
4/18/2017 5:38 PM
 

Why don't you just spend a few dollars and buy an SSL cert and install it on the server. No special DNN configuration required. This seems like a cheap and hacky approach to what is normally a straightforward, non-dnn-specific process. 

 

 
New Post
4/18/2017 10:14 PM
 
Are you sure that you need URL Management? The special answer file is needed to prove ownership of the domain. It may be that this is only needed for the initial setup and isn't required for renewal.

If it's not needed at renewal maybe you could turn off friendly URL's, do the initial setup and certificate install, turn friendly URL's back on.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
4/24/2017 12:10 PM
 
@Erik Hinds:

The advantages of Let's encrypt: (which becomes more a standard nowadays)

- Automatic Renewal
- Free for unlimited number of domains. So I can set it up for every DNN portal and have every portal renew automatically..

I can't do the above with a Godaddy or Verisign certificate.



Richard Howells:

Besides the URL management would indeed a special answer file, however that will be automatically created as far as I know. An option could be (like you say) to switch the site to 'humanfriendly' at the time of requesting/renewal and then set it back to 'advanced' when done. The module 'URL Management' is used so you don't need to do this.


For the moment I am still stuck in the problem that I can't add a module to a page after the upgrade to 9.0.2 (see the above error)..
 
New Post
4/24/2017 12:21 PM
 
Erik Hinds wrote:

Why don't you just spend a few dollars and buy an SSL cert and install it on the server. No special DNN configuration required. This seems like a cheap and hacky approach to what is normally a straightforward, non-dnn-specific process. 

 

The advantages of Let's encrypt are:

- Automatic Renewal
- Free for unlimited domains (So once I set it up, I can use it for 100+ portals if I want)

Let's Encrypt becomes quite usual these days (since StartSSL is not trusted by Apple and Google anymore).



Richard Howells wrote:

..Are you sure that you need URL Management?..

 

You are right that I can switch the site to 'humanfriendly', then do the request or renewal and then switch it back to 'advanced'.  However, when using the 'URL Management' module, you can skip this because the module is a workarround for that situation.

You are righjt that you need an special answer file but, as far as I know, the script takes care of that.

 

For the moment I am still having the problem that I can't Add a module to a Page since the upgrade to DNN9.0.2. (see above error)

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Can't add module after upgrade to DNN 9.0.2Can't add module after upgrade to DNN 9.0.2


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