Re: [PHP] Internal Server Error : Resolved

2006-04-13 Thread Rahul S. Johari

Well I did figure out the problem.
The folder I was uploading the files to had special permissions (yeah I
know, Duuuhh!). I kept thinking the files I'm uploading are having a
permissions issue, it just skipped my mind that the folder I was uploading
to had Special Permissions, not the files.

I moved the files to another folder and it works! Well, sort of. I'm getting
ye 'ol Warning: session_start(): Cannot send session cache limiter -
headers already sent (output started at... error. But I'll work it out.
Nothing that I haven' dealt with before.

Thanks,

Rahul S. Johari
Coordinator, Internet  Administration
Informed Marketing Services Inc.
500 Federal Street, Suite 201
Troy NY 12180

Tel: (518) 687-6700 x154
Fax: (518) 687-6799
Email: [EMAIL PROTECTED]
http://www.informed-sources.com

On 4/13/06 10:06 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 look at the apache error log on the hosting site. i suspect that you'll
 find that the configuration of your machine differs from that of your
 hosting provider, so you're using a function or capability that's not
 supported on their site.
 
 you should also turn your php error reporting up so that you see
 anything that's reported at that level.
 
 in short, without knowing the specific error information, there's not a
 lot that anyone can do to help -- so start with the logs.
 
 
 
 
  Original Message 
 Date: Thursday, April 13, 2006 10:00:26 AM -0400
 From: Rahul S. Johari [EMAIL PROTECTED]
 To: PHP php-general@lists.php.net
 Subject: [PHP] Internal Server Error
 
 Ave,
 
 This is something I don¹t understand.
 I have 3 php scripts that run fine on my localhost server, but when I
 upload the 3 files to my Internet Server (Hosting Account), I get the
 500 Internal Server Error. I am able to access them fine on my
 machine here (Running Apache Web Server)... But on my internet
 server, it just keeps giving me the 500 Internal Server Error. Any
 reason why it would be doing so?
 
 Rahul S. Johari
 Coordinator, Internet  Administration
 Informed Marketing Services Inc.
 500 Federal Street, Suite 201
 Troy NY 12180
 
 Tel: (518) 687-6700 x154
 Fax: (518) 687-6799
 Email: [EMAIL PROTECTED]
 http://www.informed-sources.com
 
 
 -- End Original Message --

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Internal Server Error

2006-04-13 Thread chris smith
 I have 3 php scripts that run fine on my localhost server, but when I upload
 the 3 files to my Internet Server (Hosting Account), I get the 500 Internal
 Server Error. I am able to access them fine on my machine here (Running
 Apache Web Server)... But on my internet server, it just keeps giving me the
 500 Internal Server Error. Any reason why it would be doing so?

Any chance you can get to the error logs on the other server? That
will give you some hints about what's going wrong.

Are you uploading a htaccess file? Maybe there's something in that not
right for the live server.. but the easiest way to work it out is the
logfiles.

--
Postgresql  php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Internal Server Error

2006-04-13 Thread Georgi Ivanov
Do you have access to server logs ?
If yes, what they say ?
PHP as module or as CGI/FastCGI ?
When the error occurs ? immediately  or after some time ?

On Thursday April 13 2006 17:00, Rahul S. Johari wrote:
 Ave,

 This is something I don¹t understand.
 I have 3 php scripts that run fine on my localhost server, but when I
 upload the 3 files to my Internet Server (Hosting Account), I get the 500
 Internal Server Error. I am able to access them fine on my machine here
 (Running Apache Web Server)... But on my internet server, it just keeps
 giving me the 500 Internal Server Error. Any reason why it would be doing
 so?

 Rahul S. Johari
 Coordinator, Internet  Administration
 Informed Marketing Services Inc.
 500 Federal Street, Suite 201
 Troy NY 12180

 Tel: (518) 687-6700 x154
 Fax: (518) 687-6799
 Email: [EMAIL PROTECTED]
 http://www.informed-sources.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Internal Server Error ?!?

2005-03-09 Thread John Nichel
[EMAIL PROTECTED] wrote:
Hi guys.
Last night I got Internal Server Error on every page written in php. 
HTML pages work just fine.
Our web site is on dedicated server. I contacted tech and he said they 
didn't touch the server and must be something I did.
I REALLY don't remember I did anything wrong. Just regular php coding. 
And, everything was working fine while I was in my office. I found this 
problem at home.
What could cause this problem? Any hint?
Look at your error logs.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Internal Server Error ?!?

2005-03-09 Thread John Nichel
[EMAIL PROTECTED] wrote:
Sound silly but: Where I can find error logs on server?
:)
Reply to the list.
Where are _YOUR_ error logs?  I have no idea.  I don't know what web 
server software you're running, how you installed it, where you 
installed it, etc.

