In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
To open your domain file in Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"
tell application "iWeb" to activate
You can download an already compiled version with this link: iWeb Switch Domain.
Just launch the application, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder. So rename your domain files once they've been created to something other than the default name.
I cannot open iWeb. Please help! I'm using MBP running Lion 10.7.4 and iWeb 09. Using a site I've had running since 2006. I have other sites. On last but one OS update I had to start using Domain Cracker to be able to select the file I wanted. Recently updated to current operating system and have had problems with iWeb since. Closed the file on Sunday morning. When I next went to open later that day, I got the following error message, 'Can't Open file "Volumes/EAM2011/Domain.sites2" Never seen that before. Never seen Domain.Sites2 before. Domain Cracker doesn't help. iWeb Switch Domain doesn't help. I have deleted the deleted com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile in preferences and in the Cache the contents of the com.apple.iWeb folder and restarted. No luck. And the preferences files I deleted have returned.
I hope you can help. This is a site I usually update every day!
Try the following:
- delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
- go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
- launch iWeb and try again.
Click to view full size
If that doesn't help continue with:
- move the domain file from your Home/Library/Application Support/iWeb folder to the Desktop.
- launch iWeb, create a new test site, save the new domain file and close iWeb.
- go to the your Home/Library/Application Support/iWeb folder and delete the new domain file.
- move your original domain file from the Desktop to the iWeb folder.
- launch iWeb and try again.
I already tried 1 and 2 and it didn't work. I restarted afterwards but didn't try repairing permissions though so will try it again and do that and see where it gets me.
The domain is not in Home/Library/Application Support/iWeb folder - it's on an external Hard Drive. I usually use Domain Cracker to open it rather than the one in the Home/Library/Application Support/iWeb folder. Does that make a difference?
I'm currently making a copy of the Domain I want to open and thought about moving that to Home/Library/Application Support/iWeb folder and then trying to open it.
It's bed time here (UK), so I'll try all that tomorrow. Thanks for your help.