An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/mysql.inc.php' on line 13:
mysqli_connect(): (HY000/1040): Too many connections
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_connect(): (HY000/1040): Too many connections
[2] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/mysql.inc.php
[3] => 13
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[_SERVER] => Array
(
[PHP_FCGI_CHILDREN] => 0
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[PWD] => /var/www/fcgi
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 100
[ORIG_SCRIPT_NAME] => /fcgi-bin/php56-cgi
[ORIG_PATH_TRANSLATED] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[ORIG_PATH_INFO] => /devon_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /devon_cup_rankings.php
[REQUEST_URI] => /devon_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /devon_cup_rankings.php
[REMOTE_PORT] => 37836
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[SERVER_ADMIN] => admin@southwesttimetrials.org
[CONTEXT_DOCUMENT_ROOT] => /var/www/fcgi/
[CONTEXT_PREFIX] => /fcgi-bin/
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs
[REMOTE_ADDR] => 54.144.73.205
[SERVER_PORT] => 80
[SERVER_ADDR] => 10.10.110.34
[SERVER_NAME] => southwesttimetrials.org
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[HTTP_IF_MODIFIED_SINCE] => Thu, 14 Dec 2017 08:20:36 GMT
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_X_URL_SCHEME] => http
[HTTP_X_FORWARDED_PROTO] => http
[HTTP_X_REAL_IP] => 54.144.73.205
[HTTP_X_FORWARDED_HOST] => southwesttimetrials.org
[HTTP_HOST] => southwesttimetrials.org
[UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /devon_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387919.4955
[REQUEST_TIME] => 1519387919
)

[_REQUEST] => Array
(
)

[_ENV] => Array
(
[PHP_FCGI_CHILDREN] => 0
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[PWD] => /var/www/fcgi
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 100
[ORIG_SCRIPT_NAME] => /fcgi-bin/php56-cgi
[ORIG_PATH_TRANSLATED] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[ORIG_PATH_INFO] => /devon_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /devon_cup_rankings.php
[REQUEST_URI] => /devon_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /devon_cup_rankings.php
[REMOTE_PORT] => 37836
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[SERVER_ADMIN] => admin@southwesttimetrials.org
[CONTEXT_DOCUMENT_ROOT] => /var/www/fcgi/
[CONTEXT_PREFIX] => /fcgi-bin/
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs
[REMOTE_ADDR] => 54.144.73.205
[SERVER_PORT] => 80
[SERVER_ADDR] => 10.10.110.34
[SERVER_NAME] => southwesttimetrials.org
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[HTTP_IF_MODIFIED_SINCE] => Thu, 14 Dec 2017 08:20:36 GMT
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_X_URL_SCHEME] => http
[HTTP_X_FORWARDED_PROTO] => http
[HTTP_X_REAL_IP] => 54.144.73.205
[HTTP_X_FORWARDED_HOST] => southwesttimetrials.org
[HTTP_HOST] => southwesttimetrials.org
[UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /devon_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387919.4955
[REQUEST_TIME] => 1519387919
)

[GLOBALS] => Array
*RECURSION*
[live] =>
[email] => tony.farnell@btinternet.com
[url] => http://www.southwesttimetrials.org
[path] => www.southwesttimetrials.org
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/mysql.inc.php
[line] => 13
[function] => mysqli_connect
[args] => Array
(
[0] => 213.171.218.234
[1] => tonyfarnell
[2] => A17k06f46
[3] => swtts
)

)

[2] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
[line] => 3
[args] => Array
(
[0] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/mysql.inc.php
)

[function] => require
)

[3] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[line] => 2
[args] => Array
(
[0] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
)

[function] => include
)

)

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/mysql.inc.php' on line 15:
mysqli_set_charset() expects parameter 1 to be mysqli, boolean given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_set_charset() expects parameter 1 to be mysqli, boolean given
[2] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/mysql.inc.php
[3] => 15
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[_SERVER] => Array
(
[PHP_FCGI_CHILDREN] => 0
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[PWD] => /var/www/fcgi
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 100
[ORIG_SCRIPT_NAME] => /fcgi-bin/php56-cgi
[ORIG_PATH_TRANSLATED] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[ORIG_PATH_INFO] => /devon_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /devon_cup_rankings.php
[REQUEST_URI] => /devon_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /devon_cup_rankings.php
[REMOTE_PORT] => 37836
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[SERVER_ADMIN] => admin@southwesttimetrials.org
[CONTEXT_DOCUMENT_ROOT] => /var/www/fcgi/
[CONTEXT_PREFIX] => /fcgi-bin/
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs
[REMOTE_ADDR] => 54.144.73.205
[SERVER_PORT] => 80
[SERVER_ADDR] => 10.10.110.34
[SERVER_NAME] => southwesttimetrials.org
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[HTTP_IF_MODIFIED_SINCE] => Thu, 14 Dec 2017 08:20:36 GMT
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_X_URL_SCHEME] => http
[HTTP_X_FORWARDED_PROTO] => http
[HTTP_X_REAL_IP] => 54.144.73.205
[HTTP_X_FORWARDED_HOST] => southwesttimetrials.org
[HTTP_HOST] => southwesttimetrials.org
[UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /devon_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387919.4955
[REQUEST_TIME] => 1519387919
)

