RootsChat.Com
General => Technical Help => Topic started by: genealogynetwork on Monday 02 February 09 01:49 GMT (UK)
-
I FTP my pages and then they do not appear. I've checked the permissions, however, the pages are still absent. The hosted server is in the UK. Could this be a time problem since I'm in the US or is this a permission issue? Can't view the page at all hosted on 100webspace.net.
-
Try using "GFTP" for your version of linux, I use this and have no problems, the Main website for it is http://gftp.seul.org/
Pete
-
Make sure you're uploading them into the correct directory (sometimes called public html). Some servers have directories that you can upload to, which are not publicly viewable.
-
are you definitley transfering or silently timeing out?
use the hash switch to monitor the transfer?
-
It doesn't make any difference where you are in the world. If you have been assigned a directory by your host then permissions should not be a problem.
You need to review how your FTP program connects to the website. Typically you will have a profile that needs these values:
Profile name: My FTPsite
Host Address: upload.100webspace.net
Port: 21
Login:
Password:
Initial path: /docs
Attempts: 1
Download path: C:/Documents and Settings/Your Name/My Documents
Description:
This is just an example. Your host should have supplied this information so re-check it just in case you missed something.
-
I can FTP into my site and get the files in there, they just are not viewable, even though permissions are ok for owner, group and public to read. The pages are blank and a number appears ( 51). Although if I manually log into check the html, it is all there and if I choose to preview my page, it looks great in preview and then disappears once called by http:// address. I can't figure it out.
-
are you definitley transfering or silently timeing out?
use the hash switch to monitor the transfer?
I log into my account via the web interface and check the html on the page and it appears fine, even in preview. If I call the http:// address of my site, it does not appear.
I tried a basic html page without CSS that will appear both in online editor preview and when called by http:/, but my CSS page will not appear when called and shows up fine in preview!
I'm still new at this so I will go back again and check permissions one more time, just in case.
-
As a general rule a CSS file does not open when you double click it - unlike an HTML file. Usually you have to specify a program that can open it like NotePad or some other text editor program.
Is the link to the external CSS file correct? In between the head tags of your main html file, similar to this:
<link rel="stylesheet" type="text/css" href="ftstyles.css" />
-
are you definitley transfering or silently timeing out?
use the hash switch to monitor the transfer?
I log into my account via the web interface and check the html on the page and it appears fine, even in preview. If I call the http:// address of my site, it does not appear.
I tried a basic html page without CSS that will appear both in online editor preview and when called by http:/, but my CSS page will not appear when called and shows up fine in preview!
I'm still new at this so I will go back again and check permissions one more time, just in case.
The permissions won't matter if the directory isn't a public one. One of the classic mistakes with web hosting is to upload files to a directory which is not the root. You'll be able to see them, but no-one else will.
-
I tried a basic html page without CSS that will appear both in online editor preview and when called by http:/, but my CSS page will not appear when called and shows up fine in preview!
This sounds like an absolute or relative path problem.
An absolute path is the full pathname to a file, whereas the relative depends where you are the file system:-
//absolute
C:/Documents and Settings/User Name/My Documents/FamliyTreeFiles/mystyles.css
or
// relative
mystyles.css
Do your webpages (the ones you uploaded to the website) work on your local hardrive?
-
downside:
Yes, they work on local hard drive. I tried both relative style.css and http:// full path name to css.style and neither worked directly when called via http:// in browser. They only for me on my hard drive and for the preview provided in the online editor.
Kept getting the number 51 on the webpage (below the advertisements) and nothing else. The advertisements provided by host showed up great. lol
-
I assume that the website requires that you have a file called either main.htm or index.htm.
Can you post the actual html code from the top down to the <body> tag of the file index.htm here so we can have a look at it.
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>The Genealogy Box - Genealogy Network</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><LINK
href="style.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
-
Is that it ? ???
-
I can see there are some coding errors in the little snippet you have provided, particularly:
<LINK href="style.css" type=text/css rel=stylesheet>
Which should be:
<link rel="stylesheet" type="css/text" href="style.css" />
i.e. there is a lack of speechmarks after the = symbols, in your index.htm file.
All tags should be in lowercase nowadays, but that is not a critical factor and wouldn't cause the current problem.
The main thing is to correct that line above to see if it makes any difference.
The next thing to check is where the style.css file is located on the webserver.
Are your index.htm and style.css files in the same directory?
Another thing to look at is case sensitivity. On Unix/Linux servers filenames are case sensitive, so your file style.css must be in lowercase on the server. If it is spelled Style.css or STYLE.CSS then it won't be found.
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>The Genealogy Box - Genealogy Network</title>
Here is another go at the HTML with what looks like the appropriate quotes.
It will not call the style.css for some reason this time in preview. If I change the link to the complete web address, it will preview fine, in the online editor. Then when you call the page http:// I get , of course the usual advertisement at the top and then the number "51" to the top left of the page and nothing else.
There is no style to the page if I do not include the full url to the stylesheet "style.css" in the online editors preview of the page and the same number 51 pops up when the page is called by http://.
Stumped.
-
It must be to do with lower and UPPER case spelling of the file name style.css.
When you see your list of file names in ftp view - how is the file name displayed?
Style.css
STYLE.CSS
It has to be all lowercase letters:
style.css
style.css has to be in the root (the first directory) directory with index.htm.
-
It must be to do with lower and UPPER case spelling of the file name style.css.
When you see your list of file names in ftp view - how is the file name displayed?
Style.css
STYLE.CSS
It has to be all lowercase letters:
style.css
style.css has to be in the root (the first directory) directory with index.htm.
ftp programs are bad for changing case, as you know Unix and Linux are case sensitive where Microsoft is not.
-
I fixed the all capitolization issues to lowercase and the issue still persists. I also opened a support ticket from the freewebspace provider. I received half a response so far. This is what they indicated. To the effect follows.... (and I admit, it is strange to me, too.)
"You have to delete the words and phrases "MADRID" "The" "bank of ireland" etc. from your site. We have a script that disallows these items and will shut down any url that contains these items...."
(WHAT?, I said. " There is no such thing in my html whatsoever. So again, I am lost as to what you are referencing.)
I do have a database attached to my site and the database has options to upload files. The permissions were not set to keep out malicious users and someone planted, I suppose, the words above "MADRID" "the bank of ireland" and so forth into my database files without my knowledge.
I deleted the suspect file and reimposed the proper permissions. The webpage still cannot be viewed.
It was stated further by the freewebpage support provider that there was something in my database that needed to be deleted in my "bot page" - wherever that is on my SQL database, I don't know. I am clueless as to how to operate this database. I just need it for the forum.
I just created a phpbb3 forum and had set permissions and so forth this week. It hasn't even been used yet! so, I'm waiting until tomarrow to see if the page is viewable after deleting the suspect file that was uploaded. I couldn't even read the webpage as there were a bunch of symbols and so forth. I assume this was the page that had the suspect wording...
Thanks for all of your help.
-
PS
The index file that was originally created was renamed. The renamed html page is ;D viewable ;D, contrary to what the webspace provider indicated to me today.
They said a script shuts down your site when these words appear inside your site url ??? "MADRID" "the bank of ireland" etc. ??? and the number 51 appears instead of your webpage.
Still stumped on this.
??? "MADRID" "the bank of ireland" etc. ???
But one page is still viewable, which is scary as they said a script is being used by their servers to prevent viewing anything on the url because of "illegal wording" maliciously uploaded/placed on my site.
-
Opened a second support ticket with this free webspace provider concerning the same above issue and opened another free account that did not utilize an SQL database in order to test the so called script. The database was not the issue. 51 still appears on the page.
Still a 51 on the index page on both sites, but other pages that I have created/uploaded (ftp)can be viewed without .css. All pages view correctly in the online html editor, but do not appear when called by http address.
Day 4 no further response from the provider.
-
It must be to do with lower and UPPER case spelling of the file name style.css.
When you see your list of file names in ftp view - how is the file name displayed?
Style.css
STYLE.CSS
It has to be all lowercase letters:
style.css
style.css has to be in the root (the first directory) directory with index.htm.
I thought that the css was the issue. Today the pages are viewable (for the time being - I'm still holding my breath.) This is what I had to change in order for their script to allow my page to become viewable:
I reported:
This was frighteningly strange to me as I did NOT see what Technical Support said was appearing in my index.
Technical Support Said:
This is a message from our content filter script that searches for forbidden words in the pages scripts or the database content of our clients sites. The number that you see is related to one of the counted words or phrases that you have to clean from your site or database in order to be able to view your page online again:
“Overdrafts”+”Business Services”+”Online Banking”+”Specialist Sectors”,”bank”+”of”+”ireland”+”Website”,”CAJA”+”MADRID“+”bank”
Customer service replied again saying that there were suspect words in my index html file. The suspect words appeared in the following context. I hope someone will find this helpful. I've been at this for some time now trying to figure out the problem.
Genealogybank.com - The link is no longer correct as the word “bank” is NOT ALLOWED.
In Item link # 32. Genuki.org.uk - Large collection of genealogical information pages for England, Irelnd, Scotland, Wales, the Channel Islands, and the Isle of Man. - The word Ireland is intentionally mis-spelled because the word “Ireland” is NOT ALLOWED.
After removing these two words and mis-spelling them the suspect word “of” was skipped by their script. (thank goodness as it appeared nearly too many times to count.)
And now the debut of my website:
http://genealogy.100webspace.net
LOL :)
Thanks to everyone here for the kind advice and input.