Re: [PHP] Unable to load pages with errors

2004-05-28 Thread peter a
I have not changed my configuration lateley, what I know of. There is 
another guy working on the server, but he said he had changed nothing 
either. I've been running this configuration for a couple of months now 
and it has never caused me any troubles.
  /peter

Michael Sims wrote:
peter a wrote:
It not just that page.. it is all pages the will generate some sort of
PHP error. Instead of the usual error output I get nothing.

Sounds to me like the apache process is segfaulting when PHP's error handler is
invoked.  You say it used to work for you, what changed recently?  Did you install a
new version of Apache, or PHP?  Did you change the configuration of either?  Is
there anything in the apache error log?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Unable to load pages with errors

2004-05-28 Thread peter a
PHP configuration has not been changed though... so it's just strange.. 
I read something about a similiar trouble if you SSL on the server, I 
have SSL installed but this site is not under https. Anybody now 
anything about that?
/peter


Chris W. Parker wrote:
peter a 
on Friday, May 28, 2004 9:17 AM said:

It not just that page.. it is all pages the will generate some sort of
PHP error. Instead of the usual error output I get nothing.

hmm... sounds like a php configuration thing. i.e. a server thing. in
which case i'm all out of ideas. good luck!

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


Re: [PHP] Unable to load pages with errors

2004-05-28 Thread peter a
No the file is there. I see it in the access logs for apache (even 
though last night it didn't even show up there.. ), but it refuses to load.

Every time I get a PHP error the page freezes up and my browser tries to 
load it forever or I get "The page cannot be dispalyed". The file is 
there.. it just won't load..

In a working PHP-file I added some code that for sure wouldn't work, and 
the page froze. Still showed up in the access log though.. but it didn't 
display any output at all obviously.
 /peter


Peter Risdon wrote:
peter a wrote:

I have stumbled on something that is new for me. Usually when I get a 
PHP error I print them on the page, but suddenly pages with errors 
don't load at all, in IE I get the usual "The page cannot be 
displayed" and in Lynx I get "Alert!: Unable to access document."

Lynx generally knows what it is talking about. It sounds as though your 
page really is not available. You have given very little detail - the 
webserver logs might be interesting, for example, because they'd show 
what document the browsers were trying to access. But I'd guess your php 
error - if that's what it is - consists of trying to load a non-existent 
url.

Stabbing in the dark here - have you missed a "?" before GET arguments?
PWR.
I run PHP 4.3.2 and Apache 2.0.47 on RedHat 9.
Ideas anyone?
   /peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Unable to load pages with errors

2004-05-28 Thread Michael Sims
peter a wrote:
> It not just that page.. it is all pages the will generate some sort of
> PHP error. Instead of the usual error output I get nothing.

Sounds to me like the apache process is segfaulting when PHP's error handler is
invoked.  You say it used to work for you, what changed recently?  Did you install a
new version of Apache, or PHP?  Did you change the configuration of either?  Is
there anything in the apache error log?

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



RE: [PHP] Unable to load pages with errors

2004-05-28 Thread Chris W. Parker
peter a 
on Friday, May 28, 2004 9:17 AM said:

> It not just that page.. it is all pages the will generate some sort of
> PHP error. Instead of the usual error output I get nothing.

hmm... sounds like a php configuration thing. i.e. a server thing. in
which case i'm all out of ideas. good luck!



c.

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



Re: [PHP] Unable to load pages with errors

2004-05-28 Thread peter a
It not just that page.. it is all pages the will generate some sort of 
PHP error. Instead of the usual error output I get nothing.
  /peter

Chris W. Parker wrote:
peter a 
on Friday, May 28, 2004 9:12 AM said:

Nothing complicated at all. It loops out some values from a MySQL
database with not more than 20 entries. It's not that..

well unless it's a server thing (in which case i'd have no ideas towards
a solution) your next step is to strip the file until it starts working
again. or you can start from scratch checking the page at every step
until it stops working.

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


RE: [PHP] Unable to load pages with errors

2004-05-28 Thread Chris W. Parker
peter a 
on Friday, May 28, 2004 9:12 AM said:

> Nothing complicated at all. It loops out some values from a MySQL
> database with not more than 20 entries. It's not that..

well unless it's a server thing (in which case i'd have no ideas towards
a solution) your next step is to strip the file until it starts working
again. or you can start from scratch checking the page at every step
until it stops working.



chris.

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



Re: [PHP] Unable to load pages with errors

2004-05-28 Thread peter a
Nothing complicated at all. It loops out some values from a MySQL 
database with not more than 20 entries. It's not that..
 /peter

Chris W. Parker wrote:
peter a 
on Friday, May 28, 2004 9:06 AM said:

Thanks, but that didn't take me anywhere. My browser still seems to
hang itself or load a part of the page. I suppose it could be any of
my http-processes that freezes up.. but I don't seems like it and I
don't know why it would. Doesn't matter which browser I use either.

is the page doing anything complicated that would cause it to take a
long time to finish (and subsequently load)?

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


RE: [PHP] Unable to load pages with errors

2004-05-28 Thread Chris W. Parker
peter a 
on Friday, May 28, 2004 9:06 AM said:

> Thanks, but that didn't take me anywhere. My browser still seems to
> hang itself or load a part of the page. I suppose it could be any of
> my http-processes that freezes up.. but I don't seems like it and I
> don't know why it would. Doesn't matter which browser I use either.

is the page doing anything complicated that would cause it to take a
long time to finish (and subsequently load)?



c.

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



Re: [PHP] Unable to load pages with errors

2004-05-28 Thread peter a
Thanks, but that didn't take me anywhere. My browser still seems to hang 
itself or load a part of the page. I suppose it could be any of my 
http-processes that freezes up.. but I don't seems like it and I don't 
know why it would. Doesn't matter which browser I use either.
  /peter

Chris W. Parker wrote:
peter a 
on Friday, May 28, 2004 8:29 AM said:

I have stumbled on something that is new for me. Usually when I get a
PHP error I print them on the page, but suddenly pages with errors
don't load at all, in IE I get the usual "The page cannot be
displayed" and in Lynx I get "Alert!: Unable to access document."

first of all turn off friendly http errors in internet explorer and that
should show you what error is happening. then you can go from there.

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


RE: [PHP] Unable to load pages with errors

2004-05-28 Thread Chris W. Parker
peter a 
on Friday, May 28, 2004 8:29 AM said:

> I have stumbled on something that is new for me. Usually when I get a
> PHP error I print them on the page, but suddenly pages with errors
> don't load at all, in IE I get the usual "The page cannot be
> displayed" and in Lynx I get "Alert!: Unable to access document."

first of all turn off friendly http errors in internet explorer and that
should show you what error is happening. then you can go from there.



chris.

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