2sxc Edit UI no longer appears - dotnetnuke

My DNN site is running 7.4.2 and I'm running the latest 2sxc, 08.05.06. I have this strange issue where when I try to edit any content items, instead of displaying the edit dialog, it's now just displaying a bunch of javascript.
Before:
After:
As far as I know nothing has been deliberately changed on the site and I'm not seeing any errors in the browser console related to the module. No errors are showing in the Event Log either. I've tried reinstalling the latest release overtop to try to repair anything that may have been corrupt or missing but that didn't solve the issue. Any ideas what might be happening here?

The JavaScript inside the ui.html seems to show, instead of run. I believe that this file is somehow damaged, that the script tag isn't open/closing correctly.
-- correction --
To anybody reading this - it turned out that the web-server of this user was reconfigured, causing HTML files to be handled as plain-text. So this was a user bug.

Related

Display issues on iPad/Safari when using minified JS

This is a really strange issue that I've been trying to figure out for several days with no luck. It only happens on slow iOS devices, it doesn't happen every time, and it only happens when using minified JS code (both Angular and my app code).
When the issue occurs it looks as though Angular just stops processing the code and leaves the "mustaches" on the page as can be seen in the attached screen shot. If I switch to using the non-minified versions of my JS files as well as the non-minified angular files then it works just fine. I've used Safari developer tools to debug this issue, but there are no exceptions thrown and it looks like all the data is being set correctly on the scope.
Any help/ideas with this issue will be greatly appreciated.

Why I don't see update of my angular project with firefox?

I took the hot towel template from John Papa's blog and running it with VS 2013.
So, I am working on the apps, but wierdly, I don't see the updates of my project, when I run it with firefox (lastest version), but it works well with Internet explorer (also lastest version). And I don't understand why.
Even a little update in an html file, is not visible in Firefox, but it is in IE.
Does somebody have any explanations to this?
I am not sure if this is the right stack overflow section for this question, if it is not, I will delete it, and rewrite it into the right one.
Thank you.
Have you tried to reload the page ?
If it works free the cache after each update.
I hope my answer fit you.
Try using Firebug, make sure your html file is getting loaded, also disable browser caching. Don't forget to reload the entire page after any updates.
If / when you have success pls post your solution.

textAngular pasting in IE not working

I'm using textAngular as a WYSIWYG text editor in an angular app. It is a fantastic library that is essentially plug and play. It works perfectly in Chrome and Firefox.
The problem is when I attempt to paste some text into the textAngular window in IE it simply doesn't work. It doesn't raise any console events, throw any exceptions or anything. On the network, it calls 4 URLs, which are then all aborted. They are:
http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css
http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css
http://fonts.googleapis.com/css?family=Roboto:400,300
http://www.textangular.com/css/style.css
This network activity does not happen in Chrome and Firefox. So, I think that is where the problem is. But for the life of me I can't figure out what is going on. It doesn't look like this problem has been reported to the textAngular team or has been asked on stack overflow.
Does anyone have an I idea of how I can remedy the situation?
Edit:
Here is a plunk replicating the situation. It is the demo from the github repo, almost verbatim (the link to the textAngular links were dead, and I got ride of the initial text). I'm pretty sure that it is just a problem within the 1.2.2 library and I'm going to report a bug. The version on the main page is 1.2.0. Thanks for you help!
I tested your solution on IE 8,9,10 & 11 without any issues. I did however notice it the page was not formatting correctly no IE. It could be an issue with escape characters.
If you could provide some more details about your system, for example: IE version, the code you tried to paste etc. I think I may be able to sort this one out.

drupal site UI stopped working for reasons unknown

Am working on a drupal-7 site but it suddenly has stopped showing the correct theme and just shows a garbled UI.
have thought about it and cannot seem to locate the reason for this.
wanted to ask that if any suggestions can be given of this . secondly is there a way to refresh the drupal site (i.e. run the drupal site installation process again without re-installing/deleting any physical file/database).
hope to have made the question clear :)
Two common reasons.
The last thing you did broke it.
Someone hacked it.
Reinstall the exact same version of drupal in a new folder with a new empty database. If the only things you changed were the content (no PHP patches etc), then you should be able to simply switch databases. You could also diff the installations to see if any files were altered.
issue solved. problem came apparently from a module (custom made) which had function name same as used somewhere else on site.
thank you for time and suggestions

Silverlight 4 Out-Of-Browser issues: app displays blank (white) screen, no exceptions thrown, no breakpoints hit

I'm having issues with Silverlight 4 Out-Of-Browser, as specified in the title.
What I did:
Update project settings to enable Out-Of-Browser. This enabled OOB, but when I ran the app in this way it just displayed a white screen.
What I have done to try to fix this:
All references to the System.Windows.Browser.HtmlPage (to avoid DOM interaction) have been removed as per various sources including this SO question and this blog post.
Remove any references to SizeChangedEventHandler as per this SO question.
Clean projects/solution, including ideas such as deleting *.suo files as per this blog post
Uninstalling the installed OOB app, reinstalling
Also:
As commented on by "kobruleht" here, attempting to attach the debugger does not appear to work. Visual Studio (2010, SP1) reports that it is attached without help from me, but breakpoints are not being hit.
And so:
Can anyone advise on other courses of action? At the very least I'd like to be able to step through and hit breakpoints (or even break on Exceptions!)
OK, I have a resolution.
In AppManifest.xml I specified assemblies to be loaded, one of these was not loading correctly, which meant that App.xaml.cs->App()was never reached. The problem is difficult to diagnose because the program runs, with no errors or exceptions, but then displays a white screen - quite misleading.
For anyone experiencing the same problem, the simplest debugging steps to take in this case is to run the app in in-browser mode, copy the results from the Output window, then compare the results from the Output window when you try to run in OOB mode. Any discrepancies will give a good hint to the problem.
I should also mention, that I have not had trouble with SizeChangedEventHandler as mentioned above.

Resources