Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(6 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

ATutor Support

Atutor on IIS


You must be signed-in to post.

AuthorSubject
  Page: 1
sb
Subject: Atutor on IISQuote this post in your reply
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
Posted: 2003-06-02 17:49:17
greg

Avatar for greg
Subject: PHP Version?Quote this post in your reply
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
Posted: 2003-06-02 19:10:16
sb
Subject: IISQuote this post in your reply
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
Posted: 2003-06-03 12:31:58
sb
Subject: IISQuote this post in your reply
Addendum:

[Testing system is XP Prof, production will be W2K server +SP3]
Posted: 2003-06-03 12:33:50
joel

Avatar for joel
Subject: fix in v1.2Quote this post in your reply
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
Posted: 2003-06-04 14:45:17
sb
Subject: proposed fixQuote this post in your reply
Thanks Joel but it did not work.

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

sb
Posted: 2003-06-06 15:54:30
joel

Avatar for joel
Subject: line?Quote this post in your reply
Do you have the line number(s) ?

What is the exact error?
Posted: 2003-06-09 12:15:45

Subject: iisQuote this post in your reply
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
Posted: 2003-06-22 05:35:59

Subject: iisQuote this post in your reply
from newby

But then returns a all lot of other errors.

Any other suggestions??

Thanks
Posted: 2003-06-22 05:59:57
joel

Avatar for joel
Subject: error_reporting(E_ALL ^ E_NOTICE);Quote this post in your reply
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.
Posted: 2003-06-23 16:15:26
 Page: 1

You must be signed-in to post.