1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Design Issue when Rebuilding Caches....

Discussion in 'Resolved Bug Reports' started by Nasr, Dec 19, 2010.

  1. Nasr

    Nasr Well-Known Member

    The forum displays a white page...

    Maybe a forum is under maintainance will be better?
     
  2. Mike

    Mike XenForo Developer Staff Member

    This will only happen for a few seconds and there's nothing that can be done about it. The old templates are removed to bring the new ones in. It should happen for something like 10 - 20 seconds.
     
  3. Robbo

    Robbo Well-Known Member

    I would like to see something in place while this happens. What about simply using one of the file templates like the install/templates and disabling the board and enabling such a template (which says down for maintenance for a short time) and then when done set it back to normal.
     
  4. digitalpoint

    digitalpoint Well-Known Member

    Is there a technical reason that the old ones need to be removed first rather than overwritten as they are rebuilt?
     
    Adam Howard, Alien and feldon30 like this.
  5. Robbo

    Robbo Well-Known Member

    I think it would be by design to do that. Otherwise you could get some weird results and errors while rebuilding instead of the white page.
     
  6. intradox

    intradox Well-Known Member

    Is there any way to do this? Would love to implement as my board remains blank usually for 1-5minutes.
     
  7. Robbo

    Robbo Well-Known Member

    It has been on my radar for a long time to add for a clients website when I am running it through my updates. Technically it shouldn't be too hard but I can't just give instructions. When I have done it reliably I will release it free here.
     
  8. digitalpoint

    digitalpoint Well-Known Member

    Well, I would guess 99.9% of the time, stuff would still at least function. And I certainly would say SOMETHING is less weird than a blank white screen. :)
     
    intradox likes this.
  9. Robbo

    Robbo Well-Known Member

    I will be using the command line to install add-ons etc (rebuilding is a bit faster from the command) and with that will be adding a little site down message which will basically be done the same way as the installer is done... just some basic file templates.
     
  10. digitalpoint

    digitalpoint Well-Known Member

    Yeah... I'm also building something myself... I'm using files as templates, so going to *not* delete them all at once, rebuild them in a temp directory, then move them all in at once.
     
  11. Robbo

    Robbo Well-Known Member

    Ah yeah, that sounds like a good solution too... was thinking of something like that. My solution is a more simple thing just to show a basic down message while it happens.
     
  12. digitalpoint

    digitalpoint Well-Known Member

    Yeah, anything would work really... we just get too much traffic that people start pissing and moaning (and calling and emailing) if we are down for any more than 2 seconds (literally). Kind of annoying sometimes.
     
    intradox likes this.
  13. Robbo

    Robbo Well-Known Member

    Yeah I can imagine. And the fact sometimes your updates could take a fair while due to your massive (massive compared to what I work with) database.
     
  14. digitalpoint

    digitalpoint Well-Known Member

    I've always done "hot" upgrades with vBulletin (I don't shut the site down for users while doing them). I'd probably do the same with XenForo if I was on it.
     
  15. sonnb

    sonnb Well-Known Member

    I think we should force to use a default template for this case. It is different between "blank page" and "maintenance page".
     
  16. Robbo

    Robbo Well-Known Member

    I think XenForo staff should take 1 hour out of their day and implement something better. That is how long it would take.
     
    Autonamus likes this.

Share This Page