Not sure how this might have happened.. but..
The latest version allows for tracking and generating reports
of click activity in the admin panel.
If you don't care abut that, edit out.php , block comment the code near the bottom so it looks like this
| Code: |
/*
if ($ID > 0){
$page_desc = "<a href=./edit_site.php?ID=".$ID.">EDIT</a>";
$user_agent = mysql_real_escape_string(getenv("HTTP_USER_AGENT"));
$ip = getenv("REMOTE_ADDR");
$date_added = date("Y-m-d");
$table_name = "page_track";
$sql = "insert into $tb_track values ('', '$ID', '$page_desc', '$user_agent', '$ip', '$date_added')";
$result = mysql_query($sql) or die (mysql_error());
}
*/
|
Otherwise, use PHPMyadmin and create the table with this MySQL query
| Code: |
CREATE TABLE IF NOT EXISTS `phplinks_track` (
`ID` int(11) NOT NULL auto_increment,
`page_name` varchar(50) NOT NULL default '',
`page_desc` text NOT NULL,
`user_agent` text NOT NULL,
`ip` varchar(25) NOT NULL default '',
`date_added` date NOT NULL default '0000-00-00',
PRIMARY KEY (`ID`)
);
|