Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images Not Displaying After Install


the2003s

Recommended Posts

Posted

Hi, I've just installed oscommerce here, but the images are not displaying. The physical path I installed it to is: root/public_html/shop. All the links work, but the images don't show up on any page. I've verified the location of the images and it's all correct. Any ideas?

Posted

Looks like maybe a UNIX permissions problem....

<_<

 

What are the "permissions" on the "/shop/images/" folder?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Permissions were: 766., now I've set them to 777 and the images work. I was concerned about security issues and that is why I hadn't set the "Execute" permissions to the folder.

 

 

Thanks!

 

 

Looks like maybe a UNIX permissions problem....

<_<

 

What are the "permissions" on the "/shop/images/" folder?

:unsure:

Posted

Here's a security tip for you...

 

Try this link:

 

http://www.imbatabil.ro/shop/images/

 

That's a file listing of your images folder....

 

Now, make an "index.php" file and put it in the images folder.

 

In that index.php file put this:

 

<?php
header ("Location: http://www.imbatabil.ro/shop/index.php");
?>

 

Then try that link above....

 

You should have a similar "redirect" in any folder anyone can type a URL for that doesn't contain an "index.php" or "index.html" file......

 

The less a "hacker" can find out about your site, the better off you are....

:thumbsup:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
Permissions were: 766., now I've set them to 777 and the images work. I was concerned about security issues and that is why I hadn't set the "Execute" permissions to the folder.

Thanks!

 

You really don't want permissions of 777 as you are leaving yourself open. Try using 755, that is safer and your images should show.

Posted

I 2nd that motion, spax.

:ph34r:

 

I'm sure there are other ways of keeping people from "folder snooping" (like with ".htaccess").

 

I found that using the redirect like I posted was a lot simpler...

 

I usually work under the K.I.S.S. principal...

:-"

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...