Title: White Screen When Loading Localhost:8888
Last modified: August 22, 2016

---

# White Screen When Loading Localhost:8888

 *  [SF2015](https://wordpress.org/support/users/sf2015/)
 * (@sf2015)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/white-screen-when-loading-localhost8888/)
 * Hello,
 * I am running wordpress on my local computer.
 * I recently made an adjustment to the header.php file on the local program (not
   in the root files), and ever since then I have been receiving a white screen 
   of death.
 * I was wondering how to fix this problem. The error I receive appears as follows:
 * [10-Jan-2015 01:33:06 UTC] WordPress database error Duplicate entry ‘1683-721’
   for key ‘PRIMARY’ for query INSERT INTO `wp_term_relationships` (`object_id`,`
   term_taxonomy_id`) VALUES (1683,721) made by call_user_func, WP_Import->dispatch,
   WP_Import->import, WP_Import->process_posts, wp_set_post_terms, wp_set_object_terms
 * I have been googling around and attempting to find the answer myself. I was hoping
   an expert could lend some insight.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/white-screen-when-loading-localhost8888/#post-5677592)
 * Since this started when you fiddled with your header.php file, and also because
   it is really easy to do, I suggest that you run your header.php file through 
   a PHP syntax checker, one is avaliable here:
    [http://www.piliapp.com/php-syntax-check/](http://www.piliapp.com/php-syntax-check/)
 * If this doesn’t find anything, then suggest that you change theme. Either using
   FTP or your website hosting management file manager, rename the theme directory
   in “wp-content/themes”
 *  Thread Starter [SF2015](https://wordpress.org/support/users/sf2015/)
 * (@sf2015)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/white-screen-when-loading-localhost8888/#post-5677594)
 * RossMitchell,
 * The files were edited over WordPress on the local server. I now can not access
   the files because there is a white screen. I also don’t want to change my theme
   because I made customizations that I would rather not reconfigure.
 * Also, the PHP checker found nothing wrong.
 * Has anybody succeeded in solving this problem?
 *  [LyleChamney](https://wordpress.org/support/users/lylechamney/)
 * (@lylechamney)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/white-screen-when-loading-localhost8888/#post-5677664)
 * > When Loading Localhost:8888
 * Port 8888 would indicate that you are more than likely using MAMP on a Mac as
   that is it’s default Apache web server port.
 * If that is the case, and you are using the default MAMP install settings for 
   the document root, then your theme’s folder is here:
 * Applications/MAMP/htdocs/wp-content/themes … if you installed WP in the root
 * Applications/MAMP/htdocs/folder-name/wp-content/themes … if you installed WP 
   in a folder in the root (usually `wordpress`)
 * Simply use Finder to go and rename the theme you are using where the trouble 
   started as Ross mentions and this will (should) force WP to revert to it’s default
   theme. You will not lose any customizations you have made to this theme by doing
   this.
 * Additionally, use a plain text editor such as Text Wrangler to open the file 
   in question and edit your changes.
 *  Thread Starter [SF2015](https://wordpress.org/support/users/sf2015/)
 * (@sf2015)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/white-screen-when-loading-localhost8888/#post-5677675)
 * Thank you for your your help.
 * At this point I have renamed the wordpress folder and the theme names and I am
   still getting the white screen. I additionally have removed what I thought was
   the error in PHP.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘White Screen When Loading Localhost:8888’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [Duplicate Entry](https://wordpress.org/support/topic-tag/duplicate-entry/)
 * [insert into](https://wordpress.org/support/topic-tag/insert-into/)
 * [key](https://wordpress.org/support/topic-tag/key/)
 * [MAMP](https://wordpress.org/support/topic-tag/mamp/)
 * [white screen of death](https://wordpress.org/support/topic-tag/white-screen-of-death/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 4 replies
 * 3 participants
 * Last reply from: [SF2015](https://wordpress.org/support/users/sf2015/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/white-screen-when-loading-localhost8888/#post-5677675)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
