So here's some new observations on the instance variables being NULL.
As far as we found out this is the sequence of events:
1. Apache (MPM) received request A which executes a php script.
2. Within this script during the unserialization of an object an
exception is thrown.
3. This exception is
As a little clarification: The Apache server in question is configured as a
MPM prefork.
On Wed, Aug 15, 2012 at 4:28 PM, Reto Kaiser r...@cargomedia.ch wrote:
So here's some new observations on the instance variables being NULL.
As far as we found out this is the sequence of events:
1.
Hi,
Thanks for your input Robert and Volmar! I have googled again with
instance variable instead of class variable - but have not found
any similar reports.
I'm pretty sure those are the same objects. The application usually
runs alright. We only see the instance variables becoming NULL since
Hi,
We have since deployed another webserver machine and observe the exact
same behavior there.
So it is not a hardware problem.
We have also disabled various php modules, but this didn't help either.
Any debug suggestions are welcome! :)
Reto
On Tue, Aug 14, 2012 at 10:40 AM, Reto Kaiser
I'm not real clear on what's happening. Are you saying that if you assign
values to the protected class members, and then immediately read them,
that they're null? So, there's code something like this:
class Foo {
public function Something() {
$this-foo = 1;
//shows null instead
On 08/12/2012 05:32 AM, Reto Kaiser wrote:
Hi,
So I have this strange situation where I assign a classvariable a
value, but when I read the value it is NULL.
Does anyone have an idea what could cause this, or how to further debug?
Thanks,
Reto
What is your error reporting set to?
Do you
Hey,
We have:
error_reporting((E_ALL | E_STRICT) ~(E_NOTICE | E_USER_NOTICE));
Displaying errors is disabled:
display_errors = Off
We have a custom error handler which logs all errors to a file.
In this file we receive byeffect errors, like that the second argument
to array_key_exists should
On 12-08-12 08:32 AM, Reto Kaiser wrote:
Hi,
So I have this strange situation where I assign a classvariable a
value, but when I read the value it is NULL.
The class has one variable declared:
=
class A {
private $_cookies;
}
=
That is a private instance variable NOT
It's only a hint, but You start checking if the Object Ids are the same or not.
2012/8/13 Robert Cummings rob...@interjinn.com:
On 12-08-12 08:32 AM, Reto Kaiser wrote:
Hi,
So I have this strange situation where I assign a classvariable a
value, but when I read the value it is NULL.
The
9 matches
Mail list logo