[_REQUEST] => Array
(
)

[_ENV] => Array
(
[PHP_FCGI_CHILDREN] => 0
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[PWD] => /var/www/fcgi
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 100
[ORIG_SCRIPT_NAME] => /fcgi-bin/php56-cgi
[ORIG_PATH_TRANSLATED] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[ORIG_PATH_INFO] => /devon_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /devon_cup_rankings.php
[REQUEST_URI] => /devon_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /devon_cup_rankings.php
[REMOTE_PORT] => 37836
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[SERVER_ADMIN] => admin@southwesttimetrials.org
[CONTEXT_DOCUMENT_ROOT] => /var/www/fcgi/
[CONTEXT_PREFIX] => /fcgi-bin/
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs
[REMOTE_ADDR] => 54.144.73.205
[SERVER_PORT] => 80
[SERVER_ADDR] => 10.10.110.34
[SERVER_NAME] => southwesttimetrials.org
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[HTTP_IF_MODIFIED_SINCE] => Thu, 14 Dec 2017 08:20:36 GMT
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_X_URL_SCHEME] => http
[HTTP_X_FORWARDED_PROTO] => http
[HTTP_X_REAL_IP] => 54.144.73.205
[HTTP_X_FORWARDED_HOST] => southwesttimetrials.org
[HTTP_HOST] => southwesttimetrials.org
[UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /devon_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387919.4955
[REQUEST_TIME] => 1519387919
)

[GLOBALS] => Array
*RECURSION*
[live] =>
[email] => tony.farnell@btinternet.com
[url] => http://www.southwesttimetrials.org
[path] => www.southwesttimetrials.org
[dbc] =>
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/mysql.inc.php
[line] => 15
[function] => mysqli_set_charset
[args] => Array
(
[0] =>
[1] => utf8
)

)

[2] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
[line] => 3
[args] => Array
(
[0] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/mysql.inc.php
)

[function] => require
)

[3] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[line] => 2
[args] => Array
(
[0] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
)

[function] => include
)

)

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php' on line 276:
mysqli_query() expects parameter 1 to be mysqli, boolean given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_query() expects parameter 1 to be mysqli, boolean given
[2] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php
[3] => 276
[4] => Array
(
[dbc] =>
[name_length] => 18
[page_name] => devon_cup_rankings
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php
[line] => 276
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => update pages set hits = hits + 1 where filename = 'devon_cup_rankings'
)

)

[2] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
[line] => 5
[function] => hit_counter
[args] => Array
(
[0] =>
)

)

[3] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[line] => 2
[args] => Array
(
[0] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
)

[function] => include
)

)

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php' on line 279:
mysqli_query() expects parameter 1 to be mysqli, boolean given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_query() expects parameter 1 to be mysqli, boolean given
[2] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php
[3] => 279
[4] => Array
(
[dbc] =>
[name_length] => 18
[page_name] => devon_cup_rankings
[hit_query] =>
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php
[line] => 279
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => select * from hits order by date desc limit 1
)

)

[2] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
[line] => 5
[function] => hit_counter
[args] => Array
(
[0] =>
)

)

[3] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[line] => 2
[args] => Array
(
[0] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
)

[function] => include
)

)

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php' on line 280:
mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given
[2] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php
[3] => 280
[4] => Array
(
[dbc] =>
[name_length] => 18
[page_name] => devon_cup_rankings
[hit_query] =>
[last_date_query] =>
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php
[line] => 280
[function] => mysqli_fetch_assoc
[args] => Array
(
[0] =>
)

)

[2] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
[line] => 5
[function] => hit_counter
[args] => Array
(
[0] =>
)

)

[3] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[line] => 2
[args] => Array
(
[0] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
)

