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

//end write


No comments posted yet

Your Answer:

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

occhiali da sole Oakley sconto
[b][url=]occhiali da sole Oakley[/url][/b] [b][url=]

weeks in a year

i found this snippet on
QuoteFor the week number for weeks starting on Sunday:

Buying a Collection Of The Best-Looking Replica Petek Phillipe Watches Online To Suit Your Every Occasion
[b][url=]swiss replica watches[/url][/b] [b][url=

Create comparison matrix?
I want to create a comparison script for forum software and was wondering is there any tutorial or b

New Login Script
Hi all, i attempted to create a whole new login script witch isnt working for some reason i dont kno

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