Subject: Possible code error in userman.php?
Posted By: Jams30 Post Date: 10/24/2003 6:43:01 AM
Hi

I'm having problems with the userman.php script in chapter 13 - the files for the exercise I am using are the ones that I downloaded this site. The script loads the page ok, I can view records in the table and can view records for individual users, but when making changes to the access log records and hit the 'change' button, I get a new window open but it displays -

HTTP 405 - Resource not allowed
Internet Information Services


I have followed the IIS help files but cannot find the problem. Has anyone else had the same problem and if so, can you tell me what the solution might be?


Thanks in advance


Jamal

Reply By: nikolai Reply Date: 10/24/2003 10:34:23 AM
Well, if there's a problem with your PHP code, then you should get a PHP error, not an IIS error.  PHP generates its errors as HTML, so that regardless of how your PHP script runs, the web server still serves up a web page.

If you're running into IIS problems, I'd double check the permissions and file extensions to make sure everything's configured okay.

Here's a silly question: Do other PHP scripts work properly?


Take care,

Nik
http://www.bigaction.org/
Reply By: Jams30 Reply Date: 10/27/2003 12:21:15 PM
Hi Nik

Yes everything else seems to be working ok - apart from the email scripts in following chapters, but I think that's more to do with the ports being blocked on the LAN in this office. I'm not sure on what to do about the IIS error I'm getting although its not imperative that I have this work as I understand the principle.

Thanks for your help on this Nik.

Regards

Jamal


quote:
Originally posted by nikolai

Well, if there's a problem with your PHP code, then you should get a PHP error, not an IIS error.  PHP generates its errors as HTML, so that regardless of how your PHP script runs, the web server still serves up a web page.

If you're running into IIS problems, I'd double check the permissions and file extensions to make sure everything's configured okay.

Here's a silly question: Do other PHP scripts work properly?


Take care,

Nik
http://www.bigaction.org/




Go to topic 5719

Return to index page 1018
Return to index page 1017
Return to index page 1016
Return to index page 1015
Return to index page 1014
Return to index page 1013
Return to index page 1012
Return to index page 1011
Return to index page 1010
Return to index page 1009