When I try to logout I get an error page. Here are the errors.
! ) Notice: Undefined variable: _SESSION in /usr/local/www/www.com/db-prefs.php on line 6
Call Stack
# Time Memory Function Location
1 0.0012 82752 {main}( ) ../logout.php:0
2 0.0014 101848 require_once( '/usr/local/www/www.com/functions.php' ) ../logout.php:2
3 0.0021 103912 require_once( '/usr/local/www/www.com/db-prefs.php' ) ../functions.php:60
( ! ) Notice: Undefined variable: address_check_qpart in /usr/local/www/www.com/sessions.php on line 28
Call Stack
# Time Memory Function Location
1 0.0012 82752 {main}( ) ../logout.php:0
2 0.0033 229200 require_once( '/usr/local/www/www.com/sessions.php' ) ../logout.php:3
3 0.0035 231576 session_start ( ) ../sessions.php:100
4 0.0059 234616 read( ) ../sessions.php:0
( ! ) Notice: Undefined variable: err_msg in /usr/local/www/www.com/sanity_check.php on line 82
Call Stack
# Time Memory Function Location
1 0.0012 82752 {main}( ) ../logout.php:0
2 0.0078 239600 require_once( '/usr/local/www/www.com/sanity_check.php' ) ../logout.php:4
( ! ) Notice: Undefined variable: address_check_qpart in /usr/local/www/www.com/sessions.php on line 78
Call Stack
# Time Memory Function Location
1 0.0012 82752 {main}( ) ../logout.php:0
2 0.0081 239992 logout_user( ) ../logout.php:9
3 0.0081 239992 session_destroy ( ) ../functions.php:1648
4 0.0081 240128 destroy( ) ../sessions.php:0
( ! ) Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/www.com/sanity_check.php:82) in /usr/local/www/www.com/functions.php on line 1650
Call Stack
# Time Memory Function Location
1 0.0012 82752 {main}( ) ../logout.php:0
2 0.0081 239992 logout_user( ) ../logout.php:9
3 0.0096 241488 setcookie ( ) ../functions.php:1650
( ! ) Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/www.com/sanity_check.php:82) in /usr/local/www/www.com/logout.php on line 10
Call Stack
# Time Memory Function Location
1 0.0012 82752 {main}( ) ../logout.php:0
2 0.0097 241920 header ( ) ../logout.php:10