ATutor

Learning Management Tools







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


Atutor on IIS


  • 2003-06-02 17:49:17

    Atutor on IIS

    Has anyone had success installing Atutor on IIS? (I know it recommends Apache - but we need IIS for other services.)

    We get error on line 85 of constant.inc.php when trying to get to login page for first time. (undefined index) More details available if required.
    (PHP, MySQL seem ok, & PHPMYadmin)

    TIA

  • 2003-06-02 19:10:16

    PHP Version?

    Possibly a PHP version problem. V4.2.0+ is required. Send me a url to a phpinfo page if a PHP upgrade doesn't help. If it does help, we'd like to hear that it works with IIS (we haven't tried it ourselves).

    You might also check the php.ini file to see if register_globals is turned on (it won't need to be in the next version, 1.2)

    g

  • 2003-06-03 12:31:58

    IIS

    Have switched register_globals on.
    PHP is version 4.3.1
    Cannot send url as I am trying this out on a WinXP laptop for evaluation purposes, using localhost.

    Info required from other posting:
    1. The version of ATutor you are referring to. - 1.1

    2. The operating system ATutor is installed on and its version - WinXP Prof +SP1

    3. The Web server you are using and its version . - IIS 5.1

    4. The version of PHP and MySQL being used (php 4.2.0+ and MySql 3.23+ are required) . PHP 4.3.1, MySQL 4.0.12

    5. The Web browser you are using to view ATutor, it's version number, and any default settings you may have changed. - Mozilla 1.4, IE6 +SP1

    6. Do you have root access to your server, or are you a hosted user on someone else's server, etc? Yes - localhost

    7. List the steps you took prior to experiencing the problem. Installed PHP, MySQL, and PHPMyAdmin to test both. All OK. Installed Atutor to folder below inetpub\wwwroot
    Setup MySQL user atutor and added to config.inc.php
    Set up atutor in MySQL using PHPMyAdmin and gave full access rights to atutor database to atutor user (see next)
    Set DB HOST to localhost (also tried 127.0.0.1)
    DB NAME to atutor
    No other changes to config.inc.php

    ACCESS INFORMATION
    Testing on local PC.

    I can get dump of php config page and send if it would help (can I use attachments on this forum?)

    Hope this helps. TIA

  • 2003-06-03 12:33:50

    IIS

    Addendum:

    [Testing system is XP Prof, production will be W2K server +SP3]

  • 2003-06-04 14:45:17

    fix in v1.2

    The problem is that IIS 5 does not have the REQUEST_URI environment variable (as well as others).

    The fix for this has been made to version 1.2 which is not yet available.

    If you want to fix version 1.1 you should replace the line:
    $REQUEST_URI = $_SERVER['REQUEST_URI'];

    with these:
    $REQUEST_URI = $_SERVER['SCRIPT_NAME'];
    if ($_SERVER['QUERY_STRING'] != '') {
    $REQUEST_URI .= '?'.$_SERVER['QUERY_STRING'];
    }
    $_SERVER['REQUEST_URI'] = $REQUEST_URI;

    in the ./include/lib/constants.inc.php

    cheers,
    .joel

  • 2003-06-06 15:54:30

    proposed fix

    Thanks Joel but it did not work.

    Now get error on next line referring to 'Query String'

    sb

  • 2003-06-09 12:15:45

    line?

    Do you have the line number(s) ?

    What is the exact error?

  • 2003-06-22 05:35:59

    iis

    Joel,

    this is the rror reported due to undefined querystring

    Notice: Undefined index: QUERY_STRING in C:\Inetpub\wwwroot\ATutor\include\lib\constants.inc.php on line 87

    I commented all the old and the above and works.

    Newby

  • 2003-06-22 05:59:57

    iis

    from newby

    But then returns a all lot of other errors.

    Any other suggestions??

    Thanks

  • 2003-06-23 16:15:26

    error_reporting(E_ALL ^ E_NOTICE);

    seems like you have notices enabled.

    add the line:

    error_reporting(E_ALL ^ E_NOTICE);

    to the very top of the vitals.inc.php file in the include directory.

    that should fix that.