what is Fatal error: Using $this when not in object context ??
Man... got this problem... can someone help me fix this?
*.inc code:
Line 58
PHP Code:
if ($auth->userdata["acclevel"] < 80) die ("Access denied!"); ?> <img src="<?php echo $g_options["imgdir"]; ?>/downarrow.gif" width=9 height=6 border=0 align="middle" alt="downarrow.gif"><b> <?php echo $task->title; ?></b><p> You can enter a player or clan ID number directly, or you can search for a player or clan.<p> <table width="90%" align="center" border=0 cellspacing=0 cellpadding=0> <tr valign="top"> <td width="100%"><?php echo $g_options["font_normal"]; ?> <img src="<?php echo $g_options["imgdir"]; ?>/downarrow.gif" width=9 height=6 border=0 align="middle" alt="downarrow.gif"><b> Jump Direct</b><?php echo $g_options["fontend_normal"]; ?><p>
$this can only be used from within a class and when the class has been instantiated. On line 58 you are doing $this->type, but you are not within a class context. Perhaps you mean $auth->type ?
__________________ Please login or register to view this content. Registration is FREE - Latest Articles: Please login or register to view this content. Registration is FREE , Please login or register to view this content. Registration is FREE