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

Changes made to styles are not reflected on live site

Discussion in 'Troubleshooting and Problems' started by MrC, Jun 3, 2012.

  1. MrC

    MrC Active Member


    I have just moved to a new server. I got the following issue which I think related to folder permissions, but not sure how/where to fix them.

    1. With "Fetch public templates as files" enabled, changes I made to phrases and css were not reflected on the live site.
    2. When I turned off Fetch public templates as files, I saw the changes.

  2. Chris D

    Chris D XenForo Developer Staff Member

    When "Fetch public templates as files" is enabled, templates are saved in the file system in the internal_data folder.

    This folder needs to be writable (CHMOD 0777).
    MrC likes this.
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Make sure data and internal_data are writable. You can check this with your FTP program. The permissions should be 777, or perhaps 755 depending on your server configuration. Be sure to recursively set the permissions for all subdirectories.

    edit - ninjaaaaaaaa
    MrC likes this.
  4. Chris D

    Chris D XenForo Developer Staff Member

    Sorry Jake :D

  5. MrC

    MrC Active Member

    chmod -R 777 internal_data solved the problem.

    Thanks guys :D.
    Yorick likes this.
  6. MrC

    MrC Active Member

    Actually, the problem with phrases is still there! There are .php files in the internal_data/templates folder though, the folder was empty before.

    I tried to change the phrase "Search Forums" to "My language - Search Forums". Nothing was changed in browser unless I turned "Fetch public templates as files" off. So with "Fetch public templates as files" on, I saw "Search Forums". With "Fetch public templates as files" off, I saw "My language - Search Forums".

    What should I try next? Are phrases cached?

    Thanks :D.
  7. Chris D

    Chris D XenForo Developer Staff Member

    Some phrases are cached. I would expect them to update automatically eventually.
    MrC likes this.
  8. MrC

    MrC Active Member

    But when I switched to the default style, it worked fine with both options.

    So the problem somehow related to my custom style. I have been trying to revert all templates (except extra.css) but it didn't help.

Share This Page