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...Administration ...Administration ...All page/portal data vanishes?All page/portal data vanishes?
Previous
 
Next
New Post
2/8/2008 8:56 AM
 

Hi folks,

I run a fairly popular Web site based on DNN 4.06.02. This site has only one portal, and it is the default portal.

Last night I noticed to my dismay that something very strange had happened to the site. At least the page-related configuration settings related to the portal have simply disappeared. Specifically it seems as if DNN has simply forgotten that the portal contained dozens of pages -- with the exception of a few built-in pages such as Login and Terms of Service, attempts to resolve the urls of various pages on the site simply display the content of the homepage.

Logging in as a site admin seems to confuse the software quite a bit - the navigation bar is empty, not even displaying the drop-down Admin menu. Logging in as host gives me a Host drop-down menu but nothing else (there ought to be an Admin menu too, and lots of other entries on the bar which I put there). I tried to edit the settings for the default and only Portal on the site using the Host > Portals page, but when doing so, I got a 404 error. The Host > Portals page also displays an exception message under the actual module that lists the portals on the site:

 Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Admin.Portals.Portals.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

 

From running spot checks on my SQL server, all the data for the portal seems to be intact -- specifically tables such as HtmlContent and Tabs and the Modules tables are intact; and the portal has an entry in the Portals table.

I don't believe any changes have been made to site configuration recently, though I've sent mail to my assistant site admin and my hosting provider to double-check.

Anyone have any thoughts as to what might be going on? I have considered just restarting the app to see if that fixes it, but I have not restarted the app before -- is there any possibility this could cause data or state loss or some other kind of problem?

Any suggestions?

Thanks,
Aaron

 
New Post
2/8/2008 11:08 AM
 

I may be misunderstanding your post, but...  Have you changed the skin as well?  Does the skin you're using have a "ContentPane" in it?


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
2/8/2008 5:59 PM
 

Hi,

Yes, I've changed the skin to something custom-made. It does contain a ContentPane. The skin has not been changed in a month or two, though.

I've verified that the site has not been modified by my assistant site admin. I guess that the best way to describe this error is that while definitions exist in the default portal for many different pages and modules (the SQL data for all these pages and modules is intact), yesterday the application simply stopped recognizing them, and trying to load any user-defined page on the site instead displays the homepage content. Is that more clear?

Thanks,
Aaron

 
New Post
2/8/2008 9:56 PM
 

I dunno, sounds to me like most of the site's pages had some sort of skin defined and what broke the site is that the skin has been deleted/removed from the site, resulting in the errors.

That will quickly break a page from displaying, yet all of the intended content will still be resident in the database as you describe.

It could also be due to somebody simply renaming something in the path or skin name that DNN is looking to as it tries to load the intended skin or container.


Eric Swanzey
www.swanzey.com
 
New Post
2/11/2008 3:25 PM
 

achooyeah is right.  Look in the Tabs table of the database, or the PortalSettings.  When you notice references to skin paths, verify the path to make sure it exists.  All path references will be preceded with a letter.  This just tells the Core code whether the skin is in the Host or Portal directory.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...All page/portal data vanishes?All page/portal data vanishes?


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