Jump to content

regarding error logs in cpanel


karan23424

Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.