Laney
Member
Registered: 6th May 03
Location: Leeds
User status: Offline
|
I've got a function (clean()) defined within a class (SQL) which every other class extends (products, customers) etc.
When I try to call in the clean function (using $this->clean()) from within a sub-class I get a CGI error
The function itself is fine so it can't be that, it has to be to do with the way its called. I've tried using it as a standalone function and I get the same CGI error.
Its running on IIS if thats any help? Any ideas?
(Code supplied by request )
|
Laney
Member
Registered: 6th May 03
Location: Leeds
User status: Offline
|
The exact error is:
CGI Header
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
Do you get HTTP headers without the call?
|
Laney
Member
Registered: 6th May 03
Location: Leeds
User status: Offline
|
Yeah, everything works fine when I don't call the specific function, yet when I take it out of this context its fine with no errors etc.
I've read up on IIS/PHP/MySQL creating CGI errors and theres a slim chance it could be that, something to do with small querys on a fast server?
I'm not using any call to the header() function btw, just a file of classes and functions.
|