Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter 89 posts 160 karma points
    Aug 04, 2010 @ 18:48
    Peter
    0

    4.5 Media Xml in Mysql

    I've had real troubles updating a version which sits on a mysql db in shared hosting.

    I had a previous version of the site with the medium trust patch working, but wanted a few of the other fixs related to the 4.5 release. ... anyway, after updating, and a lot of fiddling the only issue i seem to have is based around the "media". This was only possible due to others having the same issue in the forum and others being so helpful.

    So, has anyone got a script which will update the old media xml schema to the new on for the mysql db.

    If this is fixed, I think the site will run and hopefully all the media that was uploaded in the previous version will reappear in the "Media" section of the admin interface.

    I see lots of improvements with 4.5, but at the moment, can't justify other upgrades if this can't be scripted. :(

     

  • Peter 89 posts 160 karma points
    Aug 04, 2010 @ 18:58
    Peter
    0

    I have manually updated content data from the database so it would be the same as the new schema.

    This means my pages work, but the Media Section is still blank and a different issue. 

    :(

  • Gal Nitzan 50 posts 164 karma points
    Aug 04, 2010 @ 22:02
    Gal Nitzan
    0

    I'm not sure if you have access to event viewer on a hosted site, however on our machine there is a null reference exception:

    Event code: 3005 
    Event message: An unhandled exception has occurred.
    Event time: 01/08/2010 18:38:20
    Event time (UTC): 01/08/2010 15:38:20
    Event ID: 68e325cfddf44d05a6d037a45349a1d1
    Event sequence: 57
    Event occurrence: 1
    Event detail code: 0

    Application information:
    Application domain: /LM/W3SVC/1/ROOT-4-129251506915483531
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\inetpub\wwwroot\
    Machine name: INTER1

    Process information:
    Process ID: 9832
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE

    Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.
    at umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode)
    at umbraco.cms.presentation.Trees.BaseTree.CreateRootNode()
    at umbraco.cms.presentation.Trees.BaseTree.Initialize()
    at umbraco.cms.presentation.Trees.BaseTree.get_RootNode()
    at umbraco.loadMedia.CreateRecycleBin()
    at umbraco.loadMedia.Render(XmlTree& tree)
    at umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams)
    at umbraco.presentation.webservices.TreeDataService.GetXmlTree()
    at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
  • Peter 89 posts 160 karma points
    Aug 04, 2010 @ 22:41
    Peter
    0

    I see your exception and match it!

    Process information: 
        Process ID: 7036 
        Process name: w3wp.exe 
        Account name: IIS APPPOOL\Umbraco4.5.1 
    
    Exception information: 
        Exception type: NullReferenceException 
        Exception message: Object reference not set to an instance of an object. 
    
    Request information: 
        Request URL: http://localhost/umbraco/webservices/TreeDataService.ashx?rnd=471c2079e0b64835990c0673fac7aa28&id=-1&treeType=media&contextMenu=true&isDialog=false&rnd2=56.3 
        Request path: /umbraco/webservices/TreeDataService.ashx 
        User host address: ::1 
        User:  
        Is authenticated: False 
        Authentication Type:  
        Thread account name: IIS APPPOOL\Umbraco4.5.1 
    
    Thread information: 
        Thread ID: 21 
        Thread account name: IIS APPPOOL\Umbraco4.5.1 
        Is impersonating: False 
        Stack trace:    at umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode)
       at umbraco.cms.presentation.Trees.BaseTree.CreateRootNode()
       at umbraco.cms.presentation.Trees.BaseTree.Initialize()
       at umbraco.cms.presentation.Trees.BaseTree.get_RootNode()
       at umbraco.loadMedia.CreateRecycleBin()
       at umbraco.loadMedia.Render(XmlTree& tree)
       at umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams)
       at umbraco.presentation.webservices.TreeDataService.GetXmlTree()
       at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    
    
    
Please Sign in or register to post replies

Write your reply to:

Draft