Click to See Complete Forum and Search --> : Desperately need php on IIS help, begging on knees for help
Nacirema
12-04-2006, 02:28 PM
Hi all,
I added some code to my php application, and the app no longer works.
IIS is only giving me notices and warnings and I have php.ini set to errors_all
Is there anything that I can do, I do not even know where to start my debugging.
chazzy
12-04-2006, 04:16 PM
Is php.ini set to override your security settings? Can you post your code and we'll help you debug?
chrisranjana
12-05-2006, 03:37 AM
Have you looked into the IIS log files ?
Nacirema
12-05-2006, 08:29 AM
no I havent' looked in the IIS log files becaus isn't that the same as what is posted like when u see warnings and notices as debug info?
If I am incorrect, where would I find IIS log files?
I have about 6 pages worth of code chazzy, it's almost impossible to do that, lol
chazzy
12-05-2006, 09:08 AM
no, but did you test your code during the development? did you verify that individual parts work, rather than the whole thing overall?
chrisranjana
12-05-2006, 09:56 AM
Here are some pointers regarding IIS logs
http://www.cisco.com/warp/public/640/iis_log.html
http://www.iisfaq.com/Default.aspx?tabid=2550
chris
Nacirema
12-05-2006, 10:23 AM
no, but did you test your code during the development? did you verify that individual parts work, rather than the whole thing overall?
right, many parts work
I get alot of
Warning: Cannot modify header information - headers already sent:
this is an is that line of code:
$_SESSION['quot'] = $quot;
header("Location:selectCategory.php");
I get alot of these warnings, could this be the problem?
Thx for the help guys, i'm way too stressed on this
no progress made in like 3 days
chazzy
12-05-2006, 06:41 PM
$_SESSION['quot'] = $quot;
header("Location:selectCategory.php");
This could be the problem. IN this case, PHP is saying that you have written to the output OR that it's possible you wrote to the output (possibly a poorly written logical block) and then tried to modify the headers. If this is the case, your problem has nothing to do with IIS. Your code is just incorrect. Try looking up some of the issues I described.