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/index.php' on line 24: 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.205.254.108 [REMOTE_PORT] => 48448 [REQUEST_METHOD] => GET [REQUEST_URI] => /competitions/index.php [SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/index.php [SCRIPT_NAME] => /competitions/index.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] => VB4xpUVaoy0ADRtgbaEAAAAB ) [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.205.254.108 [REMOTE_PORT] => 48448 [REQUEST_METHOD] => GET [REQUEST_URI] => /competitions/index.php [SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/index.php [SCRIPT_NAME] => /competitions/index.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] => VB4xpUVaoy0ADRtgbaEAAAAB ) [_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.205.254.108 [REMOTE_PORT] => 48448 [REQUEST_METHOD] => GET [REQUEST_URI] => /competitions/index.php [SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/index.php [SCRIPT_NAME] => /competitions/index.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] => VB4xpUVaoy0ADRtgbaEAAAAB [PHP_SELF] => /competitions/index.php [REQUEST_TIME] => 1411264933 [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.205.254.108 [REMOTE_PORT] => 48448 [REQUEST_METHOD] => GET [REQUEST_URI] => /competitions/index.php [SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/index.php [SCRIPT_NAME] => /competitions/index.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] => VB4xpUVaoy0ADRtgbaEAAAAB [PHP_SELF] => /competitions/index.php [REQUEST_TIME] => 1411264933 [argv] => Array ( ) [argc] => 0 ) [_FILES] => Array ( ) [HTTP_POST_FILES] => Array ( ) [_REQUEST] => Array ( ) [HTTP_SESSION_VARS] => Array ( ) [_SESSION] => Array ( ) [logoutAction] => /competitions/index.php?doLogout=true [live] => [contact_email] => john.woodbridge@pentathlongb.org [base] => /home/penta504/ [connect] => public [path] => Array ( [0] => /competitions/index.php ) [env] => dex [filename] => index [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 [host] => penta [local] => 1 [debug] => 1 [query_rsNews] => SELECT news_id , news_date , DATE_FORMAT(tblNews.news_date,'%W, %D %b %Y') AS news_date_human , date_updated , headline , news_item , posted_by FROM tblNews WHERE competitions = '1' AND news_date > SUBDATE(CURDATE(), INTERVAL 3 MONTH) AND deleted = '0' ORDER BY news_date DESC )
#0 my_error_handler(8, Undefined variable: conn, /home/penta504/public_html/pentathlongbsite/competitions/index.php, 24, 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.205.254.108,[REMOTE_PORT] => 48448,[REQUEST_METHOD] => GET,[REQUEST_URI] => /competitions/index.php,[SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/index.php,[SCRIPT_NAME] => /competitions/index.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] => VB4xpUVaoy0ADRtgbaEAAAAB),[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.205.254.108,[REMOTE_PORT] => 48448,[REQUEST_METHOD] => GET,[REQUEST_URI] => /competitions/index.php,[SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/index.php,[SCRIPT_NAME] => /competitions/index.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] => VB4xpUVaoy0ADRtgbaEAAAAB),[_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.205.254.108,[REMOTE_PORT] => 48448,[REQUEST_METHOD] => GET,[REQUEST_URI] => /competitions/index.php,[SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/index.php,[SCRIPT_NAME] => /competitions/index.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] => VB4xpUVaoy0ADRtgbaEAAAAB,[PHP_SELF] => /competitions/index.php,[REQUEST_TIME] => 1411264933,[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.205.254.108,[REMOTE_PORT] => 48448,[REQUEST_METHOD] => GET,[REQUEST_URI] => /competitions/index.php,[SCRIPT_FILENAME] => /home/penta504/public_html/pentathlongbsite/competitions/index.php,[SCRIPT_NAME] => /competitions/index.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] => VB4xpUVaoy0ADRtgbaEAAAAB,[PHP_SELF] => /competitions/index.php,[REQUEST_TIME] => 1411264933,[argv] => Array (),[argc] => 0),[_FILES] => Array (),[HTTP_POST_FILES] => Array (),[_REQUEST] => Array (),[HTTP_SESSION_VARS] => Array (),[_SESSION] => Array (),[logoutAction] => /competitions/index.php?doLogout=true,[live] => ,[contact_email] => john.woodbridge@pentathlongb.org,[base] => /home/penta504/,[connect] => public,[path] => Array ([0] => /competitions/index.php),[env] => dex,[filename] => index,[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,[host] => penta,[local] => 1,[debug] => 1,[query_rsNews] => SELECT news_id , news_date , DATE_FORMAT(tblNews.news_date,'%W, %D %b %Y') AS news_date_human , date_updated , headline , news_item , posted_by FROM tblNews WHERE competitions = '1' AND news_date > SUBDATE(CURDATE(), INTERVAL 3 MONTH) AND deleted = '0' ORDER BY news_date DESC )) called at [/home/penta504/public_html/pentathlongbsite/competitions/index.php:24]
Fatal error: Call to a member function query() on a non-object in /home/penta504/public_html/pentathlongbsite/competitions/index.php on line 24