Unexpected End of File

When I'm saving my Dreamweaver I can't update my current template across all pages in the site due to this confusing error messages that appear every time I try to save the template file:

There is an error unexpected end of file.

Attached is the code for the file(s) - can anyone help? I've been looking at this for days, trying out different things to no avail:
tsheets-evolved.html
index.html
press-release.html
Larry GrayMultimedia SpecialistAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

James RodgersWeb Applications DeveloperCommented:
the code is terribly formatted, did you use the visual editor or text editor?

example
 you have this at the end of the file, after the closing html tag
</ul></div></div></div></div></div>

there comments that are not properly closed
<!-- may appear multiple times but there is only 1 --> in the block

you have single line tags that are not closed
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
then you have
<meta name="description" content="The efficiencies of T Sheets® with the power of T-System’s electronic physician documentation (EV™)
" />
which has a closing slash, and for some reason has a new line in the in it, the new line in the middle of a tag appears a lot

these in and of themselves are not show stoppers, but consistency is key and when the code is laid out so badly, debugging is a problem and tracing it is horrendous

i tried working my way through it to reformat , but gave up as it was not worth it
example
<li>
            <div class="fade"> <a href="http://www.youtube.com/tsysteminc"
                                target="_blank"><img alt="YouTube" height="20"
                                src=
                                "../../Images/template/48x48-Circle-red-YT.png"
                                width="20"></a>
                  <div> <a href="http://www.youtube.com/tsysteminc"
                                    target="_blank"><img alt="YouTube" height=
                                    "20" src=
                                    "../../Images/template/48x48-Circle-grey-YT.png"
                                    width="20"></a> </div>
                </div>
            <a href="http://www.youtube.com/tsysteminc"
                            target="_blank">
                <div class="socialName"> YouTube </div>
                </a> </li>

Open in new window


clean up the code, might just solve the issue and if not post the cleaned code
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
glenn_1984Commented:
James' answer  is probably correct.
  Clean up the most recently changed files,  and try to update.

If it does not work, you may have to fix and update one file at a time.
0
Larry GrayMultimedia SpecialistAuthor Commented:
Thanks,

I'm new to the organization and I'm trying to correct a lot of my predecessors mistakes.  I inherited this and would love to redesign the site, but in the meantime i'm gone have to work with what I have.  I'll clean up the code and repost.
0
Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

Larry GrayMultimedia SpecialistAuthor Commented:
I made corrections to the files and got two of the templates to function properly.  However, I'm having a tough time getting my index page to work.  Below is the latest error message:  

There is an error at line 1325, column 21 (absolute position 101274) of file InstanceBeginRepeatEntry tag at line 1325 not closed when InstanceEnd was reached.

I've scoured my file and made some changes and still nothing, hopefully someone can help me or give me some insight on this matter.  I'd appreciate it.  if you have any questions or comments by all means....Help!!!
help-me.txt
0
James RodgersWeb Applications DeveloperCommented:
remove one of the <!-- InstanceEnd --> tags
0
Larry GrayMultimedia SpecialistAuthor Commented:
I removed the tag and got the same message.  I'd actually added one of them trying to troubleshoot the code.
0
James RodgersWeb Applications DeveloperCommented:
you have 46 instance of InstanceBeginRepeatEntry
you have 45 instances of InstanceEndRepeatEntry

one of the begins is not closed
1
James RodgersWeb Applications DeveloperCommented:
I would seem that my last statement, https://www.experts-exchange.com/questions/29010660/Unexpected-End-of-File.html#a42063757, helped as Larry endorsed it, this question was very specific and will probably be irrelevant to another asker, but a solution was provided and pending feedback form Larry, should be accepted
0
Larry GrayMultimedia SpecialistAuthor Commented:
I had to go through the code myself and clean it up.  I'm assuming it was created with a template as the code has many more errors throughout it.  Nonethtless, I cleaned it and fixed one file at a time.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.