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...Using Modules a...Using Modules a...DNN5: all modules have disappeared!DNN5: all modules have disappeared!
Previous
 
Next
New Post
11/13/2013 8:29 AM
 

Yesterday we had a 100 modules, now there is only 1 module in the dropdown list that Admin can add to the page.
There is no HTML module, no iframe module, no nothing. The dropdown is blank.

screenshot of admin view

I have no idea how this happened. All i did was Host > Extensions > geoRedirect > Edit > unassign that 1 module from1 specific portal and clicked update. And now the "add new module" dropdown is blank, on all our portals. I never edited the settings for html or other modules. How can i restore all the modules in the module list?


Note: our existing sites show the modules that were added to pages, but in the dropdown there is none.


 
New Post
11/13/2013 10:05 AM
 
update:

it seems the modules just got unassigned and can be re-assigned via Host > Module definitions > select your module > pencil > select "all portals" from dropdown > Assign All button & update.

slowly the modules are starting to reappear, but this method assignes them only one at a time.
how can i reassing all installed modules?
 
New Post
11/14/2013 4:24 AM
 
it looks like an upgrade script didn't run. ATM the safest way is manual assignment, but for many modules and many websites, you may insert rows into PortalDesktopModules table via SQL.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/14/2013 10:47 AM
 
thanks for your help Sebastian.
i will add them manually.
 
New Post
11/14/2013 10:54 AM
 

To the OP:

There is a BUG in DNN5 (which I reported and provided a solution for, which was promptly ignored) where the SQL statement that triggers when you Assign/Unassign Premium modules was impacting ALL modules/sites.

The Stored Procedure, DeletePortalDesktopModules has errors in the 2nd and 3rd IF statements.

The IF statements in that procedure SHOULD be:

IF @PortalID is not null AND @DesktopModuleId is not null

 DELETE FROM dbo.PortalDesktopModules WHERE PortalId = @PortalID AND DesktopModuleId = @DesktopModuleId

 IF @PortalID is not null AND @DesktopModuleId is null

 DELETE FROM dbo.PortalDesktopModules WHERE PortalId = @PortalID

 IF @DesktopModuleId is not null AND @PortalID is null

 DELETE FROM dbo.PortalDesktopModules WHERE DesktopModuleId = @DesktopModuleId

The @DesktopModuleId is null was left out of the 2nd statement and the @PortalID is null was left out of the 3rd statement. So, when the first condition was met, the 2nd and 3rd were ALSO met.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...DNN5: all modules have disappeared!DNN5: all modules have disappeared!


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