Contribution view / edit error
I suggest that you check that the Base URL in the CiviCRM settings file.

Look for CIVICRM_UF_BASEURL in civicrm.settings.php file.

See this similar question for more details: **Network Error - Unable to reach the server