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

Not a Bug Site broken after options/list/debug

Discussion in 'Resolved Bug Reports' started by Hugo Santos, Mar 28, 2014.

  1. Hugo Santos

    Hugo Santos Active Member

    Hi, just to report that my site was brokem after try to use:
    compressed files from js/xenforo/min/


    001.png

    After that, was not possible to text and layout was messy

    Later i've cheked that i not have /min folder and files
     
    Last edited: Mar 28, 2014
  2. Chris D

    Chris D XenForo Developer Staff Member

    This isn't a bug.
    You should activate the option: "Use compressed files from js/xenforo/" because that's where the compressed files are. They are not stored in js/xenforo/min/ and unless you're a XenForo developer, or you know what you're doing, you really shouldn't be changing anything here.

    I'm not sure of the exact use case of that option, but I'm certain it has some relevance in terms of developing the core software, or it is a legacy setting.
     
  3. Hugo Santos

    Hugo Santos Active Member

    Hi @Chris D
    thanks for the answer.
    My question is because I can use all other options.
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Those options are hidden on a default installation and only shown when in debug mode. They aren't designed to be changed by end users without absolutely knowing what they are doing and usually only for development purposes.

    If you see them, you are running your site in debug mode, which I can only suggest that you don't. Debug mode isn't meant to be used in a production environment.
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    Actually, only two of those options actually do what the text describes.

    Use compressed files from js/xenforo/
    This is the default option and does correctly serve the minified files from the js/xenforo/ directory.

    Use uncompressed files from js/xenforo/full/
    This option does work and does serve the full un-minified files from the js/xenforo/full/ directory.

    Use uncompressed files from js/xenforo/
    All this does is actually serve the minified JS files. Not the full files as described.

    Use compressed files from js/xenforo/min/
    As you have discovered, this option doesn't work because the files are not present.


    If you need to use the bottom two options (which you shouldn't) then you would need to copy the correct files manually.
     
  6. Mike

    Mike XenForo Developer Staff Member

    For reference, "use" in those options refers to the file setup you have, not the setup you want to have.

    And as noted, if you change any option in the debug settings, you need to understand the requirements.
     
    Chris D likes this.
  7. Hugo Santos

    Hugo Santos Active Member

    Thanks for the answers, understood.
     

Share This Page