Class not found error


Posted on 16th Feb 2014 07:03 pm by admin

I am getting Class 'index' not found in Eval function:

//write config

$path = dirname(__FILE__).DS.'..'.DS.'paymentclass';

if ( $model->payment_class ) {

if (include_once($path.DS.$model->payment_class )) {
eval( "$_PAYMENT = new ".str_replace('.php', '', $model->payment_class)."();");
}
}else {
include( $path."pcl_payment.php" );
$_PAYMENT = new pcl_payment();
}
$_PAYMENT->write_configuration();

//end write


Why???

No comments posted yet

Your Answer:

Login to answer
214 Like 54 Dislike
Previous forums Next forums
Other forums

Replica Fancy Breitling Bentley Tourbillon Automatic with Black Dial and Gold AAA Watches [E9Q5] - $220.00 : Professional replica watches stores, designerwatches.cn
[b][url=http://www.designerwatches.cn/]swiss replica watches aaa+[/url][/b] [b][url=http://www.desi

Kvinner Air Jordan Horizon Black Pink Denmark [nike-17034474] - NOK 422 : butikker, nikesbookmarks.com
[b][url=http://www.timberland-boots.top/]timberland boots[/url][/b] [b][url=http://www.timberland-bo

highlighting search terms
well, I started this in the regular PHP section, but it no longer fits there. Suffice it to say, I'm

I would like "for" to wait 5 sec
I would like my 'for' loop to wait 5 sec before second iteration.


for ($i=0; $i<10

Moncler Kids: Moncler Outlet , Moncler Jakker, Moncler Sale med gratis frakt Over $ 99, Moncler Online. !
[b][url=http://www.monclershopping.top/no/]moncler outlet[/url][/b] [b][url=http://www.monclershopp

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS