Class method unavailable on server

Class method unavailable on server

am 12.12.2006 17:51:30 von Niel Archer

Hi all,

I have a class extending another, both saved in separate files. When
using them from a 'control' file through CLI, I have no problems. But
accessing through a web server causes a 'Call to undefined method' fatal
error. The method in question is in the parent class and can't be
accessed however I try.

This has me totally stumped. Anybody have any ideas on how to resolve
this?

Niel

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

Re: Class method unavailable on server

am 12.12.2006 18:22:58 von Stut

Niel Archer wrote:
> I have a class extending another, both saved in separate files. When
> using them from a 'control' file through CLI, I have no problems. But
> accessing through a web server causes a 'Call to undefined method' fatal
> error. The method in question is in the parent class and can't be
> accessed however I try.
>
> This has me totally stumped. Anybody have any ideas on how to resolve
> this?

My psychic powers tell me that you need to provide us with your code
before we can provide helpful help.

-Stut

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

Re: Class method unavailable on server

am 13.12.2006 10:50:04 von Niel Archer

Hi Stut

thanks, but I got it sorted. It was an inclusion problem, an out of
date file existed in the main folder and prevented the up to date
version from being used from the include path. I don't remember putting
the file there, but that's my fault for coding so late.

Niel

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