y 24, 2005 2:19 PM
Subject: Re: [PHP-WIN] CGI Error
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello php-windows,
On 24 January 2005, at 14:06:21 -0800 (which was 22:06 where I live) Thomas
Vanhal on php-windows wrote
> I have a problem with my php script. Let's say for my login page, it
> usually works but sometimes it doesn't and give me this error :
> CGI Error
> The specified CGI appli
Odd Egil H. Selnes wrote:
Hi.
When I use: header("Location: ".$_SERVER["PHP_SELF"]."?page=something");
I get a strange CGI error on IIS. This error occurs about 4 out of 10 times
i access the page.
My guess is you need to encode the GET variables (something) you're sending
through your request.
-
This probably has nothing to do with your php.ini but rather how you have
either PHP setup in IIS or your script itself. Please ensure that you have
php configured in IIS properly and then check to make sure that your script
is ok.
Regards,
Nick H.
Network Operations Center
[EMAIL PROTECTED]
P
Fix (sortof) - If I run PHP as an ISAPI module then instantiating a COM
object works fine and as intended, the minute I try it using under CGI
binary it gives the error. Alas alak my production environment will have to
wait a while for COM object use until it's bulletproof...
It had little bearing
12:53 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Cgi Error
Hello Again,
I am still without any clue here. I've tried all the troubleshooting that
I've found in forum. I hate to get rid of php and using asp. I think I am
missing something really simple.
thanks for your help
Hello Again,
I am still without any clue here. I've tried all the troubleshooting that
I've found in forum. I hate to get rid of php and using asp. I think I am
missing something really simple.
thanks for your help
>>>-Original Message-
>>>From: Guitar Man [mailto:[EMAIL PROTECTED]]
>
No I haven't setup a virtual directory.
I installed php in c:php and my directory are in
inetpub/wwwroot/Dir1/Dir2/info.php
Do i need to check the dlls? Or Settings in IIS?
>
>Did you set up a virtual directory to where your .php files are stored? If
>so, and the alias is not the same as the di
Did you set up a virtual directory to where your .php files are stored? If
so, and the alias is not the same as the directory (ie: if the directory is
c:\projects\webpages\MySite, then the alias must be MySite), you will get
the error you have listed. I have had this happen to me both in IIS
I am getting in all the time. I am pretty sure I have all the permission
needed for read and execute. I will double check it.
thanks
>X-Mailer: Internet Mail Service (5.5.2653.19)
>
>Guitar Man,
>
>Are you getting the error intermittently or all the time? If the later,
>please refer to the in
Guitar Man,
Are you getting the error intermittently or all the time? If the later,
please refer to the install.txt file that comes with the distribution. It's
almost always a permissions or setup problem.
-Flint
-Original Message-
From: Guitar Man [mailto:[EMAIL PROTECTED]]
Sent: Wedne
On Monday 24 September 2001 7:25 pm, Sridhar Moparthy wrote:
> Phil,
>
> 2. I have php_ldap.dll, php_oracle.dll, php4ts.dll and php.exe in "c:\php\"
> directory. All these files are accessible to iusr_* users with full
> control. Also these users have access to php.ini with full control. Also
> "E
01 2:43 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] CGI Error and not able to load DLL error
On Monday 24 September 2001 6:15 pm, Sridhar Moparthy wrote:
> Phil,
>
> Thank you for your reply.
>
> I have checked the following as mentioned in install.txt.
>
> 1.
On Monday 24 September 2001 6:15 pm, Sridhar Moparthy wrote:
> Phil,
>
> Thank you for your reply.
>
> I have checked the following as mentioned in install.txt.
>
> 1. Php.exe -i is working properly from the dos prompt.
> 2. All internet anonymous users have full access to PHP directory and all
>
Still I am getting the same error.
Thanks
Sridhar.
-Original Message-
From: Phil Driscoll [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 1:45 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] CGI Error and not able to load DLL error
On Monday 24 September
On Monday 24 September 2001 5:23 pm, Sridhar Moparthy wrote:
>
> CGI Error
> "The specified CGI application misbehaved by not returning a complete set
> of HTTP headers. The headers it did return are:"
>
>
install.txt tells you what to when you get this error.
--
Phil Driscoll
--
PHP Windows Ma
On Tuesday 14 August 2001 04:15, Usher wrote:
> I just installed the windows edition of php 4.06 which uses the
> installation program on NT4 Sp6 workstation then rebooted. I have IIS
> installed and the personal web manager. I created the simple "hello world"
> test page in html and it came up fi
Would you happen to be doing a header("location: some_url") in your code?
- Original Message -
From: "Svensson, B.A.T. " <[EMAIL PROTECTED]>
To: "Deborah Dennison" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 6:34
The error means that php didn't output anything.
Possible reasons are:
php couldn't run for some reason. Go to the command line and change to the
directory containing php.exe. Run php.exe -i and you will either see an
error message which will be helpful, or a screenful of html, which means
that
Well, a starter migt be http://www.ietf.org/rfc/rfc2616.txt
That is the complete specification of Hyper Text Transfer Protocol 1.1
(HTTP).
>-Original Message-
>From: Deborah Dennison [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 09, 2001 12:54 AM
>To: [EMAIL PROTECTED]
>Subject: [PHP-
This usually happens to me when I type in a page that doesn't exist but has
the .php ending to it. Check the URL.
I still haven't figured out why though. I hosed my server about 4 weeks
ago, that has been happening ever since, but it didn't used to happen.
-
John Asendorf -
Hey Ivan,
Most programs don't allow you to edit programs that are already open, or "in
use".When you are viewing a page in IE, that file is "In Use", so your
editor will usually not save the file. Most of the time, you can edit the
file, but you cannot save it, cause it's open! That explains "unl
t it or do anything.
Changing to another site in IE do the trick.
Can I do something to keep files from locking. ??
- Original Message -
From: "Rehuel Lobato de Mesquita" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2001 1:52 PM
Subject: Re: [PH
Hey Ivan, I had the same problem less then 24 hours ago!
first, I think you need my submission of yesterday (5 messages down) look at
the replies.
Make sure the properties of the folder you change to are changed too.
1. The url needs to be correct
2. Make sure the path is correctly changed to t
Hello,
Well when php describes a cgi error, but there is no output, it could be
because its not finding the file. On iis5 when you set the handler for php
(thats where you define the extention to php) theres a checkbox named "check
if file exists". If you check that box than if the file isnt
>The PHP is installed on c:\php
>C: is a FAT partition, everyone has permissions.
>I don't know exactly where to set permissions
>any suggestions?
No idea - never had a FAT partition! I think that FAT is brain dead in
respect of permissions, so it might be that IUSR_ doesn't have
sufficient privi
Hey Phil
PHP -i does display a pageful of html
The PHP is installed on c:\php
C: is a FAT partition, everyone has permissions.
I don't know exactly where to set permissions
any suggestions?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
Basically PHP did not produce any output. This is because either your source
php file did not exist, or the permissions on the file were such that php
couldn't read it, or that PHP did not run - this is usually because php.exe,
php4ts.dll, php.ini or any extension dlls you configured could not be
>CGI Error
>The specified CGI application misbehaved by not returning a complete set of
>HTTP headers. The headers it did return are:
This is usually because php didn't output anything.
Favourite causes are:
the file did not exist
php.exe, one of the php dlls or php.ini don't have file permissi
: [PHP-WIN] CGI Error Problem
>I am having a problem with PHP 4.0.4pl1 and IIS 5. New pages I create are
>giving a CGI Error. No matter what I have . on that page. Anyone else come
>across this problem.
And the CGI error says...?
--
Phil Driscoll
Dial Solutions
+44 (0)113 294
>I am having a problem with PHP 4.0.4pl1 and IIS 5. New pages I create are
>giving a CGI Error. No matter what I have . on that page. Anyone else come
>across this problem.
And the CGI error says...?
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dton
m: Toby Butzon [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 16, 2001 4:00 PM
> To: Maurice Barnes
> Cc: Chaz Yoon; [EMAIL PROTECTED]; Zeev Suraski
> Subject: Re: [PHP-WIN] CGI error: incomplete headers?
>
>
> You might want to double check your location commands...
>
EMAIL PROTECTED]>; "Zeev Suraski"
<[EMAIL PROTECTED]>
Sent: Sunday, February 18, 2001 6:13 AM
Subject: Re: [PHP-WIN] CGI error: incomplete headers?
> Just to add to the discussion (and apologies if I've missed the point). I
> use Phorum on a number of NT4 boxes, and h
Just to add to the discussion (and apologies if I've missed the point). I
use Phorum on a number of NT4 boxes, and have no problems at all with the
redirection stuff (this has been true from beta versions of php4 up to the
current release). Does this perhaps point to a misconfiguration of some
kin
age -
> From: "Toby Butzon" <[EMAIL PROTECTED]>
> To: "Maurice Barnes" <[EMAIL PROTECTED]>
> Cc: "Chaz Yoon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Zeev
> Suraski" <[EMAIL PROTECTED]>
> Sent: Friday, Febr
urice Barnes" <[EMAIL PROTECTED]>
Cc: "Chaz Yoon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Zeev
Suraski" <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 4:00 PM
Subject: Re: [PHP-WIN] CGI error: incomplete headers?
> You might want to d
EMAIL PROTECTED]; Zeev Suraski
Subject: Re: [PHP-WIN] CGI error: incomplete headers?
You might want to double check your location commands...
Maurice's omits a necessary space between "Location:" and the URL - this
space MUST be here... ie header("Location: ") is correct but
You might want to double check your location commands...
Maurice's omits a necessary space between "Location:" and the URL - this
space MUST be here... ie header("Location: ") is correct but
header("Location:") is not.
Chaz's header statement seems to omit the colon... maybe it's a typo
While I dont have a solution for this problem I can confirm that the problem
is in the Header("Location:") command. Because of this obvious quirk
with IIS and PHP4 we have had to resort to PHP3 for a major e-business site
we were trying to upgrade to PHP4. I am not sure why this has not yet be
Hi:
I don't know whether this is your case or not, but this happened me once I didn't
properly URLencoded the variables within my query string (GET method), and some of
those variables had blank spaces.
Greetings,
F.J. Ortiz
- Mensaje original -
De: "Chaz Yoon" <[EMAIL PROT
40 matches
Mail list logo