[function] => include
)

)

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php' on line 326:
mysqli_query() expects parameter 1 to be mysqli, boolean given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_query() expects parameter 1 to be mysqli, boolean given
[2] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php
[3] => 326
[4] => Array
(
[dbc] =>
[name_length] => 18
[page_name] => devon_cup_rankings
[hit_query] =>
[last_date_query] =>
[last_date_array] =>
[id] =>
[last_date] =>
[current_date] => 2018-02-23
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php
[line] => 326
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => insert into hits (date, devon_cup_rankings) values (now(), 1)
)

)

[2] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
[line] => 5
[function] => hit_counter
[args] => Array
(
[0] =>
)

)

[3] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[line] => 2
[args] => Array
(
[0] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
)

[function] => include
)

)

SWCTTs Devon Cup Rankings

South West Cycling Time Trials

Devon Cup Rankings 2018

Women

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php' on line 39:
mysqli_query() expects parameter 1 to be mysqli, boolean given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_query() expects parameter 1 to be mysqli, boolean given
[2] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[3] => 39
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[_SERVER] => Array
(
[PHP_FCGI_CHILDREN] => 0
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[PWD] => /var/www/fcgi
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 100
[ORIG_SCRIPT_NAME] => /fcgi-bin/php56-cgi
[ORIG_PATH_TRANSLATED] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[ORIG_PATH_INFO] => /devon_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /devon_cup_rankings.php
[REQUEST_URI] => /devon_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /devon_cup_rankings.php
[REMOTE_PORT] => 37836
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[SERVER_ADMIN] => admin@southwesttimetrials.org
[CONTEXT_DOCUMENT_ROOT] => /var/www/fcgi/
[CONTEXT_PREFIX] => /fcgi-bin/
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs
[REMOTE_ADDR] => 54.144.73.205
[SERVER_PORT] => 80
[SERVER_ADDR] => 10.10.110.34
[SERVER_NAME] => southwesttimetrials.org
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[HTTP_IF_MODIFIED_SINCE] => Thu, 14 Dec 2017 08:20:36 GMT
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_X_URL_SCHEME] => http
[HTTP_X_FORWARDED_PROTO] => http
[HTTP_X_REAL_IP] => 54.144.73.205
[HTTP_X_FORWARDED_HOST] => southwesttimetrials.org
[HTTP_HOST] => southwesttimetrials.org
[UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /devon_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387919.4955
[REQUEST_TIME] => 1519387919
)

[_REQUEST] => Array
(
)

[_ENV] => Array
(
[PHP_FCGI_CHILDREN] => 0
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[PWD] => /var/www/fcgi
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 100
[ORIG_SCRIPT_NAME] => /fcgi-bin/php56-cgi
[ORIG_PATH_TRANSLATED] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[ORIG_PATH_INFO] => /devon_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /devon_cup_rankings.php
[REQUEST_URI] => /devon_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /devon_cup_rankings.php
[REMOTE_PORT] => 37836
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[SERVER_ADMIN] => admin@southwesttimetrials.org
[CONTEXT_DOCUMENT_ROOT] => /var/www/fcgi/
[CONTEXT_PREFIX] => /fcgi-bin/
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs
[REMOTE_ADDR] => 54.144.73.205
[SERVER_PORT] => 80
[SERVER_ADDR] => 10.10.110.34
[SERVER_NAME] => southwesttimetrials.org
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[HTTP_IF_MODIFIED_SINCE] => Thu, 14 Dec 2017 08:20:36 GMT
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_X_URL_SCHEME] => http
[HTTP_X_FORWARDED_PROTO] => http
[HTTP_X_REAL_IP] => 54.144.73.205
[HTTP_X_FORWARDED_HOST] => southwesttimetrials.org
[HTTP_HOST] => southwesttimetrials.org
[UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /devon_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387919.4955
[REQUEST_TIME] => 1519387919
)

[GLOBALS] => Array
*RECURSION*
[live] =>
[email] => tony.farnell@btinternet.com
[url] => http://www.southwesttimetrials.org
[path] => www.southwesttimetrials.org
[dbc] =>
[current_year] => 2017
[page_array] => Array
(
[Home] => index.php
[SWBAR News] => swbar_news.php
[SWBAR Rankings] => swbar_rankings.php
[SWBAR rules] => swbar_rules.php
[SWBAR Archive] => swbar_archive.php
[SWBAR Accounts] => swbar_accounts.php
[Cornish Cup News] => cornish_cup_news.php
[Cornish Cup Rankings] => cornish_cup_rankings.php
[Cornish Cup Archive] => cornish_cup_archive.php
[Cornish Cup Accounts] => cornish_cup_accounts.php
[Devon Cup News] => devon_cup_news.php
[Devon Cup Rankings] => devon_cup_rankings.php
[Devon Cup Archive] => devon_cup_archive.php
[Calendar] => calendar.php
[Results] => results.php
[10 Miles Women] => ten_miles_rankings_women.php
[10 Miles Men] => ten_miles_rankings_men.php
[25 Miles Women] => twentyfive_miles_rankings_women.php
[25 Miles Men] => twentyfive_miles_rankings_men.php
[50 Miles Women] => fifty_miles_rankings_women.php
[50 Miles Men] => fifty_miles_rankings_men.php
[Courses] => courses.php
[Records] => records.php
[SWDC] => swdc.php
[Clubs] => clubs.php
)

