Skip to main content
Participant
March 18, 2021
Question

using template, getting unexpected end-of-file, it also generates many >>>>>>

  • March 18, 2021
  • 2 replies
  • 528 views

below is the code it refers to...

 

 

I do not put in the extra >>>>> after the /html> 

just lost.....please help Peggy

 

 

 

 

 

    This topic has been closed for replies.

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    March 18, 2021

    @PeggyInWonderland,

    What you describe sounds like a corrupted Template.  And it's not too surprising given that DW Templates were never intended for 100+ page static websites.   Ideally, Templates are for small sites, approx 20-50 pages.

     

    Beyond 50 pages, you need a dynamic solution where the heavy lifting is handled by your server.  If you can't code manually, you might consider using an online site builder like WordPress which is built with PHP and MySQL data instead of static HTML.  Because WP is all database driven, users can easily search for content on your site.  At an rate, it's something to consider.

     

    Nancy O'Shea— Product User & Community Expert
    Participant
    March 18, 2021

    I like to code manually&  using Dreamweaver for shortcuts.., and doing quite well, thru Grid & Flexbox etc......so hate to give up on it..l wish I knew it was limited this way...glad you told me....

    But, starting over in WordPress..uh... One more hill to climb... But,  I will peek at it....thanks for the clue... a lot!  I see so many WordPress mentions ... might be a good direction .... thanks so much for fast reply...Peggy

    Nancy OShea
    Community Expert
    Community Expert
    March 18, 2021

    Dreamweaver is not limited but the proprietary Templates are.  If you like to code, build your own dynamic site.  You'll never go back to plain old static sites again.  Start with something simple like Server-Side Includes.

     

    When you're ready for more, there are commercial DW extensions to help you.

    WebAssist  -

    DMX Zone - 

     

    Nancy O'Shea— Product User & Community Expert
    Community Expert
    March 18, 2021

    How are you updating the file? In DW? On the server?  It seems like somewhere in your process the file is becoming corrupted leading to that error.

    Participant
    March 18, 2021

    I open the index.html,

    change the # marks (see below) to new file names like drywall.html

     

    I use the template to manage a huge NavBar….8 across, 10 down…like 100 pages.

     

    File =>Save as Template. (in this case I save it as aquamarine_template.

     

    I say YES to updating links.

     

     

    Make a new file, using this template, it is called untitled.html

    I save it as drywall.html

     

    I save the aquamarine_template.dwt.

    see the log below...

    So half my files get updated,

    Half (navbar item 6) do not get updated due to:

    not updated, error in template or instance file

     

     

     

     

     

     

    Updating Macintosh HD:Users:peggyobrien:Desktop:Unnamed Site 2:

    6_subs:06_electric:electric.html -- not updated, error in template or instance file

    6_subs:11_siding:siding.html -- not updated, error in template or instance fileupdated 1_design_the_dream:03_flex_house:flex_house.html

    updated 4_prepare4building:01_as_built:as_built.html

    updated 4_prepare4building:02_land_survey:land_survey.html

    updated 4_prepare4building:03_zoning_flood_setbacks:zoning_flood_setbacks.html

    updated 6_subs:01_before_demo:realB4demo.html

    updated 6_subs:03_foundation_cement:foundation_cement_old.html

    updated 7_rooms_places:01_sunroom:sunroom.html

    updated 7_rooms_places:02_foyer:foyer.html

    updated 7_rooms_places:03_laundry_room:laundry_room.html

    updated 7_rooms_places:05_living_room:living_room.html

    updated 7_rooms_places:06_bedroom:bedroom.html

    updated 7_rooms_places:09_stairs:stairs.html

    updated 7_rooms_places:10_driveway:driveway.html

    updated 7_rooms_places:11_garage:garage.html

    updated 7_rooms_places:12_trash_cans:trash_cans.html

    updated 7_rooms_places:14_dormers:dormers.html

    updated 7_rooms_places:15_halls:halls.html

    updated 7_rooms_places:16_kitchen:kitchen.html

    updated 7_rooms_places:17_hidden_places:hidden_places.html

    updated 7_rooms_places:19_storage_room:storage_room.html

    Done.

      files examined: 56

      files updated: 26

      files which could not be updated: 0

    total time: (0:01:37)

    dated 1_design_the_dream:02_design_by_copying:design_by_copy.html

     

    6_subs:13_drywall:drywall.html -- not updated, error in template or instance file

    6_subs:15_doors:doors.html -- not updated, error in template or instance file

    6_subs:16_floors:floors.html -- not updated, error in template or instance file

    6_subs:17_tile:tile.html -- not updated, error in template or instance file

    6_subs:18_shower_glass:shower_glass.html -- not updated, error in template or instance file

    6_subs:20_painting_exterior:exterior_painting.html -- not updated, error in template or instance file

    6_subs:09_windows:windows.html -- not updated, error in template or instance file

    7_rooms_places:04_bathroom:bathroom.html -- not updated, error in template or instance file

    6_subs:12_insulation_sound_proofing:insulation_sound.html -- not updated, error in template or instance file

    6_subs:03_foundation_cement:foundation_cement.html -- not updated, error in template or instance file

    5_3b:1_blueprints:blueprints.html -- not updated, error in template or instance file

    5_3b:2_bids:bids.html -- not updated, error in template or instance file

    6_subs:07_Plumbing_gas:plumbing_gas.html -- not updated, error in template or instance file

    6_subs:21_gutters:gutters.html -- not updated, error in template or instance file

    6_subs:01_before_demo:before_demo.html -- not updated, error in template or instance file

    6_subs:22_decks:decks.html -- not updated, error in template or instance file

    6_subs:23_landscaping:landscaping.html -- not updated, error in template or instance file

    6_subs:12_insulation_sound_proofing:insulation.html -- not updated, error in template or instance file

    6_subs:14_trim_windows_doors:trim_crownmolding.html -- not updated, error in template or instance file

    6_subs:24_punch_list:punchlist.html -- not updated, error in template or instance file

    6_subs:08_hvac:hvac.html -- not updated, error in template or instance file

    6_subs:02_demo:demo.html -- not updated, error in template or instance file

    6_subs:19_painting_interior:interior_painting.html -- not updated, error in template or instance file

    6_subs:05_framing:framing.html -- not updated, error in template or instance file

    6_subs:10_roofer:roofer.html -- not updated, error in template or instance file

    5_3b:3_banks:banks-2:banks.html -- not updated, error in template or instance file

    6_subs:06_electric:electric-better.html -- not updated, error in template or instance file

    6_subs:04_elevator:elevator.html -- not updated, error in template or instance file

    updated 1_design_the_dream:third-place.html

    updated 1_design_the_dream:01_design_memories:a_design_memories.html

    updated 1_design_the_dream:01_design_memories:2.DESIGNING-FROM-MEMORIES:real_design_memories_folder:design_memories.html

    updated 1_design_the_dream:01_design_memories:2.DESIGNING-FROM-MEMORIES:real_design_memories_folder:design_memories2.html

    updated 1_design_the_dream:02_design_by_copying:real_design_copy_folder:design_copy.html

     

     

    I do a WINDOW => RESULTS=> VALIDATION , and do not come up with errors...

     the clue is the >>>> generated for some reason. near the end of the /html.  closing ?

     

    thanks for considering this... Peggy

    Participant
    March 18, 2021

    back to your question, I update on my local map...

    I am still creating the website on my mac, not out in the wild.

    Peg