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/fifty_miles_rankings_women.php
[ORIG_PATH_INFO] => /fifty_miles_rankings_women.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /fifty_miles_rankings_women.php
[REQUEST_URI] => /fifty_miles_rankings_women.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /fifty_miles_rankings_women.php
[REMOTE_PORT] => 52270
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/fifty_miles_rankings_women.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:39 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] => WpAFKCpZ9DnGTWiyfTgDWwAAAAI
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFKCpZ9DnGTWiyfTgDWwAAAAI
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /fifty_miles_rankings_women.php
[REQUEST_TIME_FLOAT] => 1519387944.8835
[REQUEST_TIME] => 1519387944
)

[_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/fifty_miles_rankings_women.php
[ORIG_PATH_INFO] => /fifty_miles_rankings_women.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /fifty_miles_rankings_women.php
[REQUEST_URI] => /fifty_miles_rankings_women.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /fifty_miles_rankings_women.php
[REMOTE_PORT] => 52270
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/fifty_miles_rankings_women.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:39 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] => WpAFKCpZ9DnGTWiyfTgDWwAAAAI
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFKCpZ9DnGTWiyfTgDWwAAAAI
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /fifty_miles_rankings_women.php
[REQUEST_TIME_FLOAT] => 1519387944.8835
[REQUEST_TIME] => 1519387944
)

[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/fifty_miles_rankings_women.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/fifty_miles_rankings_women.php
[ORIG_PATH_INFO] => /fifty_miles_rankings_women.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /fifty_miles_rankings_women.php
[REQUEST_URI] => /fifty_miles_rankings_women.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /fifty_miles_rankings_women.php
[REMOTE_PORT] => 52270
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/fifty_miles_rankings_women.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:39 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] => WpAFKCpZ9DnGTWiyfTgDWwAAAAI
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFKCpZ9DnGTWiyfTgDWwAAAAI
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /fifty_miles_rankings_women.php
[REQUEST_TIME_FLOAT] => 1519387944.8835
[REQUEST_TIME] => 1519387944
)

[_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/fifty_miles_rankings_women.php
[ORIG_PATH_INFO] => /fifty_miles_rankings_women.php
[ORIG_SCRIPT_FILENAME] => /var/www/fcgi/php56-cgi
[SCRIPT_NAME] => /fifty_miles_rankings_women.php
[REQUEST_URI] => /fifty_miles_rankings_women.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.0
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /fifty_miles_rankings_women.php
[REMOTE_PORT] => 52270
[SCRIPT_FILENAME] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/fifty_miles_rankings_women.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:39 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] => WpAFKCpZ9DnGTWiyfTgDWwAAAAI
[REDIRECT_STATUS] => 200
[REDIRECT_HANDLER] => application/x-httpd-php56
[REDIRECT_UNIQUE_ID] => WpAFKCpZ9DnGTWiyfTgDWwAAAAI
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /fifty_miles_rankings_women.php
[REQUEST_TIME_FLOAT] => 1519387944.8835
[REQUEST_TIME] => 1519387944
)

[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/fifty_miles_rankings_women.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] => 26
[page_name] => fifty_miles_rankings_women
)

)

)

[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 = 'fifty_miles_rankings_women'
)

)

[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/fifty_miles_rankings_women.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] => 26
[page_name] => fifty_miles_rankings_women
[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/fifty_miles_rankings_women.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] => 26
[page_name] => fifty_miles_rankings_women
[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/fifty_miles_rankings_women.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 332:
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] => 332
[4] => Array
(
[dbc] =>
[name_length] => 26
[page_name] => fifty_miles_rankings_women
[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] => 332
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => insert into hits (date, fifty_miles_rankings_women) 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/fifty_miles_rankings_women.php
[line] => 2
[args] => Array
(
[0] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_header.inc.php
)

[function] => include
)

)

SWCTTs 50 Miles Women

South West Cycling Time Trials

50 Miles Rankings Women 2018

Women 50 Miles Rankings 2017

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php' on line 34:
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] => 34
[4] => Array
(
[dbc] =>
[distance] => 50
[gender] => W
[year] => 2017
[display_gender] => Women
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php
[line] => 34
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => SELECT date_format(calendar.date, '%d/%m/%Y') as race_date, timestampdiff(YEAR, riders.date_of_birth, calendar.date) as age, riders.name as name, riders.gender as gender, clubs.club as club, clubs.swdc as swdc, courses.course as course, courses.distance as distance, min(results.time) as time
FROM results, calendar, courses, riders, clubs
WHERE results.raceid = calendar.id and calendar.courseid = courses.id and results.riderid = riders.id and results.clubid = clubs.id and riders.gender = 'W' and year(calendar.date) = '2017' and courses.distance = '50' and clubs.swdc
GROUP BY results.riderid
ORDER BY time asc
)

)

[2] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/fifty_miles_rankings_women.php
[line] => 12
[function] => display_rankings
[args] => Array
(
[0] =>
[1] => 50
[2] => W
[3] => 2017
)

)

)

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php' on line 36:
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] => 36
[4] => Array
(
[dbc] =>
[distance] => 50
[gender] => W
[year] => 2017
[display_gender] => Women
[calendar_query] =>
[position] => 0
)

)

)

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

)

[2] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/fifty_miles_rankings_women.php
[line] => 12
[function] => display_rankings
[args] => Array
(
[0] =>
[1] => 50
[2] => W
[3] => 2017
)

)

)

PosNameClubTime

Women 50 Miles Rankings 2016

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php' on line 34:
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] => 34
[4] => Array
(
[dbc] =>
[distance] => 50
[gender] => W
[year] => 2016
[display_gender] => Women
)

)

)

[1] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php
[line] => 34
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => SELECT date_format(calendar.date, '%d/%m/%Y') as race_date, timestampdiff(YEAR, riders.date_of_birth, calendar.date) as age, riders.name as name, riders.gender as gender, clubs.club as club, clubs.swdc as swdc, courses.course as course, courses.distance as distance, min(results.time) as time
FROM results, calendar, courses, riders, clubs
WHERE results.raceid = calendar.id and calendar.courseid = courses.id and results.riderid = riders.id and results.clubid = clubs.id and riders.gender = 'W' and year(calendar.date) = '2016' and courses.distance = '50' and clubs.swdc
GROUP BY results.riderid
ORDER BY time asc
)

)

[2] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/fifty_miles_rankings_women.php
[line] => 12
[function] => display_rankings
[args] => Array
(
[0] =>
[1] => 50
[2] => W
[3] => 2016
)

)

)

An error occurred in script '/home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/includes/swtts_functions.inc.php' on line 36:
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] => 36
[4] => Array
(
[dbc] =>
[distance] => 50
[gender] => W
[year] => 2016
[display_gender] => Women
[calendar_query] =>
[position] => 0
)

)

)

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

)

[2] => Array
(
[file] => /home/hp3-linc5-nfs2-y/077/1215077/user/htdocs/fifty_miles_rankings_women.php
[line] => 12
[function] => display_rankings
[args] => Array
(
[0] =>
[1] => 50
[2] => W
[3] => 2016
)

)

)

PosNameClubTime