Honestly, if you don't know where your error logs are, you really need 
to RTFM for your web server software.

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Internal Server Error ?!?

2005-03-09 Thread [EMAIL PROTECTED]
thankns guys for your help. problem solved. tech from hosting company 
said they had last night power problem and rebooted server few times and 
left open some files ?!? I didn't get this part but didn't have time 
and nervs to talk to him more.

Thanks!
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] internal server error

2004-06-18 Thread Marek Kilimajer
What installation instructions did you follow. Did you install cgi or 
module version?

Bob Lockie wrote --- napísal::
I'm getting an 'Internal Server Error' when I run:
http://216.15.235.3/cgi-bin/testphp.php
I've added AddType directives, this is not my first install of PHP but 
it is my first install with the latest versions.

Is anybody using the php-install mailing list?
I got tons of SPAM when I posted there. :-(
The log says:
[Fri Jun 18 12:31:05 2004] [error] [client 216.168.107.70] Premature end
of script headers: testphp.php
[Fri Jun 18 12:31:05 2004] [error] [client 216.168.107.70] (8)Exec
format error: exec of '/usr/local/apache2/cgi-bin/testphp.php' failed
http://216.15.235.3/cgi-bin/test-cgi
that came with Apache works fine.
I am using Apache-2.0.49 and PHP-4.3.7.
The command line PHP works fine.
testphp.php is:
?php phpinfo(); ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] internal server error

2004-06-18 Thread Bob Lockie
On 06/18/04 14:24 Marek Kilimajer spoke:
What installation instructions did you follow. Did you install cgi or 
module version?
I fixed it, I had the test file in the cgi-bin directory.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Internal server error

2004-03-02 Thread Chris Sandy
They may be running mod_security and a badly configured mod_security can
produce 500. 

I also noticed when compiling php as a cgi 90% of my code gave me 500
errors as well.

-Original Message-
From: kringla [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 02, 2004 8:39 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Internal server error

We are using a web-hotel named b-one. Very often we stumble on 'internal

server error 500' without any reason. I have not touched the php-pages 
and yet the problem occur. What should I do? Is there any possibilty 
that my scrips are causing these errors? We also get the same errors 
when working in phpmyadmin for the same page.

I've mailed to b-one but they only respond 'all is fine and working'.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Internal server error

2004-03-02 Thread Raditha Dissanayake
The server's error log will tell you the cause (most of the time)

kringla wrote:

We are using a web-hotel named b-one. Very often we stumble on 
'internal server error 500' without any reason. I have not touched the 
php-pages and yet the problem occur. What should I do? Is there any 
possibilty that my scrips are causing these errors? We also get the 
same errors when working in phpmyadmin for the same page.

I've mailed to b-one but they only respond 'all is fine and working'.



--
Raditha Dissanayake.

http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Internal Server Error?

2002-01-06 Thread Kraa de Simon

This only works if PHP is installed as an Apache module on the Linux/UNIX
platforms.

From the docs:

One additional note about PHP: if PHP is installed as an Apache module on
the Linux/UNIX platforms, there are additional global variables available to
your PHP script: 

$PHP_AUTH_USER -- Authenticated User name 
$PHP_AUTH_PW -- Authenticated Password 
$PHP_AUTH_TYPE -- Authentication Type 

Additionally, your PHP program can force Apache to prompt the user for a
username and password with the following PHP commands: 

header('WWW-Authenticate: Basic realm=My Private Stuff'); 
header('HTTP/1.0 401 Unauthorized'); 
echo 'Authorization Required.'; 

From then on, your application logic can decide how to respond to the user.
Note that on the Windows platform, PHP is installed as a CGI, and these
features are therefore not available. 

 -Original Message-
 From: GoodFella [mailto:[EMAIL PROTECTED]]
 Sent: zondag 6 januari 2002 17:31
 To: php Mail
 Subject: [PHP] Internal Server Error?
 
 
 Hello,
 
 Does anybody have any ideas why the code below is giving me 
 internal server errors?
 
 if (!isset($PHP_AUTH_USER)) {
 
  header('WWW-Authenticate: Basic realm=XYZ Company Admin Area');
  header('HTTP/1.0 401 Unauthorized');
  echo 'Authorization Required.';
  exit;
 
 } else if (isset($PHP_AUTH_USER)) {
 
  if (($PHP_AUTH_USER != admin) || ($PHP_AUTH_PW != password)) {
  
   header('WWW-Authenticate: Basic realm=XYZ Company Admin Area');
   header('HTTP/1.0 401 Unauthorized');
   echo 'Authorization Required.';
   exit;
 
 
 Do I need to set or change anything in my PHP set-up?
 
 Thanks in advance,
 
 GF.
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]