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();

//end write


No comments posted yet

Your Answer:

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

ダイヤルカラー : レプリカの腕時計,
[b]偽パネライはレプリカを見る[/b] [b]pa

fopen() security
As i understood the usage of fopen() for it to function correctly the Dir you write to has to be rw

IWC Da Vinci samling IW376205 män automatisk mekanisk klocka (IWC) - SEK 1,835 : Replica iwc klockor ,
IWC klockor för män
IWC klockor till salu

Christian Louboutin Flats: Chaussures Christian Louboutin Outlet Vente avec le grand escompte !

Sales orders ans reservations not taken into account on MPS / MRP

I am implementing the MPS / MRP and I have the following problem:

I ha

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