ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Theme upload not working broken css


  • 2008-03-12 09:59:16

    Theme upload not working broken css

    Hi

    Whenver I click on "Import" theme it says the file was imported successfully but the screenshot doesnt show up and when I enable and set the theme there are no images, all the css is missing, and everything is in 12 times new roman text. Have tried setting permissions to 777 on all files plus the theme dir, have tried uploading direct from the web, still the same problem.

    Am I doing something wrong?

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -unix
    version of ATutor -latest
    versions of php -4x
    version of mysq l -?
    webserver & version -?
    copies of error messages -no error message given
    changes to default settings -?
    web browser being used -FireFox
    and anything else relevant -

  • 2008-03-12 10:16:30

    Re: Theme upload not working - broken css

    this is a common problem when importing new themes, and it is a permission problem (times new roman 12 is a browsers default font, which in this case just means that the CSS is not read).

    make sure again that permissions are right (set them to 644 as 777 is insecure), and that you are not viewing a cached version (ctrl + f5).

    developers, is there some way to ensure that all CSS files get the correct permission when importing a theme like this?

  • 2008-03-12 10:55:53

    Re: Theme upload not working - broken css

    Awesome just had to do a few hard refreshes and now it's working fine. Thanks.

  • 2008-03-13 14:10:38

    Re: Theme upload not working - broken css

    I have not seen a problem with permissions on theme css files before. Are you able to reproduce this?

    The apparent broken CSS is a browser cache issue. It is normal to have to hard refresh after making changes to a stylesheet

  • 2008-03-14 04:46:02

    Re: Theme upload not working - broken css

    yes, it always happens at my server, then for alexd181 here, and also here: http://www.atutor.ca/view/7/12843/1.html

    you have to manually change permissions, then refresh, so it's not only a question of hard refreshing.

    I don't know if the theme alexd181 tried was the Redux theme, but that might be the case..? in the Redux theme the CSS is not called style.css as in the default theme, but split up in several files such as core.css, sidemenu.css etc.