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

Did you know?Explore Trending and Topic pages for more stories like this.
$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

Select all entries from database that include a phrase
I have a database of clubs - one of the categories is meeting time and place
I would like to have

Online Event Ticket Sales
Has anyone wrote a script for online tickets sales?

I have been googling and found lots of th

user data not transferring to new page
I'm a PHP learner. After an index.php page, the user goes to a login.php page. Both pages seem to

tag inside php...
hi


Code: <?php
echo "<td width="$columnWidth%" align=&

Problem!
I have another problem, when i run this code i get this error "Parse error: syntax error, unexp

DYNPRO_FIELD_CONVERSION
Hi gurus,

I got a dump when I run one of my program. the dump is described below:

problem in pagination when processing with selectbox form
Hi,

I have a search form, with select boxes, if am selecting the value from the form, it work

whats wrong with my code please help!!!
this is the error


Warning: mysql_close(): supplied argument is not a valid MySQL-Link res

SELECT * FROM users WHERE Users are not in Blocked
How do I select all users from users table where there users_id is not stored in the block table

Calander layout
Hi i know this sounds like a simple question but i cant find the answer to it anywhere i have added

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