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

Moncler S Mayuko Mujeres Escudo caliente Venta Roja [Moncler1788] - €407.34 : MONCLER ,

Moncler chaquetas de salida
Moncler chaquetas venta
Moncler ropa exterior de la chaqueta [

Chopard klockor, Chopard klockor
[b][url=]klockor pris[/url][/b] [b][url=

Audemars Piguet Relojes
réplicas de relojes suizos aaa +
réplicas de relojes suizos

Echoing a Variable from a Object
How do I get a variable from the new User Class to echo out in this clasS?

class MyApp

Hi All,

I think I'm finally getting somewhere with pagination!

I can now submit a quer

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