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

ダイヤルカラー : レプリカの腕時計, sitecdesign.com
[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 , iwcportuguresewatches.top
IWC klockor för män
IWC klockor till salu
[b][url=http://www.iwcportuguresewatches.top/sv/

Christian Louboutin Flats: Chaussures Christian Louboutin Outlet Vente avec le grand escompte !
[b][url=http://www.christianlouboutinshoesbottom.com/fr/christian-louboutin-bottes-c-2.html]christia

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

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