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

Calculating n! using vector


Vestidos de noiva estilo clássico
[b][url=]vestidos de casamento on-line[/url][/b] [b][url=http://ww

User registration and login
I don't know whether this is the correct forum, if not i apologise but am pretty desperate at the mo

La colección elegante Longines
[b][url=]Longines falsos[/url][/b] [b][url=http://www.longineswatch.

Montblanc Kugelschreiber : MontBlancPens -
[b][url=]Montblanc Füllfederhalter[/url][/b] [b][url=http://www.

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