Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 05-25-2005, 10:28 AM   #1 (permalink)
elearley
Registered User
 
Join Date: May 2005
Posts: 2
elearley is on a distinguished road
Images won't load in my pages...

Hello, thank you in advance for your help. I am having a frustrating problem of images not loading when I place my files on the remote server. Everything is there, all the code is correct, and it works fine locally. Can anyone shed light? Here is the link to my problem site:

http://www.seekmediadesign.com/stage...etox/index.htm

I built this using Dreamweaver MX 2004.

If you can tell me what the problem is and how to fix it I would be much appreciative!

Thanks

el.
elearley is offline   Reply With Quote
Old 05-25-2005, 12:06 PM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,696
redhead is on a distinguished road
Quote:
Forbidden

You don't have permission to access /stage/tampadetox/images/sub/left_bar.jpg on this server.
Apache/2.0.46 (Red Hat) Server at www.seekmediadesign.com Port 80
Quote:
Forbidden

You don't have permission to access /stage/tampadetox/images/sub/ on this server.
Apache/2.0.46 (Red Hat) Server at www.seekmediadesign.com Port 80
Quote:
Forbidden

You don't have permission to access /stage/tampadetox/images/ on this server.
Apache/2.0.46 (Red Hat) Server at www.seekmediadesign.com Port 80
First off, how do you transfer the files to the server? is it through ftp ? or through frontpage extensions ?
If you have a login shell on the server, check the permissions on the images and images/sub directories, they should be something like this:
Code:
~ > ls -la images | egrep '(./|sub)'
drwxr-xr-x    4 redhead  users        4096 Jul 17  2003 ./
drwxr-xr-x    3 redhead  users        4096 Jul 17  2003 ../
drwxr-xr-x    2 redhead  users        4096 Apr 13  2003 sub/
next check the permissions on the images, they should be something like this:
Code:
images/sub > ls -l
total 244
-rw-r--r--    1 redhead  users        1466 Jul 14  2003 404-1.png
-rw-r--r--    1 redhead  users        1649 Jul 14  2003 404-2.png
..
To change the permissions on the directories, use chmod, something like this should do it:
Code:
~ > chmod 0755 images
~ > cd images 
images > chmod 0755 sub
images > cd sub
images/sub > chmod 0644 *
If you are using ftp to transfer, it could be that you're in ASCII mode, when transfering the images will get currupted, so be sure to transfer the images in BIN mode.
If it's with frontpage extensions, I have no idear why they might get currupted.

Another thing could be, that theres a .htaccess file preventing me from teh further investigation on the permissions settings here.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 05-25-2005, 12:23 PM   #3 (permalink)
elearley
Registered User
 
Join Date: May 2005
Posts: 2
elearley is on a distinguished road
Wow, thank you! I don't know how to check or change permissions... I am using Dreamweaver MX 2004 and uploading via FTP...

Any ideas?
elearley is offline   Reply With Quote
Old 05-25-2005, 12:25 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,475
sde is on a distinguished road
i don't use dreamweaver, but in most programs like that you can right click the remote fil and choose properties. that usually will show you the permissions and allow you to modify them.
__________________
Mike
sde is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can not load php_ldap.dll sde PHP 2 03-28-2006 03:25 PM
Using PHP to retrieve images stored in MySQL metazai PHP 11 04-06-2005 01:05 AM
Possible to prevent images in a page from caching? Epsilon HTML, XML, Javascript, AJAX 2 09-06-2004 01:58 AM
php/mysql take 2 minutes to load externally sde Linux / BSD / OS X 0 07-14-2002 09:33 AM


All times are GMT -8. The time now is 10:19 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting