Class not found error


Posted on 16th Feb 2014 01:33 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

Omega de- ville , de- ville
[b][url=http://www.omegareplicawatches.cn/fr/]omega constellation mens[/url][/b] [b]omega deville wa

How can I get my program to read a larger array ??
Hi:

I have this program that reads from an array to do calculations. The array are just t

För män Rado Automatic R13578902 [2237] - SEK 2,275 : replika klockor, watchesstores.co
[b][url=http://www.watchesstores.co/sv/]swiss replika klockor aaa +[/url][/b] [b]schweiziska replika

text box alphanumeric caracters only
hi all!

I have search on google on how to enter in a test box only caracters A-Z,a-z,0-9 usi

I face problems to extract data from one table and insert it in another one
Hi,

For modifications, I have to extract data from one table and insert it in another one

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