Avatar of Larry Gray
Larry Gray
 asked on

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:
Web DevelopmentAdobe DreamweaverWeb Languages and Standards* dreamweaver templates

Avatar of undefined
Last Comment
Larry Gray

8/22/2022 - Mon
James Rodgers

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Glenn Abelson

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.
Larry Gray


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.
Larry Gray

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!!!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
James Rodgers

remove one of the <!-- InstanceEnd --> tags
Larry Gray

I removed the tag and got the same message.  I'd actually added one of them trying to troubleshoot the code.
James Rodgers

you have 46 instance of InstanceBeginRepeatEntry
you have 45 instances of InstanceEndRepeatEntry

one of the begins is not closed
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
James Rodgers

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
Larry Gray

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.