umbraco tiny MCE 3 internet explorer insert link error - asp.net

I have an instalation of Umbraco 4.0.2.1. In internet explorer (6 / 7) i get an error when trying to insert a link using the tiny MCE rich text editor. basicaly what happens is i can choose the node in the site i want to link to but when i click insert it reloads but the tiny MCE popup does not dissapear and i get the following page error.
Line: 368
Char: 9
Error: 'the Form._SCROLLPOSITIONX.value' is null or not an object
code: 0
URL: "mydev server"/umbraco/plugins/tinymce3/insertLink.aspx
I dont get this problem in Firefox and i have other instalations of umbraco 4.0.2.1 in which this error does not occur. I have tried using WinMerge to comparing the code of the two instalations and they seem identical in all the places i can think would have an effect on tinyMCE ("bin", "umbraco_client\tinymce3", "umbraco\plugins\tinymce3")
I am pulling my hair out over this and any help would be very much appreciated.

I'm not sure about this, but at first glimps I noticed the URL in the error message:
"mydev server"..
My guess: the javascript code cant handle the quotes in the url.
possible solution: remove the space from your server name.
again, its just a guess, hopefully will solve your problem.

Related

Browser Displaying Plain Text

When I view the site www.redfuryrevenge.com with a browser, I see only plain text, as if there is no CSS. When I view it locally using Macrabbit Espresso preview, it looks fine. I tried finding the error using Firefox console, debugger, etc., but nothing pops up for me.
I've never seen anything like this (except for a missing CSS file reference).
Please advise.
it seems that for some reason you need to put the full root.
You can fix it adding the ./
Use the following syntax:
href="./css/style.css"
I've tried it and it should fix your issue

Error shows "Failed to get text for stylesheet (#): No style sheet with given id found", what does this mean?

I'm getting this error in Chrome when it loads this application I am working on:
Failed to get text for stylesheet 50: No style sheet with given id found
Subsequent page loads repeat the error, but with a different number:
Failed to get text for stylesheet 152: No style sheet with given id found
This only happens in Chrome, and only with this application. There is no stack trace, reference, or any other information about what id is given, what the stylesheet in question is, or what is causing this generally. How can I find what is causing this error and fix it?
I had the same problem. It looks like a bug in Chrome's live-edit CSS/JS. Notice how the number changes on each request.
I fixed it by closing all the files that I had edited in the dev tools 'source' tab and then refreshed the page.
The error went away after I closed all the files in the 'source' tab.
I tried to reproduce it after closing the files, but I can't seem to recreate it, yet.
Here is a picture showing where to find the 'source' tab:
Still present in Chrome 46.0.2490.80 m (64-bit).
Closing sources tabs 'fixed' it.
Fixt it by holding [Ctrl] + [Shift] and refresh the page
Just experienced this today if you have a .css file open in the dev tools. If you close the .css file and reload, the issue does not happen.
Chrome 48.0.2564.109 (64-bit)

classic asp in vb script HTML Render Error

ABCpdf error '80070000'
HTML render is blank.
D:\TPABENEFITS\WEB810678\REPORTS../../pages/reports/makepdf.asp, line 240
Hi, recently our website started showing this errors:
ABCpdf error '80070000'
HTML render is blank.
/admin/trucks_printpdfpayments_pdf.asp, line 12
i looked up the error to see what would need to be done to fix it, please note i have no idea how asp works, the original programer of this site is no longer with the company.
Here is a link to the suppourt website: http://www.websupergoo.com/support.htm#security
on 6.7 on ABCpdf it tells me i can add a line of code before (i think the line having an error)
the code would be: Doc.SetInfo 0, "HostWebBrowser", "0"
i have tried and tested it on several places on the file, though since i have no idea what the code is doing i would not really know were to place it.
on a side note, if you know of any places online to study this code let me know

Nested custom error pages in IIS 7

. .
I'm trying to set up IIS 7 to use custom error pages, but I'm running into a problem that I can't seem to get around. I've looked nearly everywhere for an answer to this, and have come up empty.
Here's the deal: I open IIS, go into Error Pages (note: this is a classic ASP environment), and open Edit Feature Settings. I set my path type to Execute URL and set my path (for example purposes, let's say it's "/errors/SomeError.asp"). I also set it to "Custom Error Pages."
For the most part, it seems to be okay, but here's where I run into trouble.
I'm sure you've all seen the errors where your page partially loads, and the error appears in the middle of the page. (For example, you'll see your page template, and somewhere in the middle, you'll see your "Error 500 . . . " blah blah blah.)
The error page I created (the "/errors/SomeError.asp" I mention above) is a full page, complete with template and everything.
When an error occurs mid-page, it does not redirect to my custom error page. Instead, the page is "nested" -- that is, the full page appears right in the middle of the problem page -- so it looks like a full page within a full page.
I want it to go to the error page, not have the error page nested within the page.
How do I get around this?
Thanks in advance.
I just answered my own question.
Instead of setting path type to "Execute URL," I set it to "Redirect." Problem solved.

Error: Object Expected Code 0 Char 1 Line 474

done some html code updates on my company's asp.net website and the above error appears.
i dont have a line 474 on the errored file.
this error only on IE, and not FF.
anybody?
Check inside the source control and try eliminating the changes 1 by 1 until the problem is under control. Then you should have the change that caused it.
It's a javascript error. You're trying to dereference a null pointer in javascript.
These go quietly unless Script Debugging is turned on in IE. If that's the case, you can debug the error by choosing to debug with Visual Studio. Visual Studio Express Web Developer may do as well.
You may be able to see the bug in Firefox as well. Go to "Tools" > "Error Console" in Firefox. Select "Errors", then "Clear" toolbar buttons. Refresh the page then you may see the actual javascript line that's causing the error.
I'll bet you DO have a line 474. Maybe not in your aspx page in Visual Studio, but probably in your browser window. Run the page and view source inside your browser. Then go to line 474 (maybe by pressing CTRL-G). That should point you to the spot.
Another possibility is that the JS error is talking about line 474 in a linked .js file.
Have you tried debugging the page in Visual Studio have you been editing in Notepad? If you debug in VS, you'll see the JS error right away.
As mentioned this codingforums thread, in JScript (IE's equivalent to JavaScript) you should avoid using variable names that are equal to your HTML field names or reserved words for JavaScript/JScript (and possibly HTML?).
So avoid the likes of:
var myname = document.myform.myname.value;
var text = document.myform.myname.value;

Resources