erdem
|
| Posted: 09/11/2002, 1:08 AM |
|
Description Fatal error: Call to a member function on a non-object in /disk1/home/erdem/public_html/test/ILANarsa_maint_events.php on line 19
function Page_AfterInitialize() { //Page_AfterInitialize @1-56434BCA
//Custom Code @36-2A29BDB7
// -------------------------
global $ILANarsa;
global $redirect;
global $dberdemdb;
$current_TASK = ccgetparam("arsa_NO","");
if($current_TASK != 0 && ccgetuserid() !=ccdlookup("ilanveren_NO","ILANarsa","arsa_NO=".
$dberdemdb->tosql($current_TASK,ccsInteger),$dberdemdb)) { //line 19
//ILANarsa->visible = false;
$redirect="ILANarsa_list.php";
//$tasks->updateallowed=false;
//$tasks->deleteAllowed=false;
}
// -------------------------
//End Custom Code
} //Close Page_AfterInitialize @1-FCB6E20C
i do not know php and i cant understand which one is connection variable???
Is " $current_TASK or arsa_NO" connection variable?
|
|
|
 |
Nicole
|
| Posted: 09/14/2002, 4:36 AM |
|
Erdem,
PHP is case sensitive. Before using CCDLookUP() function you should declare connection variable.
E.g.:
global $DBconnection_name;
the name should starts with "DB" in uppercase. Look up "connection_name" in project explorer tree.
|
|
|
 |
|