I have a DNN task that just runs some Javascript to calculate the price based on several input fields. This module works great at our production facility, but we had a company that helps us improve the appearance of the site, and the module crashes as part of this new system. (DNN 05.06.00 (459) although it was 5.5 before ... I updated the vain hope that it was a mistake in the old version.)
What is incredibly strange is that the module works fine when I entered DNN and used the edit mode as administrator. In this case, a small piece of JavaScript is loaded fine and filling in the fields leads to a price.
On the other hand, I click "View" (or, more importantly, if I have not logged in at all), the page loads the cached copy. Even stranger, I found that the cache files in \ Portals \ 2 \ Cache \ Pages were generated, and then only cached data was used.
When the cached copy is loaded, JavaScript does not appear (usually created using page.ClientScript.RegisterClientScriptBlock (). In addition, the button that sends data to the server does not execute any server (confirmed by the debugger), but instead reloads the cached copy.
If I manually delete the files in \ Portals \ 2 \ Cache \ Pages, then everything will work correctly, but I have to do it after each page load: I can’t just load the page because it was regenerated again.
Resetting the application (either through the user interface or editing web.config) does not change it, and clearing the cache from the host settings page does not actually clear these cached pages.
I suppose the edit mode bypasses the cache somehow, but I got to the point of disabling all caching on the site (which is terrible for performance), and the cached version is still loaded.
Has anyone seen anything like this? Should I not clear the cache, clear files (I use the File Provider for caching)? Should even a cached page return to the server if the user sends messages back?
EDIT: I have to point out that permissions are not a problem in the cache directory ... other pages of cached output are deleted from this folder, only this page has this problem.
EDIT 2: , . -, DNN 5.6.0. ( - : ). .. , 0 -1 ( ), . , : - .
, , - DNN ( , ).