Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help needed gettin-The page you are looking for cannot be displayed be

Status
Not open for further replies.

techexpressinc

Programmer
Oct 28, 2008
67
US
--------------------------------------------------------------------------------

I am getting the error message = The page you are looking for cannot be displayed because an invalid method (HTTP verb...

--------------------------------------------------------------------------------

This website has not used PHP code before. My web page is at


This is as it is on 1130 EST Mar. 3. Not working. Any help would be appreciated.


Thank you Russ at ScanInc.Org
 
Hi

It says 405 ( Method Not Allowed ). That means, accepting [tt]POST[/tt] requests is denied by the web servers configuration.

If you change the method to [tt]GET[/tt], the result is 404 ( Not Found ). That means, the file you are submitting to,
/PHPcode/Form2Excel.php, does not exist.

Probably both problems has to be addressed : configure your web server then correct the path.

Feherke.
 
Agreed,

Form2Excel.php does nto appear to exist inside your PHPCode directory.





----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
you also need to configure your web server to accept POST requests. if you are using apache then take a look at the LIMIT and LIMITEXCEPT directives for httpd.conf. remember to restart your server after making the changes.
 
Regardless of the POST requests being active or not, calling the page directly should open it. However if you try to open the page directly using the link you provided, it can't be opened. It comes back with the 404 error that it can't be found

It could be a PHP configuration problem, can you not look directly into the folder in question to make sure the file is really there?

I'm not entirely sure how the Microsoft Expression Web works, but do you maybe need to tell it to upload the file.

What you see at the top of the Microsoft Expression Web may not be the real location of the file. Just the intended location once its uploaded.

If may simply be in a folder named " on your hard drive.


----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
I update the file folder in Web Expressions right on the hosting server. There is no publishing needed.

The web site is on a Server 2003 operating system using MS-IIS to host it.

Any idea on the previous comment about configuring the web server to accept POST requests?

Thanks Russ
 
Looking through the PHP online manual yielded his USer contributed post:

Uday Kari said:
First I got a HTTP 405 error, resolving which I got an HTTP 404 error...read on for how this was fixed...

Environment: PHP 5.2.4, IIS 6.0 ISAPI, Windows Server 2003.

Installation: Simply downloaded the PHP 5.2.4 installer [22,002Kb] - 30 August 2007 and ran it doing next, next until Finish.
[red]
To get rid of 405 error, ensure that your php directory allows scripts. Start->Control Panel->Administrative Tools->Internet Information Services-> (select website, navigate to directory with your php and right-click your directory) -> Properties -> Directory TAB -> Change Execute Permissions from "None" to "Scripts" (to allow PHP).

To get rid of 404 error, ensure that your executable mapping for the .php extension is properly coded. Start->Control Panel->Administrative Tools->Internet Information Services-> (select web site) ->Properties->Home Directory->Configuration->Mapping and then change the Executable Path for .php files from C:\Program~\PHP\php5is~1.DLL (or whatever crazy path) to "C:\Program Files\PHP\php5isapi.dll"
[/red]
(IMPORTANT: the quotes from c:\ to end of dll are important since the default install location, Program Files, has a space...in my youth I would yell "Stupid Microsoft"...but now I would more maturely just note that there is an inconsistency with the way that Paths are defined...in definingenvironment variables, for instance, such spaces are OK...).


It may guide you in the right direction


----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
I think you Found the Problem. PHP support/program is not installed on my server.

We have a server maintenance team. I am going to request them to install it.

I will get after them to do that and be back hopefully with Good News.

Thanks

Russ @ scaninc.org
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top