So I have two different sites currently being worked on. One is on another developers machine and our staging server, the second is just on my machine. Different development environments
Site #1
Mine: Win XP + SQL Express, 4.5.2 v3.5
Site #2
Other Developer: Win 7 + SQL Server 2005, 4.5.2 v3.5
Staging Server: Win Server 2003 + SQL Server 2005, 4.5.2 v3.5
Problem
The Media Picker (with preview and advanced options checked) worked yesterday, today it just stopped working. Doesn't work for empty Media Picker data types, or for datatypes that have already had content entered.
What happens is you get the pop-up and are able to traverse the tree. When you select a node. The tree visually resets (all folders are closed) and the browser then freezes. Have to hit F5 in Chorme to reset it. This also happens in Firefox.
In Firefox, I'm getting a Javascript error when I load a page that has the Mediapicker on it.
Line: 192 - var treeType = eval(m[1])._itemPickerUrl.match(/treeType=([^&]+)/)[1]; (don't know what page since it's a webresource.axd
Error is: eval(m[1])._itemPickerUrl is undefined
When I click Pick Item, I get the following error:
Line 302:$("#" + this._imgViewerClientID).UmbracoImageViewerAPI().updateImage(e.outVal);
Error Message: $("#" + this._imgViewerClientID).UmbracoImageViewerAPI() is null
I get the same issue if I select a folder, or an image.
Media Picker stopped working
So I have two different sites currently being worked on. One is on another developers machine and our staging server, the second is just on my machine. Different development environments
Site #1
Mine: Win XP + SQL Express, 4.5.2 v3.5
Site #2
Other Developer: Win 7 + SQL Server 2005, 4.5.2 v3.5
Staging Server: Win Server 2003 + SQL Server 2005, 4.5.2 v3.5
Problem
The Media Picker (with preview and advanced options checked) worked yesterday, today it just stopped working. Doesn't work for empty Media Picker data types, or for datatypes that have already had content entered.
What happens is you get the pop-up and are able to traverse the tree. When you select a node. The tree visually resets (all folders are closed) and the browser then freezes. Have to hit F5 in Chorme to reset it. This also happens in Firefox.
In Firefox, I'm getting a Javascript error when I load a page that has the Mediapicker on it.
Line: 192 - var treeType = eval(m[1])._itemPickerUrl.match(/treeType=([^&]+)/)[1]; (don't know what page since it's a webresource.axd
Error is: eval(m[1])._itemPickerUrl is undefined
When I click Pick Item, I get the following error:
Line 302:$("#" + this._imgViewerClientID).UmbracoImageViewerAPI().updateImage(e.outVal);
Error Message: $("#" + this._imgViewerClientID).UmbracoImageViewerAPI() is null
I get the same issue if I select a folder, or an image.
Any ideas on where to start?
-C
Hi Chad,
Have you recently installed uComponents v2.0? If so, then its a bug with the UI drag-n-drop module - there's a hotfix for it, v2.0.1
Cheers, Lee.
That is possible for one of the sites. The other site has 2.0.1 installed (although I originally installed 2.0). I can try and reinstall it.
-C
I reinstalled 2.0.1 and unchecked drag and drop. It seems to be working for me again.
Just seems weird that it was working fine and then just stopped for both of us at the same time.
-C
is working on a reply...