[title_array] => Array
(
[index.php] => Home of cycling time trials in the South West
[swbar_news.php] => SWBAR News
[swbar_rankings.php] => SWBAR Rankings
[swbar_rules.php] => SWBAR Rules
[swbar_archive.php] => SWBAR Archive
[swbar_accounts.php] => SWBAR Accounts
[cornish_cup_news.php] => Cornish Cup News
[cornish_cup_rankings.php] => Cornish Cup Rankings
[cornish_cup_rules.php] => Cornish Cup Rules
[cornish_cup_archive.php] => Cornish Cup Archive
[cornish_cup_accounts.php] => Cornish Cup Accounts
[devon_cup_news.php] => Devon Cup News
[devon_cup_rankings.php] => Devon Cup Rankings
[devon_cup_rules.php] => Devon Cup Rules
[devon_cup_archive.php] => Devon Cup Archive
[calendar.php] => Calendar
[results.php] => Results
[ten_miles_rankings_women.php] => 10 Miles Rankings Women
[ten_miles_rankings_men.php] => 10 Miles Rankings Men
[twentyfive_miles_rankings_women.php] => 25 Miles Rankings Women
[twentyfive_miles_rankings_men.php] => 25 Miles Rankings Men
[fifty_miles_rankings_women.php] => 50 Miles Rankings Women
[fifty_miles_rankings_men.php] => 50 Miles Rankings Men
[courses.php] => Courses
[records.php] => Records
[swdc.php] => SWDC
[clubs.php] => Clubs
)

[current_page] => devon_cup_rankings.php
[filename] => clubs.php
[page_title] => Clubs
[page_heading] => Clubs
[age_qualifying_date] => 2017-01-01 00:00:00
[position] => 0
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[line] => 39
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => select riders.name as name, timestampdiff(YEAR, riders.date_of_birth, '2017-01-01 00:00:00') AS age, clubs.abbreviation as club, devoncup.race1 as race1, devoncup.race2 as race2, devoncup.race3 as race3, devoncup.race4 as race4, devoncup.race5 as race5, devoncup.race6 as race6, devoncup.race7 as race7, devoncup.race8 as race8, devoncup.race9 as race9, devoncup.race10 as race10, devoncup.total5 as total5
from devoncup, riders, clubs
where devoncup.riderid = riders.id and devoncup.clubid = clubs.id and riders.gender = 'W' and year = '2017'
order by total5 desc
)

)

)

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php' on line 40:
mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given
[2] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[3] => 40
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[_SERVER] => Array
(
[PHP_FCGI_CHILDREN] => 0
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[PWD] => /var/www/fcgi
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 100
[ORIG_SCRIPT_NAME] => /fcgi-bin/php56-cgi
[ORIG_PATH_TRANSLATED] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[ORIG_PATH_INFO] => /devon_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /devon_cup_rankings.php
[REQUEST_URI] => /devon_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /devon_cup_rankings.php
[REMOTE_PORT] => 37836
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[SERVER_ADMIN] => admin@southwesttimetrials.org
[CONTEXT_DOCUMENT_ROOT] => /var/www/fcgi/
[CONTEXT_PREFIX] => /fcgi-bin/
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs
[REMOTE_ADDR] => 54.144.73.205
[SERVER_PORT] => 80
[SERVER_ADDR] => 10.10.110.34
[SERVER_NAME] => southwesttimetrials.org
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[HTTP_IF_MODIFIED_SINCE] => Thu, 14 Dec 2017 08:20:36 GMT
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_X_URL_SCHEME] => http
[HTTP_X_FORWARDED_PROTO] => http
[HTTP_X_REAL_IP] => 54.144.73.205
[HTTP_X_FORWARDED_HOST] => southwesttimetrials.org
[HTTP_HOST] => southwesttimetrials.org
[UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /devon_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387919.4955
[REQUEST_TIME] => 1519387919
)

[_REQUEST] => Array
(
)

