I am having trouble publishing templates in Kompozer

Discussion in 'HTML & Website Design' started by drparlayy, Mar 11, 2009.

  1. #1
    Hello all, When I import a template into Kompozer and publish it, only the text publishes, without the template design. Tried everything I know, anybody out there have any advice? Thanks!
     
    drparlayy, Mar 11, 2009 IP
  2. drparlayy

    drparlayy Peon

    Messages:
    50
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Really? no responses at all? is there no one out there that even knows about Kompozer?
     
    drparlayy, Mar 13, 2009 IP
  3. bob25

    bob25 Well-Known Member

    Messages:
    1,519
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Kompozer's FTP is buggy at best, if only the text is displaying my guess is the images haven't uploaded. I use Filezilla (free FTP program just Google it) to upload files. Or if you don't have a lot of files you could try a browser upload from your cpanel.

    With Kompozer and Filezilla just create your website in a new folder and upload the entire contents of the folder (not the folder itself) "as is" to the correct folder on your webserver.

    Just connect using ftp.yourdomain.com as the address and leave the "Port" blank and it should auto-detect. And just navigate to the correct folders on your computer (left screen) and webserver, then drag and drop the files from your computer to your webserver.
     
    bob25, Mar 13, 2009 IP
  4. innovati

    innovati Peon

    Messages:
    948
    Likes Received:
    63
    Best Answers:
    1
    Trophy Points:
    0
    #4
    alrighty, for this I'm going to assume you're a windows user.

    The web is based on unix, so lets go over a few basics.

    On the web, files are case-sensitive. That means that 't' and 'T' are different letters. While windows isn't case-sensitive, and it will load the right files when you see it on your desktop (which it shouldn't), the moment you upload it to a server it's not going to load unless it points DIRECTLY to the file.

    example: today, I was working on a website and my images weren't loading, I looked at my images folder and it was called 'Images' and the img links were all pointing to a folder called 'images'. They are two totally different folders as far as the computer knows.


    Next, what direction are your slashes? Unix file systems use '/' as a delimiter between folders. So does literally every other operating system out there, they all do this the exact same way. Except for one. You guessed it: windows. I guess Microsoft wanted to make their system the absolute worst they could (I have to applaud them for achieving their goal so it seems) so they used '\' instead of '/' as the delimiter.

    Now, in unix, placing a '\' means 'hey computer, please skip the next character'. Check your links and make sure they've got the right slashes in there.

    Lastly, make sure there are no spaces or illegal characters in your filenames. Yes, you can write them on the computer, but rember what we said about your computer? It's a whore compared to the prudish web server - anything (and everything) goes. You need to find those standards, and write your files to be compliant with them.

    Alternatively, if all of this checks out and it's done correctly, it might be one of two things: Browser cache, or a bad FTP.

    Make sure to press shift-f5 when you refresh your page, so force a reload. Sometimes (especially toy browsers like Internet Explorer) prefer the copy they're already downloaded to browsing the site again, because Microsoft's programmers are apparently fnod of drinking paint-thinner. You need to either manually clear your cache, or force a reload (or try it on a friends computer)

    If all of the above still doesn't work, the reason why they aren't showing must be that they're not on the server, or at least not fully. I have used Kompozer before, but not the FTP function in it. I'd use Cyberduck on a mac, gFTP on linux, and Filezilla on windos to do my FTP uploads. All of those are free, so knock yourself out buddy!

    Best of luck to you, I hope you get it sorted soon - and don't kick yourself if it's just a tiny dumb mistake, we all make those errors all the time, even when it's our job every day. You'll get this figured out in no time :)
     
    innovati, Mar 13, 2009 IP