1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

General Upload to site question

Discussion in 'General' started by pusscat, Oct 22, 2009.

  1. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Let's try this again -
    This is your error from The W3C Markup Validation Service
    Change it back to the UNIVERSAL charset=windows-1252
     
  2. pusscat

    pusscat New Member

    ok got that bit sorted, am bit puzzled as to how it changed as I know that I didnt change it as I copy and pasted,

    its just the errors that have to go through now alot are on the target blank for some reason.

    or the links tags so will have to go through them all and figure it out.

    Thanks Ishkey is appreciated.

    Angie
     
  3. pusscat

    pusscat New Member

    The validator by the look of it isnt liking the Target blank, but not sure what else to use?
     
  4. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Neither Notepad or online editors can add comments or change code without human intervention, so something is amiss.
    Here is what is there now.
    Code:
    [COLOR=#0000ff]<![/COLOR][COLOR=#800000]DOCTYPE[/COLOR][COLOR=#ff0000]html[/COLOR][COLOR=#ff0000]PUBLIC[/COLOR][COLOR=#0000ff] "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/COLOR]
     [COLOR=#0000ff]<[/COLOR][COLOR=#800000]html[/COLOR][COLOR=#ff0000]lang[/COLOR][COLOR=#0000ff]="en" [/COLOR][COLOR=#ff0000]xmlns[/COLOR][COLOR=#0000ff]="http://www.w3.org/1999/xhtml" [/COLOR][COLOR=#ff0000]xml[/COLOR][COLOR=#0000ff]:[/COLOR][COLOR=#ff0000]lang[/COLOR][COLOR=#0000ff]="en">[/COLOR]
     [COLOR=#0000ff]<[/COLOR][COLOR=#800000]head[/COLOR][COLOR=#0000ff]>[/COLOR]
     [COLOR=#0000ff]<[/COLOR][COLOR=#800000]title[/COLOR][COLOR=#0000ff]>[/COLOR]TUTZ 2 TAGZ - Art Work, Paintshop Pro Tutorials[COLOR=#0000ff]</[/COLOR][COLOR=#800000]title[/COLOR][COLOR=#0000ff]>[/COLOR]
     [COLOR=#0000ff]<[/COLOR][COLOR=#800000]meta[/COLOR][COLOR=#ff0000]http-equiv[/COLOR][COLOR=#0000ff]="Content-Type" [/COLOR][COLOR=#ff0000]content[/COLOR][COLOR=#0000ff]="text/html; charset=ansi_x3.110-1983" />[/COLOR][COLOR=#008000]<!-- was[/COLOR]
     [COLOR=#008000]<meta http-equiv="Content-Type" content="text/html; charset=ansi_x3.110-1983" />-->[/COLOR]
     
    Your page doesn't even get to the that point when tring to validate it.

    You have the same error - there is nothing wrong with "target blank" it is valid code, it's fine, it works, so put that out of your mind.
    The problem is in the "charset"
    There is no such charset=ansi_x3.110-1983" for web documents.
    There is for Camel email program, which is a broken software.

    You also have this same problem -
    Look at this part = the space is missing.
    Your code: and what it should be:

    DOCTYPEhtmlPUBLIC - DOCTYPE htmlPUBLIC
    htmllang - html lang
    metahttp-equiv - meta http-equiv

    Try editing the file on your pc and FTP to upload it and then look at your code that is online.
    Are you uploading the right file or do you have one on line which is the old and one which is the new that you are editing, if so delete them both and upload the one that works from your pc.
    Heck just delete the online file and load up a fresh one that works.

    Here are your other pages - ask yourself why aren't they affected?
    Gallery and Forum
    Code:
    [COLOR=#0000ff]<![/COLOR][COLOR=#800000]DOCTYPE[/COLOR][COLOR=#ff0000]html[/COLOR][COLOR=#ff0000]PUBLIC[/COLOR][COLOR=#0000ff] "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/COLOR]
     [COLOR=#0000ff]<[/COLOR][COLOR=#800000]html[/COLOR][COLOR=#ff0000]xmlns[/COLOR][COLOR=#0000ff]="http://www.w3.org/1999/xhtml" [/COLOR][COLOR=#ff0000]xml[/COLOR][COLOR=#0000ff]:[/COLOR][COLOR=#ff0000]lang[/COLOR][COLOR=#0000ff]="en" [/COLOR][COLOR=#ff0000]lang[/COLOR][COLOR=#0000ff]="en" [/COLOR][COLOR=#ff0000]dir[/COLOR][COLOR=#0000ff]="ltr">[/COLOR]
     [COLOR=#0000ff]<[/COLOR][COLOR=#800000]head[/COLOR][COLOR=#0000ff]>[/COLOR]
     [COLOR=#0000ff]<[/COLOR][COLOR=#800000]meta[/COLOR][COLOR=#ff0000]http-equiv[/COLOR][COLOR=#0000ff]="Content-Type" [/COLOR][COLOR=#ff0000]content[/COLOR][COLOR=#0000ff]="text/html; charset=utf-8" />[/COLOR]
     [COLOR=#0000ff]<[/COLOR][COLOR=#800000]meta[/COLOR][COLOR=#ff0000]http-equiv[/COLOR][COLOR=#0000ff]="Pragma" [/COLOR][COLOR=#ff0000]content[/COLOR][COLOR=#0000ff]="no-cache" />[/COLOR]
     [COLOR=#0000ff]<[/COLOR][COLOR=#800000]title[/COLOR][COLOR=#0000ff]>[/COLOR]Coppermine Photo Gallery - Home[COLOR=#0000ff]</[/COLOR][COLOR=#800000]title[/COLOR][COLOR=#0000ff]>[/COLOR]
    
    Tutorials and Tubes
    Code:
    [COLOR=#0000ff]<[/COLOR][COLOR=#800000]title[/COLOR][COLOR=#0000ff]>[/COLOR]TUTZ 2 TAGZ - Art Work, Paintshop Pro Tutorials[COLOR=#0000ff]</[/COLOR][COLOR=#800000]title[/COLOR][COLOR=#0000ff]>[/COLOR]
    [COLOR=#0000ff]<[/COLOR][COLOR=#800000]meta[/COLOR][COLOR=#ff0000]http-equiv[/COLOR][COLOR=#0000ff]="Content-Type" [/COLOR][COLOR=#ff0000]content[/COLOR][COLOR=#0000ff]="text/html; charset=windows-1252" />[/COLOR][COLOR=#008000]<!-- was[/COLOR]
    [COLOR=#008000]<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />[/COLOR]
    [COLOR=#008000]-->[/COLOR]
    
     
  5. pusscat

    pusscat New Member

    Thats why am confused Ishkey I know any editor wont change it themselves, but I also know I didn't change them either I copied and pasted, but the main thing is to get it put right and also that you know that all your help is really appreciated.

    I do upload a complete new file with the changes in it after taking out the original one. Hate having to many bits in my cpanel and root folder gets to cluttered if to much there.

    Its wierd how some pages are validating fine not many but some arent as havent done anything different on any as such, hence why I am confused with it.

    charset=ansi_x3.110-1983 <-- I changed that on all pages to the one that you said to change it to yet its now showing as that.
    Hence why am so confused.

    Also the spacing is there in both notepad, notepad+ and in my online editor in my cpanel

    Will get my files up and go through them again and see where I go from there.

    Thanks

    Angie
     
  6. pusscat

    pusscat New Member

    ok here is my code have changed it, but spaces are there already I didnt put any in on this edit.

    hopefully this is right (last one had charset changed, but is showing to you the wrong charset in the doctype and to me even though I put it right) thats what is confusing me, as I know I didnt change it.
     

    Attached Files:

  7. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

  8. pusscat

    pusscat New Member

    Thanks Ishkey, have got notepad++ and think we posted near enough the same time, as have attatched a notepad file in the post just above your last post.

    Something is changing the charset if its not me then its got to be something when uploading to my site. If thats the case then will have to figure it out, as have used both ftp and the sites own uploader now and both with the same wrong results.

    Thanks

    Angie
     
  9. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    maybe you should save the file as a html and not a txt file
    this could be the problem if you uploaded a text file, then the old file on the server has never changed.
     

    Attached Files:

  10. pusscat

    pusscat New Member

    I do save as .html file and upload that to site ishkey this one is just to show you the code before I upload the html file to site if that makes sense.

    Will try again now with this one and see what happens, but if you read the code thats what is on the html file, so if it changes then something is definately up.
     
  11. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Ok now it's up there but not validating give me a couple of minutes to compare the files.
    All I did on that last zip file was rename the extension.
     
  12. pusscat

    pusscat New Member

    ok Ishkey thank you
     
  13. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Ok I have found the problem and it's in your code that you changed.
    Everywhere I put target="blank" you moved it, I don't know why?
    My code
    Code:
    [B][SIZE=2]<li><[COLOR=#800000][COLOR=#800000]a[/COLOR][/COLOR][/SIZE][/B][SIZE=2] href=[B]"[/B][U][COLOR=#0000f0][COLOR=#0000f0]http://www.tutorial-writers-inc.com/[/COLOR][/COLOR][/U][/SIZE][B]"[/B] target=[B]"blank">[/B]Tutorial Writters Inc[B]</[COLOR=#800000][COLOR=#800000]a[/COLOR][/COLOR][SIZE=1][SIZE=2]>[/SIZE][/SIZE][/B][SIZE=1][B][SIZE=2]</li>[/SIZE][/B]
    [/SIZE]
    Your code
    Code:
    [B][SIZE=2]<li><[COLOR=#800000][COLOR=#800000]a[/COLOR][/COLOR][/SIZE][/B][SIZE=2] target=[B]"blank"[/B] href=[B]"[/B][U][COLOR=#0000f0][COLOR=#0000f0]http://www.tutorial-writers-inc.com/[/COLOR][/COLOR][/U][/SIZE][B]">[/B]Tutorial Writters Inc[B]</[COLOR=#800000][COLOR=#800000]a[/COLOR][/COLOR][SIZE=1][SIZE=2]>[/SIZE][/SIZE][/B]
    
    It works like this You want a Link, What Link is it, How do you open it.
    Not - Open a Blank Page, Then go Get something to populate it.
    Sometimes in life there has to be a pecking order which must be followed and coding is one of those things. If you do not follow the rules it breaks.

    Problem Number 2 Directory naming. You have a directory named
    template-223 the hyphen is not allowed, it is a illegel character.
    You need to take it out, make it template223 or something. Then you will have to go through all of your pages making the change. I would use the search and replace function doing one at a time just to be sure.

    Here is the attached orig zip file.
    If you want to validate it from your pc just log on to The W3C Markup Validation Service click on Validate by File Upload.
     

    Attached Files:

  14. pusscat

    pusscat New Member

    Thanks Ishkey, now this is why am saying its strange, as yes its wrong on my site the way it is, but I copied and pasted it in from your file, thats why am confused I didnt move anything at all, something has messed it up, so will go and put it in as its most pages that needs it.

    The template-223 is how the template was named in the first place I havent changed that at all but will go through all my pages and change it.

    And go from there.

    Angie
     
  15. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    One of life's many mysteries. The code gremlin.
     
  16. pusscat

    pusscat New Member

    ok I figured out why the charset was changing, was a setting on my site, now know what to do with that.

    But am back to all the errors on the validation and its off the file you gave me so am stumped why am getting them but your not at the moment am ready to give up to be honest, but you have put so much time into this aswell dont feel that would be fair on you.

    Heres a link to the errors

    [Invalid] Markup Validation of http://www.tutz2tagz.com/ - W3C Markup Validator

    or do I take it through html tidy (easy option I know)

    Angie
     
  17. pusscat

    pusscat New Member

  18. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Tell me about this - Explain in detail

    Here is your new code
    Code:
    [COLOR=#0000ff]<[/COLOR][COLOR=#800000]meta[/COLOR][COLOR=#ff0000]http-equiv[/COLOR][COLOR=#0000ff]="Content-Type" [/COLOR][COLOR=#ff0000]content[/COLOR][COLOR=#0000ff]="text/html; charset=windows-31j" />[/COLOR]
    Did you validate the code I sent you from your pc as I explained?
     
  19. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Since the problem has been identified, when you try to validate and get an error just look at the part that reads ENCODING: YOU ARE LOOKING FOR charset=windows-1252"
     

    Attached Files:

    • look.jpg
      look.jpg
      File size:
      27.3 KB
      Views:
      415
  20. pusscat

    pusscat New Member

    Thanks Ishkey

    Its my site that is altering it, once I manually alter it, its fine, but if re-upload a page it changes it back again so wont validate. So am going to have to go through all pages and double check them.

    Then its the errors still but will sort that and fingers crossed am done be a big phewwwwwwwww from me and probably a bigger phewwwwwwwww from you once have got it sorted.

    Its years since have hand coded anything and its changed from then to now aswell.

    Sorry about the double post earlier, didnt see the moderation notice so re-did my post.

    How come the moderation??

    Angie