[_ENV] => Array
(
[PHP_FCGI_CHILDREN] => 0
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[PWD] => /var/www/fcgi
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 100
[ORIG_SCRIPT_NAME] => /fcgi-bin/php56-cgi
[ORIG_PATH_TRANSLATED] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[ORIG_PATH_INFO] => /devon_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /devon_cup_rankings.php
[REQUEST_URI] => /devon_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /devon_cup_rankings.php
[REMOTE_PORT] => 37836
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[SERVER_ADMIN] => admin@southwesttimetrials.org
[CONTEXT_DOCUMENT_ROOT] => /var/www/fcgi/
[CONTEXT_PREFIX] => /fcgi-bin/
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs
[REMOTE_ADDR] => 54.144.73.205
[SERVER_PORT] => 80
[SERVER_ADDR] => 10.10.110.34
[SERVER_NAME] => southwesttimetrials.org
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[HTTP_IF_MODIFIED_SINCE] => Thu, 14 Dec 2017 08:20:36 GMT
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_X_URL_SCHEME] => http
[HTTP_X_FORWARDED_PROTO] => http
[HTTP_X_REAL_IP] => 54.144.73.205
[HTTP_X_FORWARDED_HOST] => southwesttimetrials.org
[HTTP_HOST] => southwesttimetrials.org
[UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /devon_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387919.4955
[REQUEST_TIME] => 1519387919
)

[GLOBALS] => Array
*RECURSION*
[live] =>
[email] => tony.farnell@btinternet.com
[url] => http://www.southwesttimetrials.org
[path] => www.southwesttimetrials.org
[dbc] =>
[current_year] => 2017
[page_array] => Array
(
[Home] => index.php
[SWBAR News] => swbar_news.php
[SWBAR Rankings] => swbar_rankings.php
[SWBAR rules] => swbar_rules.php
[SWBAR Archive] => swbar_archive.php
[SWBAR Accounts] => swbar_accounts.php
[Cornish Cup News] => cornish_cup_news.php
[Cornish Cup Rankings] => cornish_cup_rankings.php
[Cornish Cup Archive] => cornish_cup_archive.php
[Cornish Cup Accounts] => cornish_cup_accounts.php
[Devon Cup News] => devon_cup_news.php
[Devon Cup Rankings] => devon_cup_rankings.php
[Devon Cup Archive] => devon_cup_archive.php
[Calendar] => calendar.php
[Results] => results.php
[10 Miles Women] => ten_miles_rankings_women.php
[10 Miles Men] => ten_miles_rankings_men.php
[25 Miles Women] => twentyfive_miles_rankings_women.php
[25 Miles Men] => twentyfive_miles_rankings_men.php
[50 Miles Women] => fifty_miles_rankings_women.php
[50 Miles Men] => fifty_miles_rankings_men.php
[Courses] => courses.php
[Records] => records.php
[SWDC] => swdc.php
[Clubs] => clubs.php
)

[title_array] => Array
(
[index.php] => Home of cycling time trials in the South West
[swbar_news.php] => SWBAR News
[swbar_rankings.php] => SWBAR Rankings
[swbar_rules.php] => SWBAR Rules
[swbar_archive.php] => SWBAR Archive
[swbar_accounts.php] => SWBAR Accounts
[cornish_cup_news.php] => Cornish Cup News
[cornish_cup_rankings.php] => Cornish Cup Rankings
[cornish_cup_rules.php] => Cornish Cup Rules
[cornish_cup_archive.php] => Cornish Cup Archive
[cornish_cup_accounts.php] => Cornish Cup Accounts
[devon_cup_news.php] => Devon Cup News
[devon_cup_rankings.php] => Devon Cup Rankings
[devon_cup_rules.php] => Devon Cup Rules
[devon_cup_archive.php] => Devon Cup Archive
[calendar.php] => Calendar
[results.php] => Results
[ten_miles_rankings_women.php] => 10 Miles Rankings Women
[ten_miles_rankings_men.php] => 10 Miles Rankings Men
[twentyfive_miles_rankings_women.php] => 25 Miles Rankings Women
[twentyfive_miles_rankings_men.php] => 25 Miles Rankings Men
[fifty_miles_rankings_women.php] => 50 Miles Rankings Women
[fifty_miles_rankings_men.php] => 50 Miles Rankings Men
[courses.php] => Courses
[records.php] => Records
[swdc.php] => SWDC
[clubs.php] => Clubs
)

[current_page] => devon_cup_rankings.php
[filename] => clubs.php
[page_title] => Clubs
[page_heading] => Clubs
[age_qualifying_date] => 2017-01-01 00:00:00
[position] => 0
[devon_cup_query] =>
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[line] => 40
[function] => mysqli_fetch_assoc
[args] => Array
(
[0] =>
)

)

)

Pos Name Cat Club 1 2 3 4 5 6 7 8 9 10 Tot

Men

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php' on line 125:
mysqli_query() expects parameter 1 to be mysqli, boolean given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_query() expects parameter 1 to be mysqli, boolean given
[2] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[3] => 125
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[_SERVER] => Array
(
[PHP_FCGI_CHILDREN] => 0
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[PWD] => /var/www/fcgi
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 100
[ORIG_SCRIPT_NAME] => /fcgi-bin/php56-cgi
[ORIG_PATH_TRANSLATED] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[ORIG_PATH_INFO] => /devon_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /devon_cup_rankings.php
[REQUEST_URI] => /devon_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /devon_cup_rankings.php
[REMOTE_PORT] => 37836
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[SERVER_ADMIN] => admin@southwesttimetrials.org
[CONTEXT_DOCUMENT_ROOT] => /var/www/fcgi/
[CONTEXT_PREFIX] => /fcgi-bin/
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs
[REMOTE_ADDR] => 54.144.73.205
[SERVER_PORT] => 80
[SERVER_ADDR] => 10.10.110.34
[SERVER_NAME] => southwesttimetrials.org
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[HTTP_IF_MODIFIED_SINCE] => Thu, 14 Dec 2017 08:20:36 GMT
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_X_URL_SCHEME] => http
[HTTP_X_FORWARDED_PROTO] => http
[HTTP_X_REAL_IP] => 54.144.73.205
[HTTP_X_FORWARDED_HOST] => southwesttimetrials.org
[HTTP_HOST] => southwesttimetrials.org
[UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /devon_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387919.4955
[REQUEST_TIME] => 1519387919
)

[_REQUEST] => Array
(
)

[_ENV] => Array
(
[PHP_FCGI_CHILDREN] => 0
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[PWD] => /var/www/fcgi
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 100
[ORIG_SCRIPT_NAME] => /fcgi-bin/php56-cgi
[ORIG_PATH_TRANSLATED] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[ORIG_PATH_INFO] => /devon_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /devon_cup_rankings.php
[REQUEST_URI] => /devon_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /devon_cup_rankings.php
[REMOTE_PORT] => 37836
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[SERVER_ADMIN] => admin@southwesttimetrials.org
[CONTEXT_DOCUMENT_ROOT] => /var/www/fcgi/
[CONTEXT_PREFIX] => /fcgi-bin/
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs
[REMOTE_ADDR] => 54.144.73.205
[SERVER_PORT] => 80
[SERVER_ADDR] => 10.10.110.34
[SERVER_NAME] => southwesttimetrials.org
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[HTTP_IF_MODIFIED_SINCE] => Thu, 14 Dec 2017 08:20:36 GMT
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_X_URL_SCHEME] => http
[HTTP_X_FORWARDED_PROTO] => http
[HTTP_X_REAL_IP] => 54.144.73.205
[HTTP_X_FORWARDED_HOST] => southwesttimetrials.org
[HTTP_HOST] => southwesttimetrials.org
[UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /devon_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387919.4955
[REQUEST_TIME] => 1519387919
)

[GLOBALS] => Array
*RECURSION*
[live] =>
[email] => tony.farnell@btinternet.com
[url] => http://www.southwesttimetrials.org
[path] => www.southwesttimetrials.org
[dbc] =>
[current_year] => 2017
[page_array] => Array
(
[Home] => index.php
[SWBAR News] => swbar_news.php
[SWBAR Rankings] => swbar_rankings.php
[SWBAR rules] => swbar_rules.php
[SWBAR Archive] => swbar_archive.php
[SWBAR Accounts] => swbar_accounts.php
[Cornish Cup News] => cornish_cup_news.php
[Cornish Cup Rankings] => cornish_cup_rankings.php
[Cornish Cup Archive] => cornish_cup_archive.php
[Cornish Cup Accounts] => cornish_cup_accounts.php
[Devon Cup News] => devon_cup_news.php
[Devon Cup Rankings] => devon_cup_rankings.php
[Devon Cup Archive] => devon_cup_archive.php
[Calendar] => calendar.php
[Results] => results.php
[10 Miles Women] => ten_miles_rankings_women.php
[10 Miles Men] => ten_miles_rankings_men.php
[25 Miles Women] => twentyfive_miles_rankings_women.php
[25 Miles Men] => twentyfive_miles_rankings_men.php
[50 Miles Women] => fifty_miles_rankings_women.php
[50 Miles Men] => fifty_miles_rankings_men.php
[Courses] => courses.php
[Records] => records.php
[SWDC] => swdc.php
[Clubs] => clubs.php
)

