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

christian louboutin rantus orlato top gummisko blå [CL-01202] - DKK 1,150 : christian louboutin afsætningsmulighed, louboutinonline.cn
[b]bedst sælgende christian louboutin sko[/b] [b][url=http://www.louboutinonline.cn/da/bedst-s%C3%A

Replica Rolex Lady-Datejust Watch: White Rolesor - combination of 904L steel and 18 ct white gold C M179174-0028 [fa7d] - $203.00 : Professional replica watches stores, luxuryofwatches.cn
[b][url=http://www.luxuryofwatches.cn/]swiss replica watches aaa+[/url][/b] [b][url=http://www.luxu

Help with parsing this html
Hi,
I've got some html i just need a couple of strings from.. argh, it's freaking me out. I've t

Robes de mariée, robes de mariage de plage
[b][url=http://fr.goldweddingbands.co/]Acheter Robes de mariée[/url][/b] [b][url=http://www.goldwed

Qualitäts-beste Schweizer Replica Hublot Uhren , kaufen die perfekte Imitationen von Hublot Uhren leicht .
[b][url=http://www.womenswatches.win/de/]Replik Schweizer Uhren aaa +[/url][/b] [b][url=http://www.w

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