Initial Site Load Doesn't Show Widgets/Background Image



  • Hey guys,

    I'm new to the forum here but have been playing around with the forum software and love it so far, even with the bugs it brings here and there :P So right now I have an issue where I load the site, and the background image does not appear (which is coded in the admin settings), the categories do not stack correctly and the widgets are missing. This is only on the first load, as soon as you press the site logo everything get's fixed.

    I'm not sure if this is a bug with Lavender or a bug with NodeBB, but any help would be greatly appreciated!

    Initial load: http://i.imgur.com/33snmXD.png
    Refresh load: http://i.imgur.com/xDZpr58.png

    Thanks guys!


  • Global Moderator

    Make sure both themes are up to date. On initial load, look in firebug for the css of your background.

    Does it work on initial if you go into a category then click your logo again?



  • @a_5mith Just checked and when I got to a category or anywhere for that matter the site does fix it self.

    Broken version: https://i.imgur.com/asyNyku.png
    Refreshed version: https://i.imgur.com/3Xbjyf2.png

    If you look there, there is a difference in code where the body opens.


  • Admin

    I'm getting Uncaught Error: Mismatched anonymous define() module: [object Object] in the console, which means the client-side javascript is crapping out before the page loads properly.

    Best bet would be to disable plugins one by one until you find the culprit, or disable them all and re-activate one-by-one until you find the culprit.



  • @julian I've tried disabling all of them and that doesn't work either :/


  • Admin

    Do you have custom javascript added from ACP? Any errors in your web console?



  • @baris Guess that should have been the obvious, and yeah, we had some code that would auto generate a background for users. Disabling that did fix it. I really appreciate the help, feel kind of stupid now lol. Besides that being fixed now we still have an ongoing issue with plugins not working like emoji's, shoutbox, and so on. And words of advice on that?


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.