Guest Posted January 24, 2006 Posted January 24, 2006 Was just checking the server error logs, and saw loads of these. [Tue Jan 24 12:57:54 2006] [error] [client] PHP Notice: Undefined index: no_sts in /var/www/html/includes/application_top.php on line 18, referer: ------ Line 18 on the aptop is if ($HTTP_GET_VARS["no_sts"] > 0) { Doesn't seem to effect the site. Anyone any idea how to stop it, and why it's coming up. Cheers. Quote
Guest Posted January 24, 2006 Posted January 24, 2006 nobody loves me........................... Quote
nfrobertson Posted January 26, 2006 Posted January 26, 2006 I have the same problem with no_sts showing in my apache log. I'm going to look at the code but am hoping someone has already solved this. It happens every time application_top.php is run which can fill a log file quite quickly... Nate Quote
nfrobertson Posted January 26, 2006 Posted January 26, 2006 Ok, on quick examination, it appears that sts is trying to see if no_sts is in the HTTP variables (i.e. passed in the URL) I changed line 18 in application_top.php from: if ($HTTP_GET_VARS["no_sts"] > 0) { to: if (isset($HTTP_GET_VARS["no_sts"])) { and now the errors are not showing up in my apache log and the variable does seem to work correctly on the command line. In the long run, I'll turn off this support in production anyway. Anyone else have input on this topic? Nate Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.