Closed (fixed)
Project:
Link to content
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Oct 2006 at 20:26 UTC
Updated:
19 Jan 2007 at 07:39 UTC
Jump to comment: Most recent file
Comments
Comment #1
stborchertHi.
Are there any errors (php errror log; javascript errors)?
Which browser do you use?
Comment #2
ianchan commentedThe problem seems to be specific to Firefox 2 on WinXP. I am able to get past the loading image on IE6 and 7, Camino, and Firefox 2 on Mac.
However, with Firefox 2 on WinXP I cannot get past the loading image unless I reload the popup window. There are a number of javascript errors on the console but only these one maight be relatd:
Error: Components is not defined
Source File: chrome://ytoolbar/content/ytoolbarOverlay.js
Line: 340
Thanks for your help.
Comment #3
stborchertHaven't tested this, yet.
Could you please post any that have "linktonode" in its path.
Hm, that's a firefox script. I do not have any influence on it.
Please clear the list, call the popup and then copy (or make a screenshot) of the errors.
thanks for your feedback,
Stefan
Comment #4
jwilde commentedHey Guys,
This problem is not making sense. Things load for me on an upgraded 4.7.4 site using FF 2.0 and IE 6 but on a new one, 4.7.4, it doesn't load. I even tried older versions of linktocontent, back to aug., and they don't work with 4.7.4.
I don't think the problem is with the browser or os. I keep playing around, time permitting, and report anything new.
Jim
Comment #5
stborchertHm, really weird.
There is one (in the meantime) standard procedure to isolate errors.
Type
?q=ltc/linktonodein your browsers location bar.Then you should see something like this:
Please say you do. :-}
Comment #6
jwilde commentedlol
I do - i do!
This is crazy. It is now working in FF but not in IE. This is from IE:
{ "category": [ { "vid": "2", "tid": "2", "title": "Free tagging" }, { "vid": "1", "tid": "1", "title": "The Organization" } ], "node": { } }
and this from FF 2.0:
{ "category": [ { "vid": "2", "tid": "2", "title": "Free tagging" }, { "vid": "1", "tid": "1", "title": "The Organization" } ], "node": { } }
Jim
Comment #7
stborchertHm, looks good and should work in both browsers.
Try to clear the IE-cache (don't know if its working, but its worth trying; I do not know what it could be :-{ ).
Comment #8
ianchan commentedI think the issue is most likely browser and OS specific. I looked at the Firefox error console on Mac and Windows. On Mac there are no errors - only warnings relating to CSS statements. However, on Windows, there is an error relating to browser chrome.
Attached is a screenshot.
Comment #9
stborchertBoth FF2.0? I tried FF from version 0.6 to 1.5.0.7 and all are working. Did not try FF2 yet, but will do this now.
Comment #10
stborchertAhem, I tried FF2.0 (WinXP) and it worked without any errors.
I love those strange errors :-)
Comment #11
stborchertNo news?
Comment #12
niklp commentedEek... Well, I get this error from Firefox (1.5.0.8):
Error: [Exception... "'Permission denied to get property XULElement.accessKey' when calling method: [nsIDOMXULLabelElement::accessKey]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: {mydomain}/modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php?js=true&plugins=style%2Clayer%2Ctable%2Csave%2Cadvhr%2Cadvimage%2Cadvlink%2Cemotions%2Ciespell%2Cinsertdatetime%2Cpreview%2Cmedia%2Csearchreplace%2Cprint%2Ccontextmenu%2Cpaste%2Cdirectionality%2Cfullscreen%2Cnoneditable%2Cvisualchars%2Cnonbreaking%2Cxhtmlxtras&themes=simple%2Cadvanced&languages=en&diskcache=false :: anonymous :: line 1" data: no]
Source File: {mydomain}/modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php?js=true&plugins=style%2Clayer%2Ctable%2Csave%2Cadvhr%2Cadvimage%2Cadvlink%2Cemotions%2Ciespell%2Cinsertdatetime%2Cpreview%2Cmedia%2Csearchreplace%2Cprint%2Ccontextmenu%2Cpaste%2Cdirectionality%2Cfullscreen%2Cnoneditable%2Cvisualchars%2Cnonbreaking%2Cxhtmlxtras&themes=simple%2Cadvanced&languages=en&diskcache=false
Line: 1
And this one from IE 6 (6.0.2900.2180.xpsp2-etc):
char: 5
error: object expected
code: 0
Url: /modules/tinymce/tinymce/jscripts/tiny_mce/plugins/linktonode/popup.php
Don't know what anyone makes of that?? Sorry for being a layout-breaker...!
I think I might have performed steps 3 & 4 in the installation procedure in the wrong order by mistake, but it seems to work anyway, apart from this bit (list fails to load).
Fairly essential, any advice would be helpful.
Thanks in advance.
Comment #13
stborchertHi.
Which OS and php are you using?
Hm, it seems that the tinyMce-object isn't initialized correct. Is tinyMCE working at all?
This does not matter (well, it should not matter ;-) )
And the select-box is filled with your categories?
What do you get if you try http://drupal.org/node/92060#comment-151128?
A lot of questions and no answer, yet :-)
Comment #14
niklp commentedPart of this problem might be that I'm just trying all this out for the first time. I didn't have any vocabularies set up when I first posted. I have set some up, and these now appear in the AJAX cascading menus on the popup. However, I clearly haven't worked out what's going on with all this yet, as there are no nodes appearing in my menu (not enough time playing yet).
However, I now get a response from {site}/?q=ltc/linktonode, namely:
{ "category": [ { "vid": "1", "tid": "1", "title": "Test Category" } ], "node": { } }
The editor otherwise appears to run fine (apart from the error), though the javascript error remains on FF though and also IE. The client OS is WinXP SP2. The server is a straight *nix box of some random kind running PHP5. It's a Javascript error though isn't it...?
Comment #15
MichaelCole commentedI got the same behavior with the TinyMCE / link to node I just put together. It works on my production site from October, but not on this December assembly.
IE works.
FF 2.0 never finishes loading. I tried enabling just the forums, and just the story nodes. No dice.
I get stuff like this:
Warning: Unknown property 'filter'. Declaration dropped.
Source File: http://localhost/modules/Usability/Editors/TinyMCE/tinymce/tinymce/jscri...
Line: 139
And then after some playing with it, I get this:
Error: tinyMCE.restoreClass is not a function
Source File: http://localhost/node/add/story
Line: 1
Great module and idea! Cant wait to get the new version!
Mike
Comment #16
stborchertHi.
Which version(s) do you use?
This is a css error in tinMCE's stylesheet and I don't think it can cause such behaviour.
Me too :-)
I fear the new version would take a long time (perhaps february?) because of some reasons:
- tinMCE isn't updated to 5.x yet
- my exams are very near
But there will be a lot of improvements in the next version.
Comment #17
ianchan commentedThe plugin now works correctly within 2.0.0.1. I think there was a conflict with a Firefox extension. Uninstall several extensions and both the javascript error and the problem with loading the linktonode list have gone away.
BTW -- Thank you for creating this excellent (and much needed) Drupal plugin/module.
Comment #18
stborchertHi.
Ah, I never thought about firefox extension causing such problems.
Thanks for your hint and your laud.
BTW: I plan to release a 5.x version in february or in the beginning of march.