New mini poll question with error
Posted: Fri Feb 16, 2007 7:31 am
Hello,
I created a user defined tag ( {enquete_admin} ) with the following code
I inserted the tag in a new page, and while running, I get this error:
Many thanks,
G
I created a user defined tag ( {enquete_admin} ) with the following code
Code: Select all
// plaats dit in enquete admin
include_once ("includes/miniPollAdmin.class.php");
$test = new miniPollAdmin;
$test->newPollForm();
if (isset($_GET['opt'])) {
$opt = $_GET['opt'];
$pollid = $_GET['pollid'];
if ($opt == 'activate') {
$test->activatePoll($pollid);
}
if ($opt == 'delete') {
$test->deletePoll($pollid);
}
}
echo "<br />";
if (isset($_GET['q'])) {
$pollname = $_GET['pollname'];
$q = $_GET['q'];
$test->createPoll($pollname, $q);
}
$test->listPolls();
Could some explain to me what this error means and how I can solve it?Fatal error: Cannot instantiate non-existent class: minipolladmin in /home/wsvherking/domains/wsv-herkingen.nl/public_html/lib/content.functions.php(669) : eval()'d code on line 4
Many thanks,
G