Warning: include_once(/Applications/MAMP/htdocs/Connections/pdo_conn.php) [function.include-once]: failed to open stream: No such file or directory in /home/penta504/public_html/pentathlongbsite/includes_pbg/config_PDO.inc.php on line 36

Warning: include_once() [function.include]: Failed opening '/Applications/MAMP/htdocs/Connections/pdo_conn.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/penta504/public_html/pentathlongbsite/includes_pbg/config_PDO.inc.php on line 36
An error occurred in script '/home/penta504/public_html/pentathlongbsite/competitions/rankings.php' on line 25: Undefined variable: connArray ( [GLOBALS] => Array *RECURSION* [_ENV] => Array ( [DOCUMENT_ROOT] => /home/penta504/public_html/pentathlongbsite [GATEWAY_INTERFACE] => CGI/1.1 [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate [HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3 [HTTP_HOST] => pentathlongb.org [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/) [PATH] => /bin:/usr/bin [PHPRC] => /home/penta504/etc [QUERY_STRING] => [REDIRECT_STATUS] => 200 [REMOTE_ADDR] => 54.166.84.53 [REMOTE_PORT] => 57635 [REQUEST_METHOD] => GET [REQUEST_URI] => /competitions/rankings.php [SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/rankings.php [SCRIPT_NAME] => /competitions/rankings.php [SERVER_ADDR] => 69.90.163.47 [SERVER_ADMIN] => webmaster@pentathlongb.pentathlonuk.org.uk [SERVER_NAME] => pentathlongb.org [SERVER_PORT] => 80 [SERVER_PROTOCOL] => HTTP/1.0 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [UNIQUE_ID] => VAQhGkVaoy0ACnG@ro0AAAAP ) [HTTP_ENV_VARS] => Array ( [DOCUMENT_ROOT] => /home/penta504/public_html/pentathlongbsite [GATEWAY_INTERFACE] => CGI/1.1 [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate [HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3 [HTTP_HOST] => pentathlongb.org [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/) [PATH] => /bin:/usr/bin [PHPRC] => /home/penta504/etc [QUERY_STRING] => [REDIRECT_STATUS] => 200 [REMOTE_ADDR] => 54.166.84.53 [REMOTE_PORT] => 57635 [REQUEST_METHOD] => GET [REQUEST_URI] => /competitions/rankings.php [SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/rankings.php [SCRIPT_NAME] => /competitions/rankings.php [SERVER_ADDR] => 69.90.163.47 [SERVER_ADMIN] => webmaster@pentathlongb.pentathlonuk.org.uk [SERVER_NAME] => pentathlongb.org [SERVER_PORT] => 80 [SERVER_PROTOCOL] => HTTP/1.0 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [UNIQUE_ID] => VAQhGkVaoy0ACnG@ro0AAAAP ) [_POST] => Array ( ) [HTTP_POST_VARS] => Array ( ) [_GET] => Array ( ) [HTTP_GET_VARS] => Array ( ) [_COOKIE] => Array ( ) [HTTP_COOKIE_VARS] => Array ( ) [_SERVER] => Array ( [DOCUMENT_ROOT] => /home/penta504/public_html/pentathlongbsite [GATEWAY_INTERFACE] => CGI/1.1 [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate [HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3 [HTTP_HOST] => pentathlongb.org [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/) [PATH] => /bin:/usr/bin [PHPRC] => /home/penta504/etc [QUERY_STRING] => [REDIRECT_STATUS] => 200 [REMOTE_ADDR] => 54.166.84.53 [REMOTE_PORT] => 57635 [REQUEST_METHOD] => GET [REQUEST_URI] => /competitions/rankings.php [SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/rankings.php [SCRIPT_NAME] => /competitions/rankings.php [SERVER_ADDR] => 69.90.163.47 [SERVER_ADMIN] => webmaster@pentathlongb.pentathlonuk.org.uk [SERVER_NAME] => pentathlongb.org [SERVER_PORT] => 80 [SERVER_PROTOCOL] => HTTP/1.0 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [UNIQUE_ID] => VAQhGkVaoy0ACnG@ro0AAAAP [PHP_SELF] => /competitions/rankings.php [REQUEST_TIME] => 1409556762 [argv] => Array ( ) [argc] => 0 ) [HTTP_SERVER_VARS] => Array ( [DOCUMENT_ROOT] => /home/penta504/public_html/pentathlongbsite [GATEWAY_INTERFACE] => CGI/1.1 [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate [HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3 [HTTP_HOST] => pentathlongb.org [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/) [PATH] => /bin:/usr/bin [PHPRC] => /home/penta504/etc [QUERY_STRING] => [REDIRECT_STATUS] => 200 [REMOTE_ADDR] => 54.166.84.53 [REMOTE_PORT] => 57635 [REQUEST_METHOD] => GET [REQUEST_URI] => /competitions/rankings.php [SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/rankings.php [SCRIPT_NAME] => /competitions/rankings.php [SERVER_ADDR] => 69.90.163.47 [SERVER_ADMIN] => webmaster@pentathlongb.pentathlonuk.org.uk [SERVER_NAME] => pentathlongb.org [SERVER_PORT] => 80 [SERVER_PROTOCOL] => HTTP/1.0 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [UNIQUE_ID] => VAQhGkVaoy0ACnG@ro0AAAAP [PHP_SELF] => /competitions/rankings.php [REQUEST_TIME] => 1409556762 [argv] => Array ( ) [argc] => 0 ) [_FILES] => Array ( ) [HTTP_POST_FILES] => Array ( ) [_REQUEST] => Array ( ) [HTTP_SESSION_VARS] => Array ( ) [_SESSION] => Array ( ) [logoutAction] => /competitions/rankings.php?doLogout=true [live] => [contact_email] => john.woodbridge@pentathlongb.org [base] => /home/penta504/ [connect] => public [path] => Array ( [0] => /competitions/rankings.php ) [env] => ngs [filename] => rankings [environ] => 1 [env1] => [hostname_connPublic] => localhost [database_connPublic] => penta504_MPAGB [username_connPublic] => penta504_public [password_connPublic] => x8@Vi#jwmCI* [connPublic] => Resource id #6 [member_application_confirm_link] => /pgb/member_application_confirm.php [member_renewal_confirm_link] => /pgb/member_renewal_confirm.php [signup_confirm_link] => /pgb/signup_confirm.php [signupm_link] => /pgb/signupg.php [signupg_link] => /pgb/signupg.php [login_link] => /members/login.php [changepassword_link] => /members/changepassword.php [changepassword_confirm_link] => /members/changepassword_confirm.php [strConnectTo] => LIVE [strVendorName] => modernpentathlo [VPSProtocol] => 2.23 [strEncryptionPassword] => 2pjUB3ZRRgDzFX5V [strTransactionType] => PAYMENT [member_application_success] => https://pentathlongb.org/pgb/member_application_success.php [member_application_failure] => https://pentathlongb.org/pgb/member_application_failure.php [member_renewal_success] => https://pentathlongb.org/pgb/member_renewal_success.php [member_renewal_failure] => https://pentathlongb.org/pgb/member_renewal_failure.php [payment_gateway] => https://live.sagepay.com/gateway/service/vspform-register.vsp?Service=VendorRegisterTx [home_page] => http://www.pentathlongb.org [resources_link] => /pentathlongb/resources.php [schools_entries_link] => /members/schools_entries.php [schools_entries_tab1_link] => /members/schools_entries.php?tab=1 [enter_competitions_link] => /members/enter_competitions.php [currentPage] => /competitions/rankings.php [host] => penta [local] => 1 [debug] => 1 [query_rsRankingEvents] => SELECT DISTINCT tblEventCompetitions.event_competition_id, tblEvents.event_name FROM tblEvents INNER JOIN tblEventCompetitions ON tblEventCompetitions.event_id = tblEvents.event_id WHERE tblEventCompetitions.rank_list = '1' AND tblEventCompetitions.publish_rank_list <= NOW() AND tblEvents.event_start_date >= CURDATE() AND tblEventCompetitions.cancelled <> '1' AND tblEventCompetitions.deleted <> '1' ORDER BY event_name; )
#0 my_error_handler(8, Undefined variable: conn, /home/penta504/public_html/pentathlongbsite/competitions/rankings.php, 25, Array ([GLOBALS] => Array ( *RECURSION*,[_ENV] => Array ([DOCUMENT_ROOT] => /home/penta504/public_html/pentathlongbsite,[GATEWAY_INTERFACE] => CGI/1.1,[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate,[HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3,[HTTP_HOST] => pentathlongb.org,[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/),[PATH] => /bin:/usr/bin,[PHPRC] => /home/penta504/etc,[QUERY_STRING] => ,[REDIRECT_STATUS] => 200,[REMOTE_ADDR] => 54.166.84.53,[REMOTE_PORT] => 57635,[REQUEST_METHOD] => GET,[REQUEST_URI] => /competitions/rankings.php,[SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/rankings.php,[SCRIPT_NAME] => /competitions/rankings.php,[SERVER_ADDR] => 69.90.163.47,[SERVER_ADMIN] => webmaster@pentathlongb.pentathlonuk.org.uk,[SERVER_NAME] => pentathlongb.org,[SERVER_PORT] => 80,[SERVER_PROTOCOL] => HTTP/1.0,[SERVER_SIGNATURE] => ,[SERVER_SOFTWARE] => Apache,[UNIQUE_ID] => VAQhGkVaoy0ACnG@ro0AAAAP),[HTTP_ENV_VARS] => Array ([DOCUMENT_ROOT] => /home/penta504/public_html/pentathlongbsite,[GATEWAY_INTERFACE] => CGI/1.1,[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate,[HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3,[HTTP_HOST] => pentathlongb.org,[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/),[PATH] => /bin:/usr/bin,[PHPRC] => /home/penta504/etc,[QUERY_STRING] => ,[REDIRECT_STATUS] => 200,[REMOTE_ADDR] => 54.166.84.53,[REMOTE_PORT] => 57635,[REQUEST_METHOD] => GET,[REQUEST_URI] => /competitions/rankings.php,[SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/rankings.php,[SCRIPT_NAME] => /competitions/rankings.php,[SERVER_ADDR] => 69.90.163.47,[SERVER_ADMIN] => webmaster@pentathlongb.pentathlonuk.org.uk,[SERVER_NAME] => pentathlongb.org,[SERVER_PORT] => 80,[SERVER_PROTOCOL] => HTTP/1.0,[SERVER_SIGNATURE] => ,[SERVER_SOFTWARE] => Apache,[UNIQUE_ID] => VAQhGkVaoy0ACnG@ro0AAAAP),[_POST] => Array (),[HTTP_POST_VARS] => Array (),[_GET] => Array (),[HTTP_GET_VARS] => Array (),[_COOKIE] => Array (),[HTTP_COOKIE_VARS] => Array (),[_SERVER] => Array ([DOCUMENT_ROOT] => /home/penta504/public_html/pentathlongbsite,[GATEWAY_INTERFACE] => CGI/1.1,[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate,[HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3,[HTTP_HOST] => pentathlongb.org,[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/),[PATH] => /bin:/usr/bin,[PHPRC] => /home/penta504/etc,[QUERY_STRING] => ,[REDIRECT_STATUS] => 200,[REMOTE_ADDR] => 54.166.84.53,[REMOTE_PORT] => 57635,[REQUEST_METHOD] => GET,[REQUEST_URI] => /competitions/rankings.php,[SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/rankings.php,[SCRIPT_NAME] => /competitions/rankings.php,[SERVER_ADDR] => 69.90.163.47,[SERVER_ADMIN] => webmaster@pentathlongb.pentathlonuk.org.uk,[SERVER_NAME] => pentathlongb.org,[SERVER_PORT] => 80,[SERVER_PROTOCOL] => HTTP/1.0,[SERVER_SIGNATURE] => ,[SERVER_SOFTWARE] => Apache,[UNIQUE_ID] => VAQhGkVaoy0ACnG@ro0AAAAP,[PHP_SELF] => /competitions/rankings.php,[REQUEST_TIME] => 1409556762,[argv] => Array (),[argc] => 0),[HTTP_SERVER_VARS] => Array ([DOCUMENT_ROOT] => /home/penta504/public_html/pentathlongbsite,[GATEWAY_INTERFACE] => CGI/1.1,[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate,[HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3,[HTTP_HOST] => pentathlongb.org,[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/),[PATH] => /bin:/usr/bin,[PHPRC] => /home/penta504/etc,[QUERY_STRING] => ,[REDIRECT_STATUS] => 200,[REMOTE_ADDR] => 54.166.84.53,[REMOTE_PORT] => 57635,[REQUEST_METHOD] => GET,[REQUEST_URI] => /competitions/rankings.php,[SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/rankings.php,[SCRIPT_NAME] => /competitions/rankings.php,[SERVER_ADDR] => 69.90.163.47,[SERVER_ADMIN] => webmaster@pentathlongb.pentathlonuk.org.uk,[SERVER_NAME] => pentathlongb.org,[SERVER_PORT] => 80,[SERVER_PROTOCOL] => HTTP/1.0,[SERVER_SIGNATURE] => ,[SERVER_SOFTWARE] => Apache,[UNIQUE_ID] => VAQhGkVaoy0ACnG@ro0AAAAP,[PHP_SELF] => /competitions/rankings.php,[REQUEST_TIME] => 1409556762,[argv] => Array (),[argc] => 0),[_FILES] => Array (),[HTTP_POST_FILES] => Array (),[_REQUEST] => Array (),[HTTP_SESSION_VARS] => Array (),[_SESSION] => Array (),[logoutAction] => /competitions/rankings.php?doLogout=true,[live] => ,[contact_email] => john.woodbridge@pentathlongb.org,[base] => /home/penta504/,[connect] => public,[path] => Array ([0] => /competitions/rankings.php),[env] => ngs,[filename] => rankings,[environ] => 1,[env1] => ,[hostname_connPublic] => localhost,[database_connPublic] => penta504_MPAGB,[username_connPublic] => penta504_public,[password_connPublic] => x8@Vi#jwmCI*,[connPublic] => Resource id #6,[member_application_confirm_link] => /pgb/member_application_confirm.php,[member_renewal_confirm_link] => /pgb/member_renewal_confirm.php,[signup_confirm_link] => /pgb/signup_confirm.php,[signupm_link] => /pgb/signupg.php,[signupg_link] => /pgb/signupg.php,[login_link] => /members/login.php,[changepassword_link] => /members/changepassword.php,[changepassword_confirm_link] => /members/changepassword_confirm.php,[strConnectTo] => LIVE,[strVendorName] => modernpentathlo,[VPSProtocol] => 2.23,[strEncryptionPassword] => 2pjUB3ZRRgDzFX5V,[strTransactionType] => PAYMENT,[member_application_success] => https://pentathlongb.org/pgb/member_application_success.php,[member_application_failure] => https://pentathlongb.org/pgb/member_application_failure.php,[member_renewal_success] => https://pentathlongb.org/pgb/member_renewal_success.php,[member_renewal_failure] => https://pentathlongb.org/pgb/member_renewal_failure.php,[payment_gateway] => https://live.sagepay.com/gateway/service/vspform-register.vsp?Service=VendorRegisterTx,[home_page] => http://www.pentathlongb.org,[resources_link] => /pentathlongb/resources.php,[schools_entries_link] => /members/schools_entries.php,[schools_entries_tab1_link] => /members/schools_entries.php?tab=1,[enter_competitions_link] => /members/enter_competitions.php,[currentPage] => /competitions/rankings.php,[host] => penta,[local] => 1,[debug] => 1,[query_rsRankingEvents] => SELECT DISTINCT tblEventCompetitions.event_competition_id, tblEvents.event_name FROM tblEvents INNER JOIN tblEventCompetitions ON tblEventCompetitions.event_id = tblEvents.event_id WHERE tblEventCompetitions.rank_list = '1' AND tblEventCompetitions.publish_rank_list <= NOW() AND tblEvents.event_start_date >= CURDATE() AND tblEventCompetitions.cancelled <> '1' AND tblEventCompetitions.deleted <> '1' ORDER BY event_name; )) called at [/home/penta504/public_html/pentathlongbsite/competitions/rankings.php:25]
Fatal error: Call to a member function query() on a non-object in /home/penta504/public_html/pentathlongbsite/competitions/rankings.php on line 25