![]() |
|
| |||||||
| Notices |
| BlueVoda Tips, Tricks and Shortcuts Know a great BlueVoda (or Web design) tip or trick? Share it with the world here. Become famous for your brilliance! Please, No Questions or Problems! |
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| Advice about copying or moving files from MS-windows to Vodahost(Unix)! Perhaps a bit overdone because probably it's already mentioned before. If so, I missed it as newbee. Here is an example which cost me a lot of time to figure out what the problem was: I had files buttons.html and Buttons.css in my BlueVoda directory at my home PC running windows XP. buttons.html had a line including buttons.css When I tested the file on my PC by running buttons.html it worked fine, formatting the buttons as defined in buttons.css Then I copied the files from My PC to VodaHost using BlueFtp. After that I went to my browser http'ed my domain en opened the buttons.html file on the internet. It frightened me to see it did not work out the way I expected. The buttons were not formatted at all. Here is were the time consuming search to find what caused the problem started. I will not bother you with the details but it brought me to an end were I really thought there must be some magic happening in BlueVoda. At last I found the solution: When calling a file in MS-windows, it does not matter if you use Capital or Lowercase letters as long as the name stays the same. If you store a file named Buttons.css and try to access it by calling it buttons.css this will work fine in in MS-Windows But in Unix it is adifferent thing! The filename you are calling must have exactly the same Capital and Lowercase letters as the filename stored. So if you store a file named Buttons.css and you try to access it by calling it buttons.css THIS WILL NOT WORK in Unix and therefore not work on VodaHost! I changed the name of the file from Buttons.css to buttons.css and it worked fine, freeing me from the magic of BlueVoda! BTW: If you import HTML code with an external css file call in BlueVoda and preview the page, you will not see formatting by the css, even if you do things right. To see formatting with an external css file, you have to publish the page and go to your browser to see the formatting on the internet. The HTML import and previewing in BlueVoda is still sort of magic to me and I wish they will soon come with a better way. Hopefully this warning will save you time by not making this naming mistake. Greetings and success, RHE from the Netherlands |
|
#2
| ||||
| ||||
| Hmmm... yes, you are right. To whoever uses Unix (and in many cases, php) this is a known issue. Windows makes no distinction between uppercase and lowercase. However, it has many times been pointed in this forum (in most of the cases, where users published their index page as Index, which would not work) to use EXACTLY the file name as it is published / uploaded. CSS files will also work in preview, if the correct path to the css file (on your computer) is provided in the html code of the page. However, this would mean that you would need to change the path before publishing, so it becomes a bit hard
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#3
| ||||
| ||||
| Always name all your files with small letters, click the below.... http://www.vodahost.com/vodatalk/sav...-my-pages.html
__________________ VodaHost Your Website People! 1-302-283-3777 North America / International 07092887580 / United Kingdom Military Ranking System Explained Click Here to take the royal VodaHost Tour Click Here for the VodaHost Help Centre & Tutorials Got a question? - Try a forum search! Available at the top of every page! |
|
#4
| |||
| |||
| Hi both Generals, I was looking for my posting and thought something went wrong uploading it, until I discovered it was moved to a better category and the title starts with advice instead of warning. Thanks for correcting. Indeed it was already mentioned not to use capitals, but somehow I got caught by BleuVoda which itself is naming files like Untitled.bvp beginning with a capital... Keep guiding your troops! Regards, RHE from the Netherlands |