Aha!  Workaround for site corruption in iWeb '06 '08 updates

I think I have found a workaround for a problem that's been plaguing me and no doubt other people who've bought iWeb '08 and used it to update an older site from iWeb '06 (skip to bottom for solution). This is relevant even after the 2.0.1 update that Apple shipped today.
My iWeb project contains multiple sites, which I use to group photo albums. I found repeatedly that after I updated the site, made a change, and saved the project, a lot of the bitmap image files needed for pages with photo albums or other graphical embellishments were just gone from the project. Looking into the Domain.sites package (Finder: Show Package Contents) confirmed this - all the .jpg, .png files etc. just got trashed the first time I did a save (although the pages all looked ok after the upgrade but before the save!)
At first I thought that the last site added to my multi-site project was spared at the expense of other 'sites' visible in the sidebar. Then I realized that only pages that had been viewed in iWeb after the update were spared! Generally I would view the pages in the bottom/last site as these were the ones I was currently working on - and these were spared.
So I did an experiment - I opened (yet another) copy of my iWeb '06 backup in iWeb '08, and after the update but before saving I clicked on every page (thereby viewing it) in the whole site - and I have around 50 pages in about ten sites. Then I made a change to a single page, and saved the project. The fact that I had viewed all the pages seemed to make the problem go away! There were no missing photos or embedded bitmaps!
*So the short version of the problem is:* any pages that have not been viewed within iWeb after updating a Domain.sites file (what I call the project) from '06 to '08 will have all associated bitmap image files deleted.
*The solution:* immediately after updating the site, and before making any edits or saving, you must click on the sidebar entry for every page in the whole project (to view it in the editing window). In my case this meant also clicking on every entry of a blog, to display it.
Conclusion: there must be some book-keeping of the database that supports iWeb that is not synchronized with the persistent store on disk unless a page is actually viewed.
Hope this works for others, and that Apple gets a proper fix out ASAP. The 2.0.1 update issued today did not fix the problem for me - only the above workaround did.
Rick

