I haven't modified the english.php file in any way. The section of code in question is thus. I've tried to keep changes to a minimum, just changing the directory names where appropriate.
The code below creates the first error:
Warning: Undefined variable: topic in c:program files/apache group/apache/htdocs/geeklog-1.25/public_html/english.php on line 250, etc.
###############################################################################
# index.php
$LANG05 = array(
1 => "No News to Display",
2 => "There are no news stories to display. There may be no news for this topic or your user preferences may be too restrictive.",
3 => "for topic $topic",
4 => "Today's Featured Article",
5 => "Next",
6 => "Previous"
);
line 250 is row 3 of the array above.
There are also a number of other fields that can't be found including:
Warning: Undefined variable: from
Warning: Undefined variable: fromemail
Warning: Undefined variable: shortmsg
Warning: Undefined variable: type
Warning: Undefined variable: qid
In the Common.php file, the lines:
// update LastVisit cookie. This cookie is updated each time auth.php runs
setcookie("LastVisit", time(), $expiredate1, $CONF["cookiepath"], $CONF["cookiedomain"], $CONF["cookiesecure"]);
generate the following:
Warning: Undefined index: cookiedomain
the lines:
if (!isset($HTTP_COOKIE_VARS["LastVisitTemp"])) {
$temptime = $HTTP_COOKIE_VARS["LastVisit"];
}
else {
$temptime = $HTTP_COOKIE_VARS["LastVisitTemp"];
}
// set cookie.
setcookie("LastVisitTemp", $temptime ,$expiredate2, $CONF["cookiepath"], $CONF["base"], $CONF["cookiesecure"]);
generate the following:
Warning: Undefined index: cookiesecure
Warning: Undefined index: LastVisit
I am a bit at a loss. These fields must be fairly common. Could the problem be related to the MySQL Database connection? I'm not sure I have the database connected properly.
Regards
Stephen Burns.