Directory Help Please |
![]() ![]() |
Directory Help Please |
![]()
Post
#1
|
|
![]() Marynmissouri ![]() ![]() ![]() Group: Member Posts: 41 Joined: Jan 2008 Member No: 606,116 ![]() |
OK, so I still have the issue of not getting my images uploaded for some reason. I can get my webpage uploaded without the images and I have been working on this off and on for a few months now. I have switched my hosting as I had banners running at the top of my page through godaddy. *Not dissing godaddy*
I downleded this website and it's images and I go to upload into the directory and I dont ge my images? I right click and see the directory so I go and add more to my directory. Would someone please tell me what I'm doing wrong? I use Filezilla. Here is a preview: Directory: mysite.com ADD: images So I have this directory: httpdocs://mysite//images So it looks like this when I type it in: http://www.mysite.com/my-web Visually there is no images just red x's where the images go. When I right click on the images it says: http://www.mysite.com/my-web/images/menue 1h gif So my main directory is: mysite (all lowercase) EXAMPLE: httpdocs//mysite and then I add: images (into the directory) EXAMPLE: httpdocs//mysite//images If anyone has any suggestions I'm willing to listen. Oh, does it matter were I download all of my work that I do on my pages? And as far as Database... Do I need to create a database that says: mysite_images and when I add more just add more to the datdtbase? I'm terribly confused at this point I been reading Too Much! Will this effect my files? Thank You Mary |
|
|
![]()
Post
#2
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 ![]() |
if i had to guess, i'd say it's because you're calling images in relation to the directory you're looking at in your browser.
i'm assuming your image codes look like this: CODE <img src="images/imagename.gif" /> the problem with that is browsers will read it as if the full address of the page you're on (without the file name) is to be added to the beginning of the image source. to fix it, you need to tell browsers than you want the "images/" folder to be gathered from your main directory: CODE <img src="/images/imagename.gif" /> the first slash tells browsers that no matter how deep you are into your site (www.mysite.com/my-web/directory/directory/), it will always call the images folder from the root directory. as for databases, it depends on what you're trying to do. you shouldn't need a database for images, because you can't store images in a database; they need to be on your web server. |
|
|
![]()
Post
#3
|
|
![]() Marynmissouri ![]() ![]() ![]() Group: Member Posts: 41 Joined: Jan 2008 Member No: 606,116 ![]() |
Ok bare with me.....
Should I install my downlaods on my C Drive and then name my folder my_domain_name? Then once I go to get the images I need it to point to part of the folder name? Such as C Drive | | |___ my domain name | | |____ file name | | |____ images Well I'm not so good at making charts either, but I hope you get the point. I will start working on this and see what happens and be back to let you know. Thank You for the help. It has been really hard to get any straight answers out of anyone(in FTP forum) and you have been the most helpful so far. *************************************************************************** EDITED TO ADD MORE: This is what it looks like. I hope it helps. http://www.marynmissouri.com/templates-shop/ |
|
|
![]()
Post
#4
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 ![]() |
i'm not sure i follow. your site doesn't have any index.php or index.html file at all.
what problem exactly are you having? do you have any coding you can show? |
|
|
![]()
Post
#5
|
|
![]() Marynmissouri ![]() ![]() ![]() Group: Member Posts: 41 Joined: Jan 2008 Member No: 606,116 ![]() |
Well now I have 2 main pages for some reason? I have been trying to upload files to directorys and for some reason I cant find these pages in the directory?
I do have in some of the directorys that were installed index.php and index.html but I dont want to use those in fear for messing things up again. What I think I did was in the beginnig (back in April 2008) I started messing with the directory and I'm assuming I accidently deleted the public.html or index.html so I have to creat one. Is that ok? If you get a chance you can email me and I will let you see whats going on. Oh and I already have a file in my root folder with my main page to go up. It's just tring to get it there and I know I'm doing it right because I have already uploaded my wordpress and the themes to go with it. I'm just wondering if it is the directory I created? I just found my index.html directory. It is in a directory html---> index.html Now I have my css code edited into the page, but I'm assuming it is not in the right directory? Do I need to make a directory called marynmissouri.com? Thank You Mary |
|
|
![]()
Post
#6
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 ![]() |
okay; i do see your actual site now, and it's back to the problem you were having in the first place. i'd say let's start back from step one.
when you log in to your FTP program, what you see depends on both the FTP program and your hosting company. it varies so much from one company for the next, so i can only have a general idea of what it might look like. most places will have a "public_html" folder you can go into. inside that should be another folder called "marynmissouri.com". i'm sure you know that's where you'll be storing all of your files. if you don't already have a folder inside there called "images" then you'll need to create that. earlier when you didn't have the index file uploaded, i found an images folder, but there weren't any images inside it. have you uploaded those? i'm not sure how you'll be setting up your site as it gets more developed, but you might need to change a few things. you're calling your style sheet like this: CODE <LINK rel="StyleSheet" href="styles.css"> that will work, but only if the different pages you go to are in the same directory as the style sheet. for example, you have a page called "www.marynmissouri.com/webdesign-templates.html". if you were to do something like "www.marynmissouri.com/webdesign-templates/" and have the index.html file inside of the "webdesign-templates" directory, the style sheet would NOT be read. instead, you'd have to change your codes around to look like this, with a slash in front: CODE <LINK rel="StyleSheet" href="/styles.css"> right now i think your biggest problem is just making sure that you actually have the images uploaded to your server, and that they're in the right place. |
|
|
![]()
Post
#7
|
|
![]() Marynmissouri ![]() ![]() ![]() Group: Member Posts: 41 Joined: Jan 2008 Member No: 606,116 ![]() |
I don't like admitting this but yesterday I accidently deleted my main web page.
I got so frustrated and wanted to clean everything out and start from scratch since I could not find anything so I thought I will do that and see my public_html or my index_html. What a big mistake. I use globat.com as my hosting co. and I don't see a public_html file. I'm not sure if I messed it up a few months ago when I first went there and did not how to use it. Now I just want to get it all organized and for some reason yesterday I could not get my main page to view first. I could the webpage I downloaded and up but without my content in it? It was showing the page I actually downloaded? I cant figure out the tree for some reason, or maybe I'm calling it wrong. This is what I have...... marynmissouri.com and then I built a site for ..... myname.com/template then myname.com/template/stock then myname.com/template/stock/shop Am I doing this all wrong? Ok and another question I have of many. 1) If I accidently deleted my main public_html or index_html can I create a new one? 2) When I create a new image directory do I create it inside of the directory where my website files are or do I upload all images (from all web pages I design) just in the one image directory for all of the pages I want to upload? 3) when saving my websites files were is the best place to save them to? I have been saving mine in::: my computer--->c drive--->documents and settings--->my file name Is this good or would it be better to save somewhere else? Well I was going to log into my account and give you a list of my files, but now I get a message "Account has not yet been provisioned" and they wont let me in. What does this mean? ************************************************************************ Files I have with my hosting account. All files to be placed "live" on the Internet (with the exception ofCGI FILES) must be placed inside the httpdocs directory.[br] DIRECTORY LIST - Here is a list of the directories on your site and what they do:[br] httpdocs - Location where your Web site gets stored "live" on the Internet[br] httpsdocs - Same as httpdocs, but for SSL secured files[br] anon_ftp - FTP Storage for downloadable files[br] cgi-bin - All CGI/Perl scripts MUST be in this directory to execute[br] error_docs - Location where error logs are kept The following directories are site configuration directories, please IGNORE and do not delete:[br] bin[br] pd[br] Web_users This post has been edited by marynmissouri: Oct 27 2008, 10:51 AM |
|
|
![]()
Post
#8
|
|
![]() Marynmissouri ![]() ![]() ![]() Group: Member Posts: 41 Joined: Jan 2008 Member No: 606,116 ![]() |
I finally broke down and called my hosting co. this morning and I'm going to try what they gave me so I'm hoping all works well.
Thanks You So Much for the help that you have given me it was MUCH Appreciated! Mary |
|
|
![]()
Post
#9
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrator Posts: 8,629 Joined: Jan 2007 Member No: 498,468 ![]() |
Topic Closed & Moved
|
|
|
![]() ![]() |