Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - $sxe = new SimpleXMLElement('https://api.eveonline.com/account/APIKeyInfo.xml.aspx?keyID=' . $apikeyid . '&vCode=' . $apivcode, NULL, TRUE);
 - if($sxe->error == 'Key has expired. Contact key owner for access renewal.') {echo 'This key is either expired or you entered an invalid API key, check that the key is valid on the EVE API page and then go back and enter it again.';}
 - else if($sxe->error == 'Authentication failure.') {echo 'There was an error authenticating your API key, please go back and re-enter the KeyID and vCode again.';}
 - else if($sxe->error == 'Must provide userID or keyID parameter for authentication.') {echo 'You must provide an API KeyID and vCode, please go back and ensure both fields are filled in correctly';}
 - else if($sxe->error == 'Login denied by account status.') {echo 'Access to this account is denied, check the account is active'; }
 - else if($sxe->error == 'Failed getting user information.') {echo 'Unable to get user information, check server status'; }
 - else if($sxe->error == 'Unexpected failure accessing database.') {echo 'There was an unexpected database error while attempting to access this API key, please wait and try again in a few minutes';}
 - else if($sxe->error == 'EVE backend database temporarily disabled.') {echo 'There was an error accessing the API, the database is temporarily disabled';}
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment