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/cornish_cup_rankings.php
[ORIG_PATH_INFO] => /cornish_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /cornish_cup_rankings.php
[REQUEST_URI] => /cornish_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /cornish_cup_rankings.php
[REMOTE_PORT] => 60664
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_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:16 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] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /cornish_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387697.7728
[REQUEST_TIME] => 1519387697
)

[_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/cornish_cup_rankings.php
[ORIG_PATH_INFO] => /cornish_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /cornish_cup_rankings.php
[REQUEST_URI] => /cornish_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /cornish_cup_rankings.php
[REMOTE_PORT] => 60664
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_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:16 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] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /cornish_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387697.7728
[REQUEST_TIME] => 1519387697
)

[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/cornish_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/cornish_cup_rankings.php
[ORIG_PATH_INFO] => /cornish_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /cornish_cup_rankings.php
[REQUEST_URI] => /cornish_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /cornish_cup_rankings.php
[REMOTE_PORT] => 60664
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_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:16 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] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /cornish_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387697.7728
[REQUEST_TIME] => 1519387697
)

[_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/cornish_cup_rankings.php
[ORIG_PATH_INFO] => /cornish_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /cornish_cup_rankings.php
[REQUEST_URI] => /cornish_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /cornish_cup_rankings.php
[REMOTE_PORT] => 60664
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_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:16 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] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /cornish_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387697.7728
[REQUEST_TIME] => 1519387697
)

[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/cornish_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] => 20
[page_name] => cornish_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 = 'cornish_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/cornish_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] => 20
[page_name] => cornish_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/cornish_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] => 20
[page_name] => cornish_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/cornish_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 322:
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] => 322
[4] => Array
(
[dbc] =>
[name_length] => 20
[page_name] => cornish_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] => 322
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => insert into hits (date, cornish_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/cornish_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 Cornish Cup Rankings

South West Cycling Time Trials

Cornish Cup Rankings 2018

Women

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_cup_rankings.php' on line 52:
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/cornish_cup_rankings.php
[3] => 52
[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/cornish_cup_rankings.php
[ORIG_PATH_INFO] => /cornish_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /cornish_cup_rankings.php
[REQUEST_URI] => /cornish_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /cornish_cup_rankings.php
[REMOTE_PORT] => 60664
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_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:16 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] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /cornish_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387697.7728
[REQUEST_TIME] => 1519387697
)

[_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/cornish_cup_rankings.php
[ORIG_PATH_INFO] => /cornish_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /cornish_cup_rankings.php
[REQUEST_URI] => /cornish_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /cornish_cup_rankings.php
[REMOTE_PORT] => 60664
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_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:16 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] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /cornish_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387697.7728
[REQUEST_TIME] => 1519387697
)

[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] => cornish_cup_rankings.php
[filename] => clubs.php
[page_title] => Clubs
[page_heading] => Clubs
[cc_age_qualifying_date] => 2017-03-05 00:00:00
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_cup_rankings.php
[line] => 52
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => SELECT riders.name as name, timestampdiff(YEAR, riders.date_of_birth, '2017-03-05 00:00:00') AS age, clubs.abbreviation as club, cornishcup.race1 as race1, cornishcup.race2 as race2, cornishcup.race3 as race3, cornishcup.race4 as race4, cornishcup.race5 as race5, cornishcup.race6 as race6, cornishcup.race7 as race7, cornishcup.race8 as race8, cornishcup.race9 as race9, cornishcup.race10 as race10, cornishcup.race11 as race11, cornishcup.race12 as race12, cornishcup.race13 as race13, cornishcup.total10 as total10
FROM cornishcup, riders, clubs
WHERE cornishcup.riderid = riders.id and cornishcup.clubid = clubs.id and riders.gender = 'W' and year = '2017'
ORDER BY total10 desc, total21 desc
)

)

)

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_cup_rankings.php' on line 60:
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/cornish_cup_rankings.php
[3] => 60
[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/cornish_cup_rankings.php
[ORIG_PATH_INFO] => /cornish_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /cornish_cup_rankings.php
[REQUEST_URI] => /cornish_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /cornish_cup_rankings.php
[REMOTE_PORT] => 60664
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_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:16 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] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /cornish_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387697.7728
[REQUEST_TIME] => 1519387697
)

[_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/cornish_cup_rankings.php
[ORIG_PATH_INFO] => /cornish_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /cornish_cup_rankings.php
[REQUEST_URI] => /cornish_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /cornish_cup_rankings.php
[REMOTE_PORT] => 60664
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_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:16 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] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /cornish_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387697.7728
[REQUEST_TIME] => 1519387697
)

[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] => cornish_cup_rankings.php
[filename] => clubs.php
[page_title] => Clubs
[page_heading] => Clubs
[cc_age_qualifying_date] => 2017-03-05 00:00:00
[cornish_cup_query] =>
[position] => 0
[senior_position] => 0
[vet40_position] => 0
[vet45_position] => 0
[vet50_position] => 0
[vet55_position] => 0
[vet60_position] => 0
)

)

)

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

)

)

Pos Name Cat (Pos) Club 1 2 3 4 5 6 7 8 9 10 11 12 13 Tot

Men

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_cup_rankings.php' on line 211:
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/cornish_cup_rankings.php
[3] => 211
[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/cornish_cup_rankings.php
[ORIG_PATH_INFO] => /cornish_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /cornish_cup_rankings.php
[REQUEST_URI] => /cornish_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /cornish_cup_rankings.php
[REMOTE_PORT] => 60664
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_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:16 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] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /cornish_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387697.7728
[REQUEST_TIME] => 1519387697
)

[_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/cornish_cup_rankings.php
[ORIG_PATH_INFO] => /cornish_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /cornish_cup_rankings.php
[REQUEST_URI] => /cornish_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /cornish_cup_rankings.php
[REMOTE_PORT] => 60664
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_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:16 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] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /cornish_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387697.7728
[REQUEST_TIME] => 1519387697
)

[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] => cornish_cup_rankings.php
[filename] => clubs.php
[page_title] => Clubs
[page_heading] => Clubs
[cc_age_qualifying_date] => 2017-03-05 00:00:00
[cornish_cup_query] =>
[position] => 0
[senior_position] => 0
[vet40_position] => 0
[vet45_position] => 0
[vet50_position] => 0
[vet55_position] => 0
[vet60_position] => 0
[cornish_cup_record] =>
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_cup_rankings.php
[line] => 211
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => SELECT riders.name as name, timestampdiff(YEAR, riders.date_of_birth, '2017-03-05 00:00:00') AS age, clubs.abbreviation as club, cornishcup.race1 as race1, cornishcup.race2 as race2, cornishcup.race3 as race3, cornishcup.race4 as race4, cornishcup.race5 as race5, cornishcup.race6 as race6, cornishcup.race7 as race7, cornishcup.race8 as race8, cornishcup.race9 as race9, cornishcup.race10 as race10, cornishcup.race11 as race11, cornishcup.race12 as race12, cornishcup.race13 as race13, cornishcup.total10 as total10
FROM cornishcup, riders, clubs
WHERE cornishcup.riderid = riders.id and cornishcup.clubid = clubs.id and riders.gender = 'M' and year = '2017'
ORDER BY total10 desc, total21 desc
)

)

)

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_cup_rankings.php' on line 219:
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/cornish_cup_rankings.php
[3] => 219
[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/cornish_cup_rankings.php
[ORIG_PATH_INFO] => /cornish_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /cornish_cup_rankings.php
[REQUEST_URI] => /cornish_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /cornish_cup_rankings.php
[REMOTE_PORT] => 60664
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_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:16 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] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /cornish_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387697.7728
[REQUEST_TIME] => 1519387697
)

[_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/cornish_cup_rankings.php
[ORIG_PATH_INFO] => /cornish_cup_rankings.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /cornish_cup_rankings.php
[REQUEST_URI] => /cornish_cup_rankings.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /cornish_cup_rankings.php
[REMOTE_PORT] => 60664
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/cornish_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:16 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] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAEMSWOsBwT@DkW14cVyQAAAAo
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /cornish_cup_rankings.php
[REQUEST_TIME_FLOAT] => 1519387697.7728
[REQUEST_TIME] => 1519387697
)

[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] => cornish_cup_rankings.php
[filename] => clubs.php
[page_title] => Clubs
[page_heading] => Clubs
[cc_age_qualifying_date] => 2017-03-05 00:00:00
[cornish_cup_query] =>
[position] => 0
[senior_position] => 0
[vet40_position] => 0
[vet45_position] => 0
[vet50_position] => 0
[vet55_position] => 0
[vet60_position] => 0
[cornish_cup_record] =>
)

)

)

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

)

)

Pos Name Cat (Pos) Club 1 2 3 4 5 6 7 8 9 10 11 12 13 Tot