Codeigniter and QF2 : Call to undefined method CI_Loader::getDataSources()
| From: | Mark Steudel | Date: | Thu, 13 May 2010 21:16:46 +0000 |
| Subject: | Codeigniter and QF2 : Call to undefined method CI_Loader::getDataSources() | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30536@lists.php.net to get a copy of this message | ||
I am using quickform2 in a codeigniter project. I'm getting the
following error randomly (i refresh a page and it randomly comes up):
Fatal error: Call to undefined method CI_Loader::getDataSources() in
/Users/msteudel/Documents/wwwroot/mathmonsterci.com/trunk/system/application/pear/HTML/QuickForm2/Node.php
on line 442
I'm guessing there's some sort of race condition going on but not sure
where to start looking ...
Call Stack
# Time Memory Function Location
1 0.0012 67204 {main}( ) ../index.php:0
2 0.0028 108864 require_once(
'/Users/msteudel/Documents/wwwroot/mathmonsterci.com/trunk/system/codeigniter/CodeIgniter.php'
) ../index.php:115
3 0.0666 2116644 call_user_func_array ( ) ../CodeIgniter.php:236
4 0.0666 2116684 student->update( ) ../CodeIgniter.php:0
5 0.1004 2793792 CI_Loader->view( ) ../student.php:45
6 0.1005 2793792 CI_Loader->_ci_load( ) ../Loader.php:307
7 0.1019 2845680 include(
'/Users/msteudel/Documents/wwwroot/mathmonsterci.com/trunk/system/application/views/admin/main_template.php'
) ../Loader.php:677
8 0.1034 2853428 CI_Loader->view( ) ../main_template.php:16
9 0.1034 2853428 CI_Loader->_ci_load( ) ../Loader.php:307
10 0.1037 2898992 include(
'/Users/msteudel/Documents/wwwroot/mathmonsterci.com/trunk/system/application/views/admin/student/update.php'
) ../Loader.php:677
11 0.1037 2899220 CI_Loader->view( ) ../update.php:4
12 0.1037 2899444 CI_Loader->_ci_load( ) ../Loader.php:307
13 0.1041 2957952 include(
'/Users/msteudel/Documents/wwwroot/mathmonsterci.com/trunk/system/application/views/forms/admin/student.php'
) ../Loader.php:677
14 0.1150 3173748 HTML_QuickForm2->addDataSource( ) ../student.php:19
15 0.1150 3173748 HTML_QuickForm2_Container->updateValue(
) ../QuickForm2.php:147
16 0.1151 3173940 HTML_QuickForm2_Element->updateValue( ) ../Container.php:363
17 0.1151 3174228 HTML_QuickForm2_Node->getDataSources( ) ../Element.php:98
--
-----------------------------------------
Mark Steudel
P: 206.375.7244
msteudel@gmail.com
. : Work : .
http://www.mindfulinteractive.com
. : Play : .
http://www.steudel.org/blog