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 horloges
[b][url=http://nl.hublotwatch.com.cn/]hoge kwaliteit replica horloges voor mannen[/url][/b] [b][url=

Effort Estimation Template for Steady State Support
Hi Everyone,

Is there any SAP provided template/format for system change and enhancements

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

//write config

$pat

How to schedule the a job?
Hi,
I have prepared a task ( i.e. a procedure is prepare the file and send the same to con

Tiffany Hänge: , tiffany -outlet - 2014.com
[b]Billiga Tiffany & co smycken[/b] [b][url=http://www.tiffanyrings.com.cn/sv/]tiffany smycken[/url]

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