Media section in backend no longer showing any content
I've got a strange issue on one of our development sites, where the media section stopped displaying all content, depite there being a lot of it, umbraco just loads a blank screen.
no custom code has been added relating to the media section no, (we did add the zip upload package, but this didn't pose any problems before, and has been disabled for testing purposes now)
there is quite a bit of other custom code but no recent redeployments have been made... my best guess is that it has to do with this, but it's quite hard to isolate the issue if you don't get any errors...
UmbracoLog does not report much relevant info, There are quite a
Error reading size data from media: 1226, System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl.formatMedia(String html)
Error reading size data from media: 1223, System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl.formatMedia(String html)
Error reading size data from media: 1227, System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl.formatMedia(String html)
Error reading size data from media: 1313, System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl.formatMedia(String html)
Error reading size data from media: 1289, System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl.formatMedia(String html)
Ouch, I had this once and forgot to document how to fix it :(
For starterts try an IISRESET and log-out and back in. If that doesn't help, also make sure to look in your Windows Event Log for errors, some exceptions do not go to umbracoLog. You may also want to install ELMAH to get those exceptions in your mail or right in the back-end of Umbraco.
Media section in backend no longer showing any content
I've got a strange issue on one of our development sites, where the media section stopped displaying all content, depite there being a lot of it, umbraco just loads a blank screen.
screenshot: http://www.photo9.be/bd/capture.jpg
Also, the right-click functionality on the "media" title in the left area doesn't function anymore (it shows an empty box for a fraction of a second)
All other sections in the backend work perfectly (including the right-click menu)
has anyone experienced similar issues ? all help is very much appreciated!
Long shot: no custom code's been developed for loading media items? Can you check the umbracoLog whether there's something in there?
Cheers,
/Dirk
no custom code has been added relating to the media section no, (we did add the zip upload package, but this didn't pose any problems before, and has been disabled for testing purposes now)
there is quite a bit of other custom code but no recent redeployments have been made... my best guess is that it has to do with this, but it's quite hard to isolate the issue if you don't get any errors...
UmbracoLog does not report much relevant info, There are quite a
Error reading size data from media: 1226, System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl.formatMedia(String html)
Error reading size data from media: 1223, System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl.formatMedia(String html)
Error reading size data from media: 1227, System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl.formatMedia(String html)
Error reading size data from media: 1313, System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl.formatMedia(String html)
Error reading size data from media: 1289, System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl.formatMedia(String html)
I have had a similar problem before, and back then it was some relations between nodes in the database that were broken.
I had to go through the database manually and delete or change the media items and their relations.
My tip for you is to browse the database for the id's in your log and then check for broken relations.
Is there a way to check the database integrety ? I don't really have a clue where to look if i have to browse through all media entries manually
I have 152 images in the database with the contenttype 1032 (image in my case)
Some images have a parentID of -1 , is this normal?
This is an error that i get when i load the image browser that should display the media node structure:
http://www.photo9.be/bd/capturerr.jpg
Ouch, I had this once and forgot to document how to fix it :(
For starterts try an IISRESET and log-out and back in. If that doesn't help, also make sure to look in your Windows Event Log for errors, some exceptions do not go to umbracoLog. You may also want to install ELMAH to get those exceptions in your mail or right in the back-end of Umbraco.
Just installed elmah but no errors are logged... must he a "handled" exception :(
Issue solved:
It seems i was missing this entry in the umbracoAppTree:
False True 0 media media medier folder.gif folder_o.gif umbraco loadMedia NULL
No clue how this happened...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.