Hi Rick,
Sounds like my story, too. I have had some time to experiment on two different Macs (one G4 and one MacBook Pro). After losing the formatting and photos on one Mac after upgrading, I decided that I was going to test some theories on the other Mac prior to upgrading to iWeb '08. This is what I found - and what worked:
Test 1:
MacBookPro on iLife '06. I upgraded to iLife '08. I opened iWeb and noted that it did not recognize my original domain: iWeb '08 asked me to locate it or create a new one. I selected "choose" and selected the domain that I had created in iWeb '06 (user/library/application support/iweb). The site opened, performed the required update and opened up. I noticed immediately that some of the photos did not appear on some of the pages. Each time iWeb '08 was closed and reopened, more photos, sometimes different photos, would disappear. All that would remain was a grey placecard with a question mark in the middle (and the warning that the links were now missing). I even went as far as putting the photos back into position, saving and closing iWeb '08. But when I opened iWeb '08 again, the photos were missing...again.
I rebuilt the entire site.
Test 2:
Powerbook G4 on iLife '06. BEFORE updating to iLife '08, I used the original iWeb '06 to publish the entire site to a local folder on my HD (as a security measure). Next, I created a copy of my domain (another security measure) and moved the original domain from 'user/library/application support/iweb' to my desk top. I then proceeded to upgrade to iLife '08. After upgrading, I opened iWeb '08 and received the notification that iWeb '08 needed to either create a domain or I needed to choose a domain. Since I moved my domain out of 'library/application support/iweb', I elected to create a new domain and saved it to the same location (library/application support/iweb).
The new domain was created, iWeb '08 opened, I selected a template, then saved it and closed the program.
Using Finder, I examined the new domain just created by iWeb '08. Using the 'get info' command, I noticed that the new domain has the extension ".sites2." The original domain created in iWeb '06 has the extension ".sites."
I took my original iWeb '06 domain and used the finder "get info" command to manually change the extension from ".sites" to ".sites2." I got the warning asking me if I was sure I wanted to use ".sites2," and I selected yes, use ".sites2."
Using the (original) domain just modified in the last step, now with the extension ".sites2", I inserted it into the 'user/library/application support/iweb' folder, replacing the domain file created during the start up of iWeb '08.
I then opened iWeb '08.
After a brief moment, iWeb '08 opened my domain revealing all four of my original web sites, complete and intact. After iWeb '08 updated the domain, I saved it, closed iWeb '08 and reopened it a few times before I was satisfied that EVERYTHING was working fine.
In conclusion, I found that by changing the domain (created in iWeb '06) file extension to ".sites2", I was able to use iWeb '08 to successfully open it, complete and intact.
I hope you may still have the opportunity to try this on your Mac. I also hope that you have good results.
Cheers, Bryan

Similar Messages

  • Workaround for iWeb publishing each & every single file ?

    It's a real drag that iWeb publishes each and every single file to .mac every time I correct a comma somewhere. My site* is about 20 MBs, and I've been waiting for half an hour now to continue working with iWeb. But it's still uploading... uploading... uploading... Other servers are faster than .mac, but the problem is the same.
    Has anyone found a workaround for this nuisance??? Some method to export & sync only altered files? (Or were iWeb authors as bright as to make it change all files, regardless if the user changed only a comma?)
    Thanks a lot
    hp
    *) http://web.mac.com/hpr

    Hi Peter
    iWeb isnt actually uploading every page, unless you have made a change to that page, yes a comma will do it, also any changes to the navigation bar efffect all pages that the bar is on. WHat you see is iWeb going through and checking to see whether there are any changes, then if there are the page gets uploaded, if not it moves on to the next page.
    I try to publish often so as not to slow things down, my site is well over 20MB and I normally only wait a few minues. This is something that I am prepared to do for the convenience of one click publishing. I am currently uploading a 2.5MB site via ftp to another server, and it still takes a while
    Will
    1GHz G4, 15" PowerBook, Airport Network, 1G iPod Mini   Mac OS X (10.4.6)   www.willg4pb.com for iWeb tips

  • How do i get an iweb 1.1 site loaded into iweb 2.0.2 for editing?

    Hi. I have a site up on .mac that was built using iweb 1. I also have the source files on my mac. I gather that iWeb 2 uses a domain file to store all this information now.
    Can you help me get my old iweb 1 site files loaded into iweb 2 so that i can edit and republish? The site is actually still live on .mac.
    Thank you for your help.
    -patrick.

    pthean wrote:
    I gather that iWeb 2 uses a domain file to store all this information now.
    ...And iWeb 1 used a domain file also. If you have it, iWeb 2 will be able to open your site made with iWeb 1 so you can continue development. If you no longer have it you'll have to rebuild your site manually. See this thread:

  • Is there a way to have files available for download on your iweb site?

    Ok here's the question. If I wanted a image file or music file to be available for download on your iweb site.....would that be possible?
    Kind of like when you go to a website and sometimes it has a link you can press to download a file. If you click the file then the "save as" or "download" window opens depending on your browser.
    Is something like this available on an iweb site? If so then how would you create something like that? Any help would be appreciated.

    audiophiler,
    There are two ways to link to files with iWeb. The approach that iWebFaq outlines results in iWeb making a copy of the file in question and storing it in the domain.sites file. Then, when it publishes your website, it puts a copy of the file in the right place in the folders it publishes. Visitors to your site then download that copy.
    You are correct that you can put things in your public folder of your iDisk for download. But the process of linking to those files is different. When you set up the link in iWeb (using the inspector) you need to choose "external link" and provide the url of the file in question.
    For more background on the differences between these approaches, and the advantages of each, see this thread. That thread also has some good links for sorting out what the url of the files in your public (and other) folders of your iDisk are.
    kabing
    iBook G4 14 in   Mac OS X (10.4.9)   iMac 400 MHz G3 OS 9.2.2

  • Quick Workaround for Lion OS X Webcam/Mic Issues

    This is pretty a very basic Flash fix, but wanted to pass along a quick workaround if you're having issues with accessing your webcam or microphone with Mac Lion OS X. The company I work for uses Flash heavily -- especially webcams and microphones -- so this was an important workaround for us. For the full article, including screen shots navigate over here.https://blog.imeet.com/how-to-enable-your-webcam-and-microphone-on-mac-lion-os-x/
    When you try to connect to your webcam or softphone, you’ll notice that  you’re presented with the Adobe Privacy settings dialog if you're running Lion. However, it  will not allow you to navigate away from that dialog once it’s opened, and it freezes the whole page.  The selectors are disabled for the whole box. You’ll have to refresh the  page to exit that dialog.
    1. If you’re stuck on the Adobe Flash Privacy dialog, refresh your page.
    2. Right-click (or Control + Click) anywhere in the Flash window and select “Global Settings…” (Note: You can also access your global Flash settings by navigating to System Preferences -> Flash Player)
    3. Once you’ve opened the Flash Player Settings dialog, select the Camera and Microphone Settings by Site option.
    4. You’re then presented with the Camera and Microphone Settings by Site dialog.
    5. In order to add the site that you want to access your webcam or microphone on, click the plus icon [+]. Type the URL into the Website Domain field. Select Allow from the dropdown. Click Add.
    6. Now, your site will appear in your list as an allowed Flash site. Hit Close.
    7. Refresh the page and access your webcam and softphone as you normally would from the Flash Settings dialog. They will function as usual. And you’re all done.

    Some clarification, perhaps.
    Kappy referred to iLife applications. The iLife suite of applications includes:
              iMovie
              iPhoto
              iWeb
              iDVD
              Garageband
    So, if your supplemental disc has those apps on it, then it is probably the iLife collection.

  • Cannot get to old site designed on iWeb '08 via iWeb '09

    Hi there.
    I recently upgraded to Leopard and iWeb '09. I had previously designed some webpages using iWeb '08 (or possibly '07) which have been dormant for a while and I now want to take offline and revise. The pages were hosted at web.mac.com/leighthompson.
    When I first opened iWeb '09, my initial site didn't appear at all. I went ahead and designed a new site for a different purpose, thinking that my old one would be intact. It now seems not to exist as navigating to web.mac.com/leighthompson takes me to the new site (which is currently password protected).
    Have I wiped my old site out by making my new one and hosting it on my .Mac account?
    With love and much respect.
    Leigh

    Did you give your new site built in iWeb 09 a different name from the original one that you built in 08? If so, then your old site will still be there. Just go to http://web.me.com/username/sitename and if your site has a different name, then yes, you can still get to it.
    If however you created a new site and gave it the same name as your previous site, then it will be gone - your have overwritten it with 09 by publishing. So when you go to web.me.com/username your new site comes up.
    If you want more than one site in iWeb, remember to give them all different names and then you can still get to them by web.me.com/username/sitename.
    As Old Toad has said - you need to find your old 08 domain file to be able to get your old site back. Find this at User/Library/Application Support/iWeb/domain.sites. If you don't have this, then you need to re-build.

  • Site created on iWeb '08, but now only appears online, NOT in iWeb

    I created a site on iWeb 08 and published it to web.me.com and to a folder (just in case!)
    The site's currently viewable online, BUT now it's not in iWeb as one of my sites, so I can't make changes.
    Anyone know if I can drag the site back into iWeb?

    omgirly wrote:
    Anyone know if I can drag the site back into iWeb?
    Welcome to the discussions. No, you can't drag the published site back into iWeb — only iWeb's Domain file can be opened in iWeb. See this Apple doc on How to back up MobileMe data. It says:
    Any websites you have published with iWeb should still be available within iWeb. iWeb stores everything in a Domain file, normally located in the ~/Library/Application Support/iWeb folder (although it can be moved). If you no longer have this file, you can view your currently published pages and manually recreate them within iWeb, but there is no way to import published pages back into iWeb. You can manually back up the Domain file, or use Backup to back it up.
    See also these Apple docs:
    _iWeb ’08: Backing up your Domain file_
    Recovering items using Time Machine and Spotlight
    But Spotlight does not look in all areas of the hard drive. Download and run Find File to search for ".sites2".
    Paragraph 2.3 of this FAQ page gives some tips on how to use published files, graphics, photos, etc., to help rebuild the site from scratch:
    http://iwebfaq.org/site/iWebBackupretrieve.html

  • Retrieving uploaded web site to new iWeb 08

    I recently did a clean install of my iBook G4 (for various reasons). I now have Leopard on both eMac and iBook. Before I did this I backed (using Backup) up my iLife 06 folder to .Mac. I have reinstalled iLife 06 and on my iBook and recently purchased iLife 08 for my eMac.
    But, how do I get my web site back for editing? I've tried several ways on both computers with no luck. I want to redo the site anyway but would like to be able to use parts of the old site in the new site. The old site is still posted and working fine at .Mac.

    Welcome to the Apple Discussions. The file you needed to backup was the domain.sites2 file that resides in your User/Library/Application Support/iWeb folder. If you don't have a copy of that file you'll need to reconstruct your site from scratch. iWeb cannot read or import html files, only create them.
    This site has some tips in 2.3 on how you can use some of the file in the published site to rebuild the site: http://iwebfaq.org/site/iWebBackupretrieve.html
    OT

  • On announcing my site (1st time), iWeb encounters an error

    On trying to announce my site (1st time), iWeb encounters an error while trying to locate my default email program.
    Can anyone explain, please? Any advice very gratefully accepted.
    annfromvic

    Did you enter the email address in the publishing settings page? See this page for how to get there...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html

  • Default site settings in iWeb

    How do I change the name of the site I originally set up in iWeb? Everytime I update a page it has the wrong address programmed into it and I must manually enter the correct address. Is it in the "Domain" file?

    How do I change the name of the site I originally set up in iWeb?
    You just double click on the site name in the organizer at the left hand side of the iWeb page and change it to what you want. Or use the inspector. All this is in the Help -- search for "site name".

  • Creating site in my iweb to upload (?) to client's URL

    I'm a newbie creating a site in iWeb for a client. I'd like to know how to put that site on the web using my client's URL instead of my own.

    Now that I'm more comfortable with what I'm attempting to communicate, let me start over...
    I am a newbie at creating a site for a client in iWeb, but I need to keep it separate from my other iWeb stuff so I can upload it to different URL (?).
    You helped find the solution to uploading a site from a folder using Cyberduck, but I think there's another part to the equation I haven't solved: I read a post by Old Toad concerning multiple sites and he mentioned iWebSites. Would this be something I would use?

  • Safari 3.0.4 in Leopard not accepting cookies for sites I navigate to.

    I'm currently using Safari 3.0.4 on Mac OS 10.5.1. And since upgrading to Leopard, I have the following problem:
    Safari will no longer accept a required cookie when I try to login to a site that I visit regularly. This behavior was not present with the same version of Safari running in 10.4.x.
    Currently, Safari (on 10.5) is set to accept cookies for "sites you navigate to". And as far as I can tell, during the login process, I never leave the domain to which I navigated. When changing the cookie setting to accept All Cookies, the login cookie is accepted as you might expect. And logging in with Firefox 2.x and an equivalent cookie setting, the site works fine.
    Strangely, this cookie-blocking behavior is not present in Safari 3.0.4 running on another system which has OS 10.4.x.
    Did something change in Leopard, which might cause this behavior?
    This is the site I'm trying to login to, as a paid subscriber:
    http://www.architectureweek.com/
    Thanks for any advice or insight!

    This exactly describes a problem effecting users on our site - on our test 10.4 machine with Safari 3.04 and blocking third party cookies there's no problem, but on a 10.5 box users have to accept all cookies to login.
    Given the time our users started reporting this we think it's related to the security patch of 11th Feb:
    http://docs.info.apple.com/article.html?artnum=307430
    With particular reference to this paragraph:
    Description: A memory corruption issue exists in Safari's handling of URLs. By enticing a user to access a maliciously crafted URL, an attacker may cause an unexpected application termination or arbitrary code execution. This update addresses the issue by performing additional validation of URLs. This issue does not affect systems prior to Mac OS X v10.5.
    but that's just an educated guess at the moment - we think our cookies are being blocked as part of this beefed up "validation" - whatever that is.
    If anyone else has a similar experience or can offer any further suggestions I'd be very interested to hear from them.

  • Two Sites Published With iWeb...Viewers Get Error Message With Second Site

    I have used iWeb to create two web sites. I believe I have done so properly, using File>New Site to begin creating the second site. After publishing, I can visit both sites from within iWeb.
    Curiously, the message panel that displays after successful publishing indicates the same URL for both web sites. Obviously, that's wrong. That address will open the first site properly (after automatically adding additional characters to the URL during opening), but is incorrect for the second site. As an alternative, I have visited both sites from within iWeb, and copied the URL from the browser window as the "proper" address.
    When I use the copied URL's in my own browser, I can navigate to each of the websites properly. However, when I give those URL's to someone else, they get an error message that the second site cannot be found using the URL for the second site that I obtained using the "copying" technique described. That's the case even though both URL's work properly from my computer and browser.
    Any suggestions as to what might be wrong?
    Desktop G4   Mac OS X (10.4.4)  

    Fred:
    Mount your iDisk and go to the iDisk/Web/Sites folder and delete your friend's site folder that's there. The example below shows many site folders in the Sites folder.
    Click to view full size
    OT

  • Workaround for IE active content problem?

    Adobe
    posted
    a workaround for existing web pages to respond to the change in
    IE that requires users to manually activate Flash content. I tried
    doing the same document.write in an external file for the HTML
    files FlashHelp generates wherever I found the <object> and
    <embed> tags, but I get a script error ("Object expected") in
    the lines where I call the function. (The solution worked for me in
    simple HTML pages with Captivate movies, so I know it can work.)
    The only reason I can think of that it won't work is that the
    scripts are concatenating strings, not just showing a movie where
    the <object> and <embed> tags are. Has anyone found a
    workaround for FlashHelp so users don't have to manually activate
    the top and left panes? I put in a "wish" for Adobe to provide a
    solution on the site and later in an update or new version of
    RoboHelp (which is another issue in and of itself), but who knows
    when the developers will be able to come up with it. Thanks!

    Thanks for asking, Mimi. Here are more specific steps:
    1. Open Notepad or another program for creating text files.
    2. Create two functions. For example:
    function insertMaster1() {
    function insertMaster2() {
    You can call your functions anything you want, but the names
    must be different. Note that for the moment, they're empty, but
    we'll change that in a minute.
    3. Save the Notepad file with a JS file extension (for
    example, runactive.js). In Notepad, specify “All Files”
    for “Save as type” so that it doesn’t save as a
    TXT.
    4. When you generate your FlashHelp system, it creates a
    bunch of HTM files containing JavaScript in the destination folder
    you specified when generating your output. Locate wf_master.htm and
    wf_navpane.htm in the output folder. (If you leave RoboHelp to use
    its defaults, it puts your help system in an !SSL!/FlashHelp
    directory within your project folder.)
    5. Open wf_master.htm.
    6. In the <head> tags, insert a line that references
    your JS file:
    <script language=“JavaScript”
    src=“runactive.js”></script>
    7. Find the lines in the code that look like this:
    // Insert the “Master” SWF
    8. Highlight everything AFTER this commented-out block until
    the </script> tag. The last thing you highlight should be
    "document.write(strObject);".
    9. Cut the highlighted code and paste it into the first
    function in your JS file so it looks like this:
    function insertMaster1() {
    // Build up the variable string we will be sending
    strFlashVars = "uniqueHelpID=" + parent.UniqueID();
    ……(more code)
    document.write(strObject);
    10. In the place where you just cut all that code out of
    wf_master.htm, insert a call to the function:
    insertMaster1();
    That’s all you need because all that code you just
    moved was already in <script> tags in the HTM file. The
    </script> tag should come immediately after this function
    call.
    11. Open wf_navpane.htm.
    12. Repeat steps 6 – 10 for wf_navpane.htm. The code
    we’re concerned with in this file looks almost exactly like
    that in wf_master.htm, but there are a few lines less this time.
    Put the code you take out of wf_navpane.htm into the second
    function in your JS file. Where you cut out the code from
    wf_navpane.htm, put a call to the second function (it should come
    right before the end of the <script> tags):
    insertMaster2();
    13. Save your JS file and the two HTM files.
    14. Whenever you re-generate your output, RoboHelp is going
    to erase your new versions of these HTM files and create its own
    again. Copy your new versions of wf_master.htm and wf_navpane.htm
    to another location (can be a folder within your output folder).
    Now you have them so you can paste them back over RoboHelp’s
    versions each time you finish generating your output. For example,
    I would stow my wf_master.htm and wf_navpane.htm in a folder called
    "drop files." Then, after I get done generating my output, I copy
    those files and paste them in the output folder, letting them save
    over the ones that RoboHelp created.
    15. To test it once you've finished the swap, find the HTM
    file in your output folder that is named after your project. For
    example, if my project is called flying_monkey, I would find
    flying_monkey.htm. Open this HTM file in Internet Explorer, and you
    shouldn’t have any messages telling you that you have to
    press Enter or Spacebar or click on the panes to activate them.
    This runs from the same basic idea as Adobe’s
    workarounds for Flash—we’re going to a file external to
    the HTM files for the active content tags. Hope you find this
    useful! Let me know if you run into any problems.
    --Ben

  • Can I manage sites created by iWeb from a browser like I could w/Homepage?

    If I remember correctly, one could manage the sites published to Homepage from any browser. Can I still do that with sites published by iWeb?
    I publish a lot of photo pages and sometimes I need to make changes to them from work where I use a linux box. I miss that part of Homepage...
    Thank you for any help
    Bo

    RIP Homepage!
    I think I will go to pBase for photo publishing from now on. It's the only other option for a clean uncluttered look for photo hosting. I sure will miss the easy workflow between iPhoto and iWeb though...
    Thanks James.

Maybe you are looking for

  • Issue in navigation between pages

    Hi, I am working on developing the checkout flow of an e-commerce site. The first page (say page A)is the checkout collects the required user input. If the input is valid the user is taken to the confirmation page(say page B). Both these pages share

  • Workflow tables for query

    Hi everybody, we've implemented the workflow for payment release (WS90000021), but we need some reports in order to audit the process, like: Status of documents (workitems) and who have them in their business workplace. Does someone knows wich workfl

  • Changing the text subpicture highlight color?

    I am using the 'Create Text Subpicture' feature to highlight the text buttons on my menus. I get a yellow highlight when I do that, and it works fine, but is there a way to change that highlight color? Thanks bobby

  • Ringtones, how to buy them in the new itunes

    where do you buy ringtones on the new itunes?

  • Dynamic Creation of input fields

    Dear Guys, I have a node name 'NodeA' with 10 attributes(a,b,c,d..j) in it. When the add button is clicked , I want to display 10 inputfield for the 10 attributes of 'NODEA' to be dynamically created and displayed. so what coding should be written in