17 Replies Latest reply: Dec 11, 2014 12:24 AM by Ooshma RSS

    Rendering issues between DWCS3 & Linux

    Ooshma Community Member

      Recently I bought a new hosting package for my website that operates through Linux CentOS - everything looks as I created it on DreamWeaver CS3 via MacOSX10.6 Snow Leopard except the horizontal menu bar which came out as a vertical list with bullets - that aren't even consistant. Some had a space, others were a different font size &/or color.

       

      Initially the company I bought my hosting through said it was my coding but when I uploaded the exact same material on their new plan that was on the old plan finally I found a person who admitted that my files were rendering differently on the new Linux software.

       

      I cancelled the hosting but as look around all the new hosting packages use the same Linux system - so how do it get around this issue when I don't have the money to upgrade to a newer version of either OSX or DW?

       

      Thanks for your support

        • 1. Re: Rendering issues between DWCS3 & Linux
          Ken Binney CommunityMVP

          Check to be sure you have uploaded the CSS for your menu.

          May we have a link to your site so we can check for you.

          • 2. Re: Rendering issues between DWCS3 & Linux
            Rob Hecker2 CommunityMVP

            As Ken suggests, this is a CSS issue. It may only have something to do with the webhost change if the paths to files changed somehow.

             

            If PHP is involved in building up the menu, a version difference could cause problems, but from your description, it really really sounds like the CSS file is simply not being accessed.

            • 3. Re: Rendering issues between DWCS3 & Linux
              bregent CommunityMVP

              If all of the files were uploaded, then my guess would be a case sensitivity issue. If your previous plan was on Windows and your new plan is Linux, then check to make sure that file and pathname cases are correct.

              • 4. Re: Rendering issues between DWCS3 & Linux
                Nancy O. CommunityMVP

                That was my first thought, too.  Linux servers are cAsE sEnSiTiVe.  Windows servers and Mac computers are not.   I try to use a file naming convention I can repeat every time.  Either all A-Z or a-z without spaces or special characters.

                 

                 

                Nancy O.

                • 5. Re: Rendering issues between DWCS3 & Linux
                  Ooshma Community Member

                  Thank you all very much for your responses

                   

                  From what I can tell it's something to do with how the new Linux CentOS renders - just the menubar.

                  The old hosting plan - with the same server - was also Linux but an earlier version from 4 years ago

                  When I uploaded the files to the 2 hosting plans the old one was still perfect, the new one not - but as I said, only the menubar was affected

                  FYI my DW on the Mac version

                  current website: www.shaman-oasis.com

                  I cancelled the other one! until I can sort this problem out.

                   

                  Thanks so much for all your support

                  • 6. Re: Rendering issues between DWCS3 & Linux
                    Rob Hecker2 CommunityMVP

                    Now that we see the website it is more clear what may be going on. Your menu items all have a superfluous forward slash in their urls. Example below. Should be a single slash. On the current server it works for some reason. I'm guessing that on the other server it did not.

                     

                    /website//articles.htm

                    • 7. Re: Rendering issues between DWCS3 & Linux
                      Ooshma Community Member

                      Thanks Rob

                      I imagine the friend who originally did my website many years ago did that - I have very little idea what i'm doing, I've just kept the original format she wrote & changed photos & working. So it's probably only luck that it appears reasonably ok at all. I'll go though & delete the extra slash & she how it goes then

                       

                      Again thank you very much for your time & support.

                      • 8. Re: Rendering issues between DWCS3 & Linux
                        Ooshma Community Member

                        I know what you mean now - I have no idea how the extra slash got there - although I did notice it recently & thought it looked strange, but consequently I have no idea who to get rid of it.

                        I deleted some extra wording I had in the meta <title> but that did nothing to get rid of the extra slash.

                         

                        Are you able to look at the source code & see where that extra slash is perhaps?

                        Sorry I'm so useless with this

                        thanks

                        • 9. Re: Rendering issues between DWCS3 & Linux
                          Ooshma Community Member

                          Would that be the SpryAssets? Because a new folder was only just created a couple of days ago when I was working with the menubar & I just realized there was no such folder when I uploaded to the new hosting account. On the old server a SpryAsset folder was outside actual website data so that might explain it. If so, thanks Ken.

                           

                          Should I have a separate CSS folder as well - because there isn't one

                          • 10. Re: Rendering issues between DWCS3 & Linux
                            Ken Binney CommunityMVP

                            Ooshma wrote:

                            Should I have a separate CSS folder as well - because there isn't one

                            No, you do not need a new folder for your CSS.

                            Firefox is a modern browser, and it seems be coping despite the improprieties in your code and is displaying your website properly for visitors using a desktop computer.

                             

                            You have structural errors like duplicate </head> tags which can be seen here:

                            [Invalid] Markup Validation of http://shaman-oasis.com/website// - W3C Markup Validator

                             

                            Visitors using portable devices will not be able to use your menu. Spry is no longer supported, so you should switch to a simple HTML/CSS menu or a JQuery solution.

                             

                            I wouldn't even bother correcting the improper location of your Spry Assets folder which is currently outside of your site root folder.\\

                             

                            For some reason, your server has a folder named "website" (with two trailing slashes) )which suggests that you uploaded that folder from your local files instead of uploading just the files, in the "website" folder,:not the the folder itself. 

                            • 11. Re: Rendering issues between DWCS3 & Linux
                              Ooshma Community Member

                              Thank you very much for that. As I said, it's really a miracle that it comes up at all considering how little I know - well nothing about coding.

                               

                              The website you looked at it the old one. I cancelled the new one - which is the one that had the problem & have yet to get another one. So from what you're saying with spry not being supported, I will have the same problem or loosing the menubar with a new host/server.

                               

                              That's my question - how do I fix that before I get a new server for hosting. Obviously I'll have to read up about how to create a html/CSs menubar.

                               

                              As for all the errors, I'll work through them & see if I can work out how to fix them. The issue there is that I'm afraid of changing too much incase I mess the whole thing up & are left with no website, & I just don't have the money to pay someone to fix it, let alone create a new one. So it may be just a bandaid solution!!

                               

                              Anyway thanks again for all your support

                              • 12. Re: Rendering issues between DWCS3 & Linux
                                Ken Binney CommunityMVP

                                Ooshma wrote:

                                I'm afraid of changing too much in case I mess the whole thing up & are left with no website,

                                That is easily solved if you simply

                                • create a new folder on your computer,
                                • define the new site in site manager,
                                • copy any of the old files you plan to use into the new folder
                                • develop your new pages

                                 

                                Don't upload anything to your current server.

                                When you are happy with your new site, you can then upload to whatever server you will be using.

                                • 13. Re: Rendering issues between DWCS3 & Linux
                                  Ooshma Community Member

                                  Thank Ken, you've been very helpful

                                  Yes I did that already but lost the spry formatting for the menubar - just like when I uploaded it to the other server.

                                   

                                  So if spry isn't supported anymore that's my question -

                                  without spry I'm left with a vertical list. Can I turn that into a horizontal list instead of having proper formatting?

                                  and will that be read as such  on the web.?

                                  and will it come back with an error like all those others?

                                  • 14. Re: Rendering issues between DWCS3 & Linux
                                    bregent CommunityMVP

                                    The extra slashes are not in the code. There are a few things going on here. First of all, the site's default page is being redirected to a subfolder called "website//" which contains an index.htm page. Because the redirect url has two trailing slashes, all links on the page inherit those slashes. So now the question is, who set up the redirect and why is the site in a subfolder called "website".  Seems to me the site is probably not defined correctly and to fix it someone created an http redirect.

                                     

                                    Can you show us your local and remote site definitions?

                                    • 15. Re: Rendering issues between DWCS3 & Linux
                                      Ooshma Community Member

                                      There isn't a proper root folder which is very weird I know. When I had the new hosting briefly with them the root folder was public_html

                                      Screen shot 2014-12-11 at 3.31.32 PM.png

                                      I've linked a screen shot - not sure if you'll get it - showing the options

                                       

                                      But with this old account everything is in a 'root folder'called website. It's been 4 years since I got that account so I have no idea what happened. I'm sure originally it was public.html

                                      So there won't be any second slash when I do get new a hosting account then I imagine.

                                       

                                      As to the other questions though, if spry is no longer supported can I simply use a horizontal list that redirects to the right page or does it have to be a proper menubar?

                                      • 16. Re: Rendering issues between DWCS3 & Linux
                                        bregent CommunityMVP

                                        >There isn't a proper root folder which is very weird I know.

                                         

                                        Not sure what that means. Every site has a root folder.

                                         

                                        >I've linked a screen shot - not sure if you'll get it - showing the options


                                        What we need to see is the site definition you created in site manager. The fact that it is in this sub-folder suggests that you have defined your local site properties incorrectly.


                                        >But with this old account everything is in a 'root folder'called website


                                        The site needs to be moved out of that folder and into the root folder, one level up. Show us your site definition.


                                        >As to the other questions though, if spry is no longer supported can I simply use a horizontal list


                                        If your menu does not have any levels then there is no reason to use anything more complicated than simple links.

                                        • 17. Re: Rendering issues between DWCS3 & Linux
                                          Ooshma Community Member

                                          Thanks bregent - that's all I needed to know

                                           

                                          As for all the other stuff regarding the root folder - I'm not worried about that because I only have a few weeks left of hosting with that server & domain name.

                                           

                                          I was waiting to get the question answered regarding the menubar issue before I pay for a new host/server with my new domain. Once uploaded to a new site the double slash will work itself out I'm sure.

                                           

                                          Thanks to everyone for your input.