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/results.php' on line 46: 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.161.236.92 [REMOTE_PORT] => 34127 [REQUEST_METHOD] => GET [REQUEST_URI] => /competitions/results.php [SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/results.php [SCRIPT_NAME] => /competitions/results.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] => VB6GX0Vaoy0ABkCrdU8AAAAv ) [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.161.236.92 [REMOTE_PORT] => 34127 [REQUEST_METHOD] => GET [REQUEST_URI] => /competitions/results.php [SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/results.php [SCRIPT_NAME] => /competitions/results.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] => VB6GX0Vaoy0ABkCrdU8AAAAv ) [_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.161.236.92 [REMOTE_PORT] => 34127 [REQUEST_METHOD] => GET [REQUEST_URI] => /competitions/results.php [SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/results.php [SCRIPT_NAME] => /competitions/results.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] => VB6GX0Vaoy0ABkCrdU8AAAAv [PHP_SELF] => /competitions/results.php [REQUEST_TIME] => 1411286623 [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.161.236.92 [REMOTE_PORT] => 34127 [REQUEST_METHOD] => GET [REQUEST_URI] => /competitions/results.php [SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/results.php [SCRIPT_NAME] => /competitions/results.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] => VB6GX0Vaoy0ABkCrdU8AAAAv [PHP_SELF] => /competitions/results.php [REQUEST_TIME] => 1411286623 [argv] => Array ( ) [argc] => 0 ) [_FILES] => Array ( ) [HTTP_POST_FILES] => Array ( ) [_REQUEST] => Array ( ) [HTTP_SESSION_VARS] => Array ( ) [_SESSION] => Array ( ) [logoutAction] => /competitions/results.php?doLogout=true [live] => [contact_email] => john.woodbridge@pentathlongb.org [base] => /home/penta504/ [connect] => public [path] => Array ( [0] => /competitions/results.php ) [env] => lts [filename] => results [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/results.php [errors] => Array ( ) [host] => penta [local] => 1 [debug] => 1 [query_rsEvents] => SELECT tblEvents.event_ID , event_name , event_start_date , event_type , event_end_date , event_closing_date , tblEvents.date_created , tblEvents.date_updated , tblEvents.event_category , tblEvents.status , tblEvents.contact_name , tblEvents.contact_phone , tblEvents.contact_email , tblEvents.qualifier_for_event_id , CONCAT(tblEvents.venue,', ',tblEvents.venue_town,', ',tblEvents.venue_postcode) as location , tblEventCompetitions.pent , tblEventCompetitions.tet , tblEventCompetitions.tri , tblEventCompetitions.bi , tblEventCompetitions.single , tblEventCompetitions.biathle , tblEventCompetitions.triathle , tblEvents.biathle , tblEvents.schools FROM tblEvents LEFT JOIN tblEventCompetitions ON tblEvents.event_id = tblEventCompetitions.event_id INNER JOIN tblEventTypes ON tblEvents.event_type_id = tblEventTypes.event_type_id WHERE event_start_date >= CURDATE() ORDER BY event_start_date ASC )
#0 my_error_handler(8, Undefined variable: conn, /home/penta504/public_html/pentathlongbsite/competitions/results.php, 46, 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.161.236.92,[REMOTE_PORT] => 34127,[REQUEST_METHOD] => GET,[REQUEST_URI] => /competitions/results.php,[SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/results.php,[SCRIPT_NAME] => /competitions/results.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] => VB6GX0Vaoy0ABkCrdU8AAAAv),[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.161.236.92,[REMOTE_PORT] => 34127,[REQUEST_METHOD] => GET,[REQUEST_URI] => /competitions/results.php,[SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/results.php,[SCRIPT_NAME] => /competitions/results.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] => VB6GX0Vaoy0ABkCrdU8AAAAv),[_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.161.236.92,[REMOTE_PORT] => 34127,[REQUEST_METHOD] => GET,[REQUEST_URI] => /competitions/results.php,[SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/results.php,[SCRIPT_NAME] => /competitions/results.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] => VB6GX0Vaoy0ABkCrdU8AAAAv,[PHP_SELF] => /competitions/results.php,[REQUEST_TIME] => 1411286623,[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.161.236.92,[REMOTE_PORT] => 34127,[REQUEST_METHOD] => GET,[REQUEST_URI] => /competitions/results.php,[SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/results.php,[SCRIPT_NAME] => /competitions/results.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] => VB6GX0Vaoy0ABkCrdU8AAAAv,[PHP_SELF] => /competitions/results.php,[REQUEST_TIME] => 1411286623,[argv] => Array (),[argc] => 0),[_FILES] => Array (),[HTTP_POST_FILES] => Array (),[_REQUEST] => Array (),[HTTP_SESSION_VARS] => Array (),[_SESSION] => Array (),[logoutAction] => /competitions/results.php?doLogout=true,[live] => ,[contact_email] => john.woodbridge@pentathlongb.org,[base] => /home/penta504/,[connect] => public,[path] => Array ([0] => /competitions/results.php),[env] => lts,[filename] => results,[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/results.php,[errors] => Array (),[host] => penta,[local] => 1,[debug] => 1,[query_rsEvents] => SELECT tblEvents.event_ID , event_name , event_start_date , event_type , event_end_date , event_closing_date , tblEvents.date_created , tblEvents.date_updated , tblEvents.event_category , tblEvents.status , tblEvents.contact_name , tblEvents.contact_phone , tblEvents.contact_email , tblEvents.qualifier_for_event_id , CONCAT(tblEvents.venue,', ',tblEvents.venue_town,', ',tblEvents.venue_postcode) as location , tblEventCompetitions.pent , tblEventCompetitions.tet , tblEventCompetitions.tri , tblEventCompetitions.bi , tblEventCompetitions.single , tblEventCompetitions.biathle , tblEventCompetitions.triathle , tblEvents.biathle , tblEvents.schools FROM tblEvents LEFT JOIN tblEventCompetitions ON tblEvents.event_id = tblEventCompetitions.event_id INNER JOIN tblEventTypes ON tblEvents.event_type_id = tblEventTypes.event_type_id WHERE event_start_date >= CURDATE() ORDER BY event_start_date ASC )) called at [/home/penta504/public_html/pentathlongbsite/competitions/results.php:46]
Fatal error: Call to a member function query() on a non-object in /home/penta504/public_html/pentathlongbsite/competitions/results.php on line 46