[title_array] => Array
(
[index.php] => Home of cycling time trials in the South West
[swbar_news.php] => SWBAR News
[swbar_rankings.php] => SWBAR Rankings
[swbar_rules.php] => SWBAR Rules
[swbar_archive.php] => SWBAR Archive
[swbar_accounts.php] => SWBAR Accounts
[cornish_cup_news.php] => Cornish Cup News
[cornish_cup_rankings.php] => Cornish Cup Rankings
[cornish_cup_rules.php] => Cornish Cup Rules
[cornish_cup_archive.php] => Cornish Cup Archive
[cornish_cup_accounts.php] => Cornish Cup Accounts
[devon_cup_news.php] => Devon Cup News
[devon_cup_rankings.php] => Devon Cup Rankings
[devon_cup_rules.php] => Devon Cup Rules
[devon_cup_archive.php] => Devon Cup Archive
[calendar.php] => Calendar
[results.php] => Results
[ten_miles_rankings_women.php] => 10 Miles Rankings Women
[ten_miles_rankings_men.php] => 10 Miles Rankings Men
[twentyfive_miles_rankings_women.php] => 25 Miles Rankings Women
[twentyfive_miles_rankings_men.php] => 25 Miles Rankings Men
[fifty_miles_rankings_women.php] => 50 Miles Rankings Women
[fifty_miles_rankings_men.php] => 50 Miles Rankings Men
[courses.php] => Courses
[records.php] => Records
[swdc.php] => SWDC
[clubs.php] => Clubs
)

[current_page] => devon_cup_rankings.php
[filename] => clubs.php
[page_title] => Clubs
[page_heading] => Clubs
[age_qualifying_date] => 2017-01-01 00:00:00
[position] => 0
[devon_cup_query] =>
[devon_cup_record] =>
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[line] => 125
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => select riders.name as name, timestampdiff(YEAR, riders.date_of_birth, '2017-01-01 00:00:00') AS age, clubs.abbreviation as club, devoncup.race1 as race1, devoncup.race2 as race2, devoncup.race3 as race3, devoncup.race4 as race4, devoncup.race5 as race5, devoncup.race6 as race6, devoncup.race7 as race7, devoncup.race8 as race8, devoncup.race9 as race9, devoncup.race10 as race10,devoncup.total5 as total5
from devoncup, riders, clubs
where devoncup.riderid = riders.id and devoncup.clubid = clubs.id and riders.gender = 'M' and year = '2017'
order by total5 desc
)

)

)

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php' on line 126:
mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given
[2] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[3] => 126
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[_SERVER] => Array
(
[PHP_FCGI_CHILDREN] => 0
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[PWD] => /var/www/fcgi
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 100
[ORIG_SCRIPT_NAME] => /fcgi-bin/php56-cgi
[ORIG_PATH_TRANSLATED] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[ORIG_PATH_INFO] => /devon_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /devon_cup_rankings.php
[REQUEST_URI] => /devon_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /devon_cup_rankings.php
[REMOTE_PORT] => 37836
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[SERVER_ADMIN] => admin@southwesttimetrials.org
[CONTEXT_DOCUMENT_ROOT] => /var/www/fcgi/
[CONTEXT_PREFIX] => /fcgi-bin/
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs
[REMOTE_ADDR] => 54.144.73.205
[SERVER_PORT] => 80
[SERVER_ADDR] => 10.10.110.34
[SERVER_NAME] => southwesttimetrials.org
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[HTTP_IF_MODIFIED_SINCE] => Thu, 14 Dec 2017 08:20:36 GMT
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_X_URL_SCHEME] => http
[HTTP_X_FORWARDED_PROTO] => http
[HTTP_X_REAL_IP] => 54.144.73.205
[HTTP_X_FORWARDED_HOST] => southwesttimetrials.org
[HTTP_HOST] => southwesttimetrials.org
[UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /devon_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387919.4955
[REQUEST_TIME] => 1519387919
)

[_REQUEST] => Array
(
)

[_ENV] => Array
(
[PHP_FCGI_CHILDREN] => 0
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[PWD] => /var/www/fcgi
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 100
[ORIG_SCRIPT_NAME] => /fcgi-bin/php56-cgi
[ORIG_PATH_TRANSLATED] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[ORIG_PATH_INFO] => /devon_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /devon_cup_rankings.php
[REQUEST_URI] => /devon_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /devon_cup_rankings.php
[REMOTE_PORT] => 37836
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[SERVER_ADMIN] => admin@southwesttimetrials.org
[CONTEXT_DOCUMENT_ROOT] => /var/www/fcgi/
[CONTEXT_PREFIX] => /fcgi-bin/
[REQUEST_SCHEME] => http
[DOCUMENT_ROOT] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs
[REMOTE_ADDR] => 54.144.73.205
[SERVER_PORT] => 80
[SERVER_ADDR] => 10.10.110.34
[SERVER_NAME] => southwesttimetrials.org
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[HTTP_IF_MODIFIED_SINCE] => Thu, 14 Dec 2017 08:20:36 GMT
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_X_URL_SCHEME] => http
[HTTP_X_FORWARDED_PROTO] => http
[HTTP_X_REAL_IP] => 54.144.73.205
[HTTP_X_FORWARDED_HOST] => southwesttimetrials.org
[HTTP_HOST] => southwesttimetrials.org
[UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFD15DdWCJthIKsjGPqgAAAAc
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /devon_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387919.4955
[REQUEST_TIME] => 1519387919
)

[GLOBALS] => Array
*RECURSION*
[live] =>
[email] => tony.farnell@btinternet.com
[url] => http://www.southwesttimetrials.org
[path] => www.southwesttimetrials.org
[dbc] =>
[current_year] => 2017
[page_array] => Array
(
[Home] => index.php
[SWBAR News] => swbar_news.php
[SWBAR Rankings] => swbar_rankings.php
[SWBAR rules] => swbar_rules.php
[SWBAR Archive] => swbar_archive.php
[SWBAR Accounts] => swbar_accounts.php
[Cornish Cup News] => cornish_cup_news.php
[Cornish Cup Rankings] => cornish_cup_rankings.php
[Cornish Cup Archive] => cornish_cup_archive.php
[Cornish Cup Accounts] => cornish_cup_accounts.php
[Devon Cup News] => devon_cup_news.php
[Devon Cup Rankings] => devon_cup_rankings.php
[Devon Cup Archive] => devon_cup_archive.php
[Calendar] => calendar.php
[Results] => results.php
[10 Miles Women] => ten_miles_rankings_women.php
[10 Miles Men] => ten_miles_rankings_men.php
[25 Miles Women] => twentyfive_miles_rankings_women.php
[25 Miles Men] => twentyfive_miles_rankings_men.php
[50 Miles Women] => fifty_miles_rankings_women.php
[50 Miles Men] => fifty_miles_rankings_men.php
[Courses] => courses.php
[Records] => records.php
[SWDC] => swdc.php
[Clubs] => clubs.php
)

[title_array] => Array
(
[index.php] => Home of cycling time trials in the South West
[swbar_news.php] => SWBAR News
[swbar_rankings.php] => SWBAR Rankings
[swbar_rules.php] => SWBAR Rules
[swbar_archive.php] => SWBAR Archive
[swbar_accounts.php] => SWBAR Accounts
[cornish_cup_news.php] => Cornish Cup News
[cornish_cup_rankings.php] => Cornish Cup Rankings
[cornish_cup_rules.php] => Cornish Cup Rules
[cornish_cup_archive.php] => Cornish Cup Archive
[cornish_cup_accounts.php] => Cornish Cup Accounts
[devon_cup_news.php] => Devon Cup News
[devon_cup_rankings.php] => Devon Cup Rankings
[devon_cup_rules.php] => Devon Cup Rules
[devon_cup_archive.php] => Devon Cup Archive
[calendar.php] => Calendar
[results.php] => Results
[ten_miles_rankings_women.php] => 10 Miles Rankings Women
[ten_miles_rankings_men.php] => 10 Miles Rankings Men
[twentyfive_miles_rankings_women.php] => 25 Miles Rankings Women
[twentyfive_miles_rankings_men.php] => 25 Miles Rankings Men
[fifty_miles_rankings_women.php] => 50 Miles Rankings Women
[fifty_miles_rankings_men.php] => 50 Miles Rankings Men
[courses.php] => Courses
[records.php] => Records
[swdc.php] => SWDC
[clubs.php] => Clubs
)

[current_page] => devon_cup_rankings.php
[filename] => clubs.php
[page_title] => Clubs
[page_heading] => Clubs
[age_qualifying_date] => 2017-01-01 00:00:00
[position] => 0
[devon_cup_query] =>
[devon_cup_record] =>
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/devon_cup_rankings.php
[line] => 126
[function] => mysqli_fetch_assoc
[args] => Array
(
[0] =>
)

)

)

Pos Name Cat Club 1 2 3 4 5 6 7 8 9 10 Tot