php+IIS+Mysql+osticket. After successful instal and navigation to the admin page, I enter my username and password, but I always get redirected back to the login screen with an "Authentication Required" message.

The solutions posted haven't worked - and really aren't specific enough to clearly solve the problem. I have done NO mods to the newly installed os ticket, so I don't think the 7-14-08 solution applies to this thread. Will this problem ever be solved ???

Can anyone who has had success with IIS +PHP+ MYSQL be nice enough to post their sever configs ? I am just trying anything at this point.

Thanks,

J.P

6 months later

Same issue

I am having the same problem? Can anyone help?

I have found a work around to the problem that you are having, The only thing i can guess is wrong is IIS buffering the output data, so it doesnt get change to send the headers correctly, I made the modification below by doing some debugging. I am sure that there is a better way to fix this problem, but if you are after a quick fix, this one line of code sorts it.

Open up class.staff.php and modify it so it looks like this

$sql=sprintf("SELECT * FROM ".STAFF_TABLE." LEFT JOIN ".GROUP_TABLE." USING(group_id) WHERE %s ",is_numeric($var)?"staff_id=$var":"username='$var '");

echo ' ';

$res=db_query($sql);

all that I have done is added an echo in the middle, this basically forces IIS to send the headers which is then read back later on, and this fixes the problem.

Kind Regards Jonathan, Digipigeon Limited

Write a Reply...