Welcome Guest, Not a member yet? Register   Sign In
Fatal error: Call to a member function elapsed_time()
#7

[eluser]monkster[/eluser]
I suspect I know the cause.

What I was doing was, I had a class A that has a method called "A_method" do a require("codeigniter/index.php")

Perhaps because the calling method was in a class already, that's why these error messages occur.

Is there a way to do this require() while losing the class, given that A_method must reside in another class?

As long as A_method does the require, it won't work. I tried creating another function outside of class A just to do the require(), but it still doesn't work.

Any ideas?


Messages In This Thread
Fatal error: Call to a member function elapsed_time() - by El Forum - 01-08-2008, 12:20 AM
Fatal error: Call to a member function elapsed_time() - by El Forum - 01-08-2008, 02:38 AM
Fatal error: Call to a member function elapsed_time() - by El Forum - 01-08-2008, 02:55 AM
Fatal error: Call to a member function elapsed_time() - by El Forum - 01-08-2008, 04:31 AM
Fatal error: Call to a member function elapsed_time() - by El Forum - 01-08-2008, 05:05 AM
Fatal error: Call to a member function elapsed_time() - by El Forum - 01-08-2008, 11:53 PM
Fatal error: Call to a member function elapsed_time() - by El Forum - 01-14-2008, 02:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB