Ben Edwards schreef:
Our server has just been upgraded to PHP 5.2.5 and suddenly I am
getting the following error:
Fatal error: Call to a member function web_order_change() on a
non-object in /var/www/vhosts/cultureshop.org/httpdocs/cart.php on
line 32
The code is:
On Tue, Mar 4, 2008 at 5:09 AM, Jochem Maas [EMAIL PROTECTED] wrote:
Ben Edwards schreef:
Our server has just been upgraded to PHP 5.2.5 and suddenly I am
getting the following error:
Fatal error: Call to a member function web_order_change() on a
non-object in
register_globals got turned off.
All your $_SESSION variables (in your case, $_SESSION['SESSION']) need
to be reference explicitly now.
Add this at the top:
$SESSION = $_SESSION['SESSION'];
right after session_start();
On Mon, March 3, 2008 5:48 pm, Chris wrote:
Ben Edwards wrote:
Our server
Our server has just been upgraded to PHP 5.2.5 and suddenly I am
getting the following error:
Fatal error: Call to a member function web_order_change() on a
non-object in /var/www/vhosts/cultureshop.org/httpdocs/cart.php on
line 32
The code is:
$SESSION[cart]-web_order_change( true );
The
Ben Edwards wrote:
Our server has just been upgraded to PHP 5.2.5 and suddenly I am
getting the following error:
Fatal error: Call to a member function web_order_change() on a
non-object in /var/www/vhosts/cultureshop.org/httpdocs/cart.php on
line 32
The code is:
On 03/03/2008, Chris [EMAIL PROTECTED] wrote:
Ben Edwards wrote:
Our server has just been upgraded to PHP 5.2.5 and suddenly I am
getting the following error:
Fatal error: Call to a member function web_order_change() on a
non-object in
I don't think it's a change in OO handling, maybe it's a change in the
error_reporting level for the new version and you hadn't noticed the
problem before.
Its a Fatel Error not a warning. Dont see how level off error
reporting could be relevant.
Fair enough :P
What type of variable is
Chris wrote:
I don't think it's a change in OO handling, maybe it's a change in the
error_reporting level for the new version and you hadn't noticed the
problem before.
Its a Fatel Error not a warning. Dont see how level off error
reporting could be relevant.
Fair enough :P
What type
8 matches
Mail list logo