-
All replies
-
Helpful answers
-
-
Oct 31, 2015 6:17 PM in response to dominic23by Robert Weller1,I tried disabling all extensions and removed all plugins. Continue to have the same problem. No "home" window opens when I launch Safari.
-
by Linc Davis,Oct 31, 2015 7:19 PM in response to Robert Weller1
Linc Davis
Oct 31, 2015 7:19 PM
in response to Robert Weller1
Level 10 (208,000 points)
ApplicationsPlease read this whole message before doing anything.
This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
Step 1
The purpose of this step is to determine whether the problem is localized to your user account.
Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
Test while logged in as Guest. Same problem?
After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
*Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
Step 2
The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
Please take this step regardless of the results of Step 1.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem.
Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Test while in safe mode. Same problem?
After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.
-
Nov 1, 2015 3:59 AM in response to Linc Davisby Robert Weller1,I created a standard account for testing. Safari behaves normally in that account (I set the home page to yahoo and changed the "new window" setting from Favorites to Home Page.) I then deleted that account.
I started in Safe Mode in my own account with nothing except the power adapter connected. I'm not running file vault. In Safe Mode, I have the same problem as before - launching Safari does not open a new window and clicking on a link, say, in a mail window brings Safari to the foreground, but does not open a window.
Thanks for your help!
-
Nov 1, 2015 6:18 AM in response to Robert Weller1by Linc Davis,Back up all data before proceeding.
Triple-click anywhere in the line below on this page to select it:
~/Library/Safari
Right-click or control-click the line and select
Services ▹ Open
from the contextual menu.* A folder named "Safari" should open. Quit Safari if it's running. One or more files in the open folder should have a name beginning in "History". Move those files, and only those, to the Desktop, leaving the window open. Relaunch the application and test. If there's no change, quit again and put the files you moved back where they were, overwriting the ones that may have been created in their place. Otherwise, delete the files you moved. The browser history will be empty. If possible, restore the deleted files from a backup that predates the problem.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You may not see what you pasted because a line break is included. Press return.
-
Nov 1, 2015 6:50 AM in response to Linc Davisby Robert Weller1,Quit Safari. Moved 5 "history" files to desktop. Launched Safari.
Same issue as before - Safari launches but no window opens and clicking on links outside of Safari (say, in mail) causes OS to focus on Safari but page does not open.
Put "history" files back, overwriting the new ones.
-
Nov 1, 2015 7:41 AM in response to Robert Weller1by Linc Davis,Back up all data before proceeding.
Quit Safari if it’s running. Then select
▹ Force Quit…
from the menu bar. A small window will open with a list of running applications. Safari may appear in that list, even though you quit it. If so, select it and press return. Close the window.
Step 1
Hold down the option key and select
Go ▹ Library
from the Finder menu bar. Delete the following items from the Library folder (some may not exist):
Caches/com.apple.Safari
Caches/com.apple.Safari.SearchHelper
Caches/com.apple.SafariServices
Caches/com.apple.WebKit.PluginProcess
Caches/com.apple.WebProcess
Caches/Metadata/Safari
Preferences/com.apple.WebKit.PluginHost.plist
Preferences/com.apple.WebKit.PluginProcess.plist
Saved Application State/com.apple.Safari.savedState
Leave the Library folder open. Try Safari again. If the problem is solved, stop here. Close the Library folder. If you still have a problem, continue.
Step 2
Move the following items from the open Library folder to the Desktop (again, some may not exist):
Cookies/Cookies.binarycookies
Internet Plug-Ins
Preferences/ByHost/com.apple.Safari.*.plist
Preferences/com.apple.Safari.Extensions.plist
Preferences/com.apple.Safari.LSSharedFileList.plist
Preferences/com.apple.Safari.plist
Preferences/com.apple.WebFoundation.plist
PubSub/Database
Safari
SyncedPreferences/com.apple.Safari.plist
Here, "*" stands for a long string of letters, numbers, and dashes.
Note 1: You are not moving the Safari application. You’re moving a folder named “Safari.”
Note 2: This step will remove your Safari extensions, if any, and their settings. If you choose to reinstall them, do so one at a time, testing each time to make sure you haven’t restored the problem.
Try again. Your settings and bookmarks will be lost. The default set of bookmarks will be restored. Delete them all.
If Safari is now working normally (apart from the lost settings), look inside the “Safari” folder on the Desktop for a file named “Bookmarks.plist”. Select
File ▹ Import Bookmarks...
from the Safari menu bar. Import from that file. Recreate the rest of your Safari settings. You can then delete the items you moved to the Desktop.
If the issue is still not resolved, quit Safari again and put all the items you moved to the Desktop back where they were, overwriting the newer ones that may have been created in their place. You don’t need to replace the files you deleted in Step 1. Stop here and post again.
If you don’t like the results of the last step, you can undo it completely by quitting Safari and restoring the items you moved or deleted in that step from your backup, overwriting any that were created in their place.
-
Nov 1, 2015 9:03 AM in response to Linc Davisby Robert Weller1,Bingo! Thanks very much, Lync!
First, some of the files you mentioned did not exist. So, I ignored those.
I moved all of the ones that did exist (listed in Step 1) and launched Safari. It worked the way it should. Obviously, one or more of those files was the culprit.
Then, I moved all of the files back (over-writing the new ones) except for com.apple.Safari.savedState. Safari still worked normally. So, I'm guessing that the savedState file, whatever it is (it is quite large) was the culprit.
Thank you again!
Bob