Copied to clipboard

Flag this post as spam?

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


  • Jamie Connolly 17 posts 74 karma points
    Apr 01, 2009 @ 17:58
    Jamie Connolly
    0

    Nodes Disappearing

    Hi all

    I am having a problem with an umbraco site that I have built where the user can upload a set of documents under categories. After uploading around 500 documents to the categories some of the categories started disappearing and reappearing after a few refreshes and then disappearing again. The same happens with the documents. The code for the categories list and documents list is shown below

    Category List

    [code]

















    [/code]

    Document View

    [code]






    [/code]

    Is there something I am doing wrong?

    any help would be appreciated

    Thanks

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Apr 02, 2009 @ 09:24
    Dirk De Grave
    0

    Hi,

    Can you specify a bit more? you don't see those documents in front end (after applying the xslt) or you can't see all documents in the admin pages?

    Regards,
    /Dirk

  • Jamie Connolly 17 posts 74 karma points
    Apr 02, 2009 @ 10:06
    Jamie Connolly
    0

    Hi,

    thanks for replying.

    I can see the nodes ok in the admin pages, but the front end is where i have a problem.
    I have also tried removing the code that hides the documents/categories if the actual documents do not exist but to no avail.

    thanks for your help

    Jamie

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Apr 02, 2009 @ 10:18
    Dirk De Grave
    0

    Hi,

    Here's something I'm thinking of right now:

    - If you happen to know a document should shoud be there but isn't, check umbraco.config from /data folder. If the document isn't there, I'd suggest to publish nodes again by right-clicking all top level nodes (child nodes of 'Content') and select 'Publish' (In dialog, select to publish child nodes as well)

    -Also, start with fairly easy xslt, that lists all documents, no restrictions on any property, something along the lines of:

    [code][/code]

    Let us know what you find out.

    Regards,
    /Dirk

  • Jamie Connolly 17 posts 74 karma points
    Apr 02, 2009 @ 10:43
    Jamie Connolly
    0

    Hi Dirk

    Thanks for your reply again

    I added in your code and checked the umbraco.config in the /data folder, the config file shows all the nodes that should be there but the front end is still intermittent. the following link shows the page im working on plus the extra code I added in from your suggested, and as you can see sometimes they are there but on refresh they disappear and reappear.

    http://www.scotbloodtest.scot.nhs.uk/freedom-of-information-act/freedom-of-information-act/foi-directors.aspx

    I also republished all items on the admin and published the separate categories as well but still no luck of loading them all of the time.

    The GetXmlAll() method also does the same where they appear on the page sometimes and not others even though the .config file does hold the documents.

    Thanks for your help

    Jamie

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Apr 02, 2009 @ 11:18
    Dirk De Grave
    0

    Hi,

    No clue! I'm out of ideas!! All seems working fine, but at some point, documents don't show up, and next refresh, they're back. Really, really strange.

    And macro is set to not cache, right? In which case umbraco should be regenerating the list each time again. Bummer... Just for the record, what happens if you'd use

    [code]

  • Jamie Connolly 17 posts 74 karma points
    Apr 02, 2009 @ 11:25
    Jamie Connolly
    0

    Thanks for your help Dirk,

    I dont think its a problem with the code itself as the code you gave me before (GetXMLAll) is doing the same, not to worry however I can rebuild the site and add in the documents and categories as a custom section that calls the database directly (which worked fine on the old site)

    Again thanks for your help.

    Jamie

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Apr 02, 2009 @ 12:03
    Peter Dijksterhuis
    0

    If content disappears from the front-end, 99% change is that there is a permission-problem.
    Check the permissions on the data-folder.

Please Sign in or register to post replies

Write your reply to:

Draft