Re: [PHP] Wierd error with xml_set_element_handler()

2007-08-05 Thread Tijnema
On 8/5/07, Bruce Steinback <[EMAIL PROTECTED]> wrote: > Okay, I'm probably really stupid, but I can't figure this out. I'm getting > the error: > > Fatal error: Function name must be a string in .../pages-stage/loginresp.php > on > line 205 > > (which is the xml_set_element_handler() call) > > w

[PHP] Wierd error with xml_set_element_handler()

2007-08-05 Thread Bruce Steinback
Okay, I'm probably really stupid, but I can't figure this out. I'm getting the error: Fatal error: Function name must be a string in .../pages-stage/loginresp.php on line 205 (which is the xml_set_element_handler() call) with this code: function startElement($parser, $name, $attrs) { g

Re: [PHP] Wierd error

2005-11-17 Thread Chris Boget
We were using unset() for the longest time but found it doesn't seem to free up the memory. interesting - you are suggesting that settype does free the memory directly? Yes. Moreso than unset(), at least according to my observations and tests. I have seen a number of posts to internals regar

RE: [PHP] Wierd error

2005-11-17 Thread Ford, Mike
On 17 November 2005 14:31, Chris Boget wrote: > > I'm seeing the following line showing up in my logs: > > > > 08:08:30 [warning] [Unknown][0]: Unknown(): Unable to call () - > > function does not exist > > > > The line to concentrate on is this one: > > $dbObject = new IPI_OfficeDetailsInt

Re: [PHP] Wierd error

2005-11-17 Thread Jochem Maas
Chris Boget wrote: why not just do: unset($dbObject); We were using unset() for the longest time but found it doesn't seem to free up the memory. interesting - you are suggesting that settype does free the memory directly? I have seen a number of posts to internals regarding to being able to

Re: [PHP] Wierd error

2005-11-17 Thread Chris Boget
why not just do: unset($dbObject); We were using unset() for the longest time but found it doesn't seem to free up the memory. $dbObject &= new IPI_OfficeDetailsInterface(); so you want to do a bitwise AND on a non-existant variable and a newly creately object?? maybe you meant to do: $dbObj

Re: [PHP] Wierd error

2005-11-17 Thread Jochem Maas
Chris Boget wrote: I'm seeing the following line showing up in my logs: 08:08:30 [warning] [Unknown][0]: Unknown(): Unable to call () - function does not exist and I've narrowed it down to this line of code: Update, it turns out it's not the settype(). Here's a larger context of the of

Re: [PHP] Wierd error

2005-11-17 Thread Chris Boget
I'm seeing the following line showing up in my logs: 08:08:30 [warning] [Unknown][0]: Unknown(): Unable to call () - function does not exist and I've narrowed it down to this line of code: Update, it turns out it's not the settype(). Here's a larger context of the offending area of code

[PHP] Wierd error

2005-11-17 Thread Chris Boget
I'm seeing the following line showing up in my logs: 08:08:30 [warning] [Unknown][0]: Unknown(): Unable to call () - function does not exist and I've narrowed it down to this line of code: settype( &$dbObject, "null" ); When I comment out the above line, the error goes away. When I uncomm

Re: [PHP] wierd error

2005-11-15 Thread Curt Zirzow
On Tue, Nov 15, 2005 at 06:05:20PM -, Ross wrote: > > When I test locally I get a weird error.. > > > CGI Error > The specified CGI application misbehaved by not returning a complete set of > HTTP headers. The headers it did return are: > > any ideas? Not really, how did you set php up l

RE: [PHP] wierd error

2005-11-15 Thread Jay Blanchard
[snip] When I test locally I get a weird error.. CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: any ideas? [/snip] It is not nearly as weird as you may think. Have you looked at your error log? Can we see the s

[PHP] wierd error

2005-11-15 Thread Ross
When I test locally I get a weird error.. CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: any ideas? R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Wierd error messages

2001-04-26 Thread Euan Greig
Sorrry, if this wasn't clear, but the problem _has_ persisted after the reboots. Euan ""Brian S. Dunworth"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > At 03:03 PM 4/25/01 +0100, Euan Greig wrote: > >[25-Apr-2001 14:34:48] PHP Warning: Missing ] in üu v

Re: [PHP] Wierd error messages

2001-04-25 Thread Brian S. Dunworth
At 03:03 PM 4/25/01 +0100, Euan Greig wrote: >[25-Apr-2001 14:34:48] PHP Warning: Missing ] in üu variable in Unknown >on line 0 >[25-Apr-2001 14:34:50] PHP Warning: Missing ] in }´üt variable in Unknown >on line 0 [...] etc I hate to say it, but this looks suspiciously like a memory l

[PHP] Wierd error messages

2001-04-25 Thread Euan Greig
Today my php 4/Apache/NT 4/Oracle 8i setup has started misbehaving. First sign was a huge slowing down in the delivery of pages. Then Apache crashed. I couldn't find anything interesting in the apache error log, but in the php error log there are hundreds of messages like the ones below. Can anyon