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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Broken host accountBroken host account
Previous
 
Next
New Post
4/20/2007 10:11 PM
 

Hi, I was wondering if anyone knew what might be going wrong with my host account..

I was deleting a page (as host) and then thought, whoops I don't really want to delete that.. so before the page returned from deleting (and it is a slow server), I quickly hit the back button on the browser.

So after this, when I am logged in as this user (host) I cannot see any content in my modules. I have restarted the site in host settings & run iisreset aswell, logged in and out a number of times, flushed the browser cache and even used another PC. The Text/HTML module is not showing the Edit Text action any more although the site appears to be in edit mode.

But, if I am logged out then I can see the content normally.
If I log in as another user then I can see and edit the content normally.
And I created another host account and everything works normal there too.

So what could be going on with this host account? (all I did was interrupt a delete page request)

Running the latest DNN 4.5.1. Only have 1 portal.

PS: I am a programmer (just new to DNN) so you don't need to waste time dumbing down any answer or checking procedure. If you have any ideas please let me know!! Thanks.

 
New Post
4/21/2007 9:09 AM
 

hitting the back button on your browser does NOT perform an undo!

if you deleted a page or module by accident, you need to restore it from the recycle bin.

after you changed content, it might happen, that anonymous users still get presented with a cached version of the page.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/21/2007 9:54 AM
 

Hi Sebastian,

Yes of course I am fully aware of that!! (see the last line of my post)

What has happened I believe, is that I interruped the delete page operation. So now with THIS particular account ONLY, I cannot see any content in ANY module on ANY page. I have Text/HTML, User Defined Table and IFrame modules. The action buttons (eg. Edit Text, Manage User Defined Table, etc..) (and the content) are simply not showing for this user, whether in Edit or View mode. The user is still a superuser class user.. the Admin & Host menus are still available and I can see these pages normally. (I even created the new superuser account)

But for all other accounts, and when logged out, the site is working perfectly, as expected. And I can see by looking in the database that the content is there, and also I created a brand new user and even used another 'new' machine.. so I am sure it is not cached as I originally inferred .

It is very wierd, and worrying, that this could happen as simple as this!! (or else I wouldn't be posting here)

I haven't started working with the source yet, so I am hoping that someone who already knows what is going on during a "delete page" could shed some light. ie. how could this be linked to the user account and how could this be then linked to the non-showing of the actions buttons/content for ONLY this particular user for all modules. (well at least the 3 types I mentioned above)

 

 
New Post
4/21/2007 12:04 PM
 

Does your host account only have an issue with the module you were interupted deleting?  If so, the issues is probably due to the fact that part of the delete was done but not all of it (There are multiple tables updated when you delete a module from a page).  If the module is in the Recycle bin, try to restore it and then access the site (as sebastian suggested). 

If this does not work (which it might not since the delete was interupted), you might have to manually make sure all the related files are marked correctly.

Lesson Learned: Do not interupt deleting a module by using the back button.  The recycle bin was added for the very reason you hit the back button (accidently deleted a module).  Hope this helps.

 

 
New Post
4/21/2007 11:44 PM
 

It is ALL modules, on ALL pages!! (for this single user only) ie. The original page only contained an Text/HTML module, but now all of the other modules are exhibiting the same behaviour, eg. IFrame, User Defined Table and Text/HTML. Basically the only modules that work are those under Admin & Host.

While you might say "don't press back during an x operation, the recycle bin will save you", this is not good enough.. ie. had my connection dropped out for example, or I clicked the delete link twice, etc... there is such a high probability of these things happening in a web environment that any web application just has to accept it, and deal with it, and certainly not corrupt the database in any way. If a normal user can corrupt the database so easily, constrained to a normal browsers behaviour, just think of what a hacker could do to it...

I would have assumed that all operations are wrapped in sql transactions? (probably not though, if this could occur)

In the next week or so I will get into the source and no doubt find out what is going on. While the user is recognised as a superuser (admin/host menu is functioning), I think something is telling the modules that the account doesn't have edit permission.

Like I said, I am new to DNN so I don't know the data model yet, on the surface there appears to be 2 sets of user/role tables, etc.. So I am hoping that someone who already knows the model backwards could theorise on how an interrupted delete page op could result in a superuser account not having edit permission on any module. (view doesn't work either) But for all other users the site works perfectly.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Broken host accountBroken host account


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