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

php file erros / need help please

Someone decoded a zend file for me.. after uploaded it on ftp i get some errors, i trye

Printing a webpage
I use this to print the webpage: o

BSP Ext - tableView - Sort - NEWBIE
I have been trying to get the sort to work. I have defined the column definitions by fillin

removing space from the end of a variable
i have a variable $image which contains the following url "

Progress bar tracking file downloads
Hey guys, was wondering if there was a way to track how far a file has been downloaded. I know there

tell csv import script to ignore blank rows?
Hi i have the below script but i get an error if a row is blank ie a return in the csv file at the e

PHP url branch??
Functionally, using PHP, I'm doing a test of login input submitted by a user via an html form in a f

server trace logs
could any one tell me from where do i get error logs in xMII??I want to check the reason for dtabase

The type or namespace name 'ServiceModel' does not exist in the namespace 'System'
When I locally run the website, it works just fine, but when I uploaded it to the hosting environmen

Is there a way to override built in php functions without APD?
I am trying to use the
options that are built into

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS

Play Free Quiz and Win Cash