ATutor

Learning Management Tools







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


Ugly with Firefox


  • 2007-01-19 08:21:54

    Ugly with Firefox

    operating system - Debian Sarge
    version of ATutor - 1.5.3
    versions of php - php 4.3.10
    version of mysq l - 4.0.24
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used - Firefox 1.5 - 2.0 / Safari / IE
    and anything else relevant -


    I install ATutor 1.5.3 with default settings and it works well with Safari and IE but in Firefox 1.5 or 2.0 It seems Firefox doesn't uses stylesheets... so it is ugly :(

    I had the same issue with ATutor 1.5.2

    You can see by yourself (if you have Firefox) :
    http://wpc4372.amenworld.com/login.php

  • 2007-01-19 09:16:39

    Re: Ugly with Firefox

    It just your site for some reason. This problem does not happen anywhere else that we are aware of.

    Have you modified anything? It looks like a broken theme has been set as the default. Try a different theme. Firefox uses stylesheet very well actually. It's really IE that has a problem with some CSS.

    Visit our demo site, and see if the same problem occurs there.
    http://atutor.ca/atutor/demo.php

    I also suggest you use the current version of ATutor (1.5.3.3)

  • 2007-01-19 16:49:41

    Re: Ugly with Firefox

    I haven't modified anyting and I had already try to use other theme, but I can't find one that works.

    Yes, I know it works in your demo, but I don't understand why it doesn't work in my site (and I have just installed the default version of ATutor 1.5.3.3)

    I use the last version of ATutor (1.5.3.3). I installed it this afternoon because I had the same problem with 1.5.3.2 and I hoped the last version would resolve this problem, but not :(

  • 2007-01-19 17:14:24

    Re: Ugly with Firefox

    Are you running any other php apps? Are they working okay?

    Check your apache httpd.conf, and be sure it is setup as described in the php install documentation:
    http://www.php.net/manual/en/install.php

  • 2007-01-19 17:15:24

    Re: Ugly with Firefox

    Also: setup a course and a user account so we can take a closer look.

  • 2007-01-20 04:43:14

    Re: Ugly with Firefox

    Yes, Phpmyadmin is installed successfully, but I'll check httpd.conf.

    Ok, I have juste create a demo user account :
    login: demo
    pwd: demo

    It's a student, but he can modified the content of Demo course

  • 2007-01-20 10:15:55

    Re: Ugly with Firefox

    I did a little investigation. Your web server appears to be misconfigured. It should process css files with the mime type text/css but instead it is using text/plain.

    if you run the following command from the command prompt to generate a response header, look at the Content-Type line.

    [php]
    wget --spider --server-response http://wpc4372.amenworld.com/themes/default/styles.css

    [/php]

    --10:03:46-- http://wpc4372.amenworld.com/themes/default/styles.css
    => `styles.css'
    Resolving wpc4372.amenworld.com... 85.10.136.128
    Connecting to wpc4372.amenworld.com|85.10.136.128|:80... connected.
    HTTP request sent, awaiting response...
    HTTP/1.1 200 OK
    Date: Sat, 20 Jan 2007 15:03:04 GMT
    Server: Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-18 mod_ssl/2.0.54 OpenSSL/0.9.7e
    Last-Modified: Mon, 18 Dec 2006 17:03:34 GMT
    ETag: "3fc9cc-5478-f639c580"
    Accept-Ranges: bytes
    Content-Length: 21624
    Keep-Alive: timeout=15, max=100
    Connection: Keep-Alive
    Content-Type: text/plain *******
    Length: 21,624 (21K) [text/plain]
    200 OK


    Then look at another server, like our demo, and you'll see the style sheets are resolved using text/css

    [php]

    wget --spider --server-response http://www.atutor.ca/atutor/demo/themes/default/styles.css

    [/php]

    --10:04:22-- http://www.atutor.ca/atutor/demo/themes/default/styles.css
    => `styles.css'
    Resolving www.atutor.ca... 142.150.154.21
    Connecting to www.atutor.ca|142.150.154.21|:80... connected.
    HTTP request sent, awaiting response...
    HTTP/1.1 200 OK
    Date: Sat, 20 Jan 2007 15:03:41 GMT
    Server: Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8d mod_jk/1.2.19 PHP/5.2.0
    Last-Modified: Thu, 30 Nov 2006 15:14:52 GMT
    ETag: "f464a-5478-58573300"
    Accept-Ranges: bytes
    Content-Length: 21624
    Keep-Alive: timeout=15, max=100
    Connection: Keep-Alive
    Content-Type: text/css *********
    Length: 21,624 (21K) [text/css]

    There are a few ways to fix the problem. Check the apache/include/mime.types file and add the following line if it is not already there

    [php]

    text/css css

    [/php]

    or create a .htaccess file in the root directory of ATutor (or htdocs) with the same line. Restart your web server.

  • 2007-01-24 05:38:17

    Re: Ugly with Firefox

    Thanks a lot ! It was the issue.

    Now, the ATutor installed in our server looks well with Firefox.