karan23424 Posted May 14, 2009 Share Posted May 14, 2009 i am getting this error in error logs. [Thu May 14 09:01:03 2009] [error] [client 76.69.39.186] PHP Notice: Undefined index: o in /var/www/vhosts/facepuck.com/httpdocs/supercali/includes/start.php on line 156, referer: http://www.facepuck.com/members/groupListAll.php and line no 156 on start.php is if ((is_numeric($_REQUEST["o"]))&& ($_REQUEST["o"]!= 0)) { $_SESSION["o"] = $_REQUEST["o"]; $o = $_REQUEST["o"]; } elseif ($_SESSION["o"]) { $o = $_SESSION["o"]; } elseif ($default_module) { $o = $default_module; } else { $o = mysql_result(mysql_query("SELECT module_id from ".$table_prefix."modules where active = 1 order by sequence limit 1"),0,0); } please let me know where is the problem its just a warning although function is working properly Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/158188-regarding-error-logs-in-cpanel/ Share on other sites More sharing options...
karan23424 Posted May 14, 2009 Author Share Posted May 14, 2009 i am getting this error in error logs. [Thu May 14 09:01:03 2009] [error] [client 76.69.39.186] PHP Notice: Undefined index: o in /var/www/vhosts/facepuck.com/httpdocs/supercali/includes/start.php on line 156, referer: http://www.facepuck.com/members/groupListAll.php and line no 156 on start.php is if ((is_numeric($_REQUEST["o"]))&& ($_REQUEST["o"]!= 0)) { $_SESSION["o"] = $_REQUEST["o"]; $o = $_REQUEST["o"]; } elseif ($_SESSION["o"]) { $o = $_SESSION["o"]; } elseif ($default_module) { $o = $default_module; } else { $o = mysql_result(mysql_query("SELECT module_id from ".$table_prefix."modules where active = 1 order by sequence limit 1"),0,0); } please let me know where is the problem its just a warning although function is working properly Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/158188-regarding-error-logs-in-cpanel/#findComment-834402 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.