Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Products Showing Double


AmyMarieSodus

Recommended Posts

running FreeBSD 8.1 Mysql 5.5 PHP5 OsCommerce 2.3.1

After loading 1 product then looking at the shop online, It shows the product as a double listing everywhere.

I did a search and found nothing on this. Please help.

thank you

Amy

 

Is it duplicated or is it the alt tag from a missing image???

Link to comment
Share on other sites

What he said....

 

Look at the same page with Internet Explorer not Firefox.

 

Do you still see double or has one changed to a broken image, a big X?

: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 >

Link to comment
Share on other sites

It's the alt tag from a missing image.

 

How do I fix that? The image is there.. Do I need to do a change mode or something?

 

check to ensure your includes/configure.php is set correctly.

Link to comment
Share on other sites

Without a link to the site in question it's hard to say exactly what the problem is.

 

When you add products or categories you need to supply an image for each one.

 

If you don't supply one, or the process is unsuccessful, you can get broken images on the page.

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 >

Link to comment
Share on other sites

A primer on troubleshooting image problems

 

Unless you want to post the URL (or pm it to me), all I can offer is at the link above.

:blush:

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 >

Link to comment
Share on other sites

Got your URL.

 

Follow the link I posted.

 

This part is your problem:

 

5. You get a "internal server error" message. This would be because of an errant .htaccess file in one of the folders in the image path. Rename them (one at a time starting with the loweset in the path) to text.htaccess until the image appears.

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 >

Link to comment
Share on other sites

Edit the .htaccess file in the images folder.

 

Change it's contents to this:

 

### BEGIN do not modify this section ###
<Files ~ ".(php|php3|php4|php5|phps|phtml|pl|py|cgi)$">
Order Allow,Deny
Deny from all
</Files>
Options -ExecCGI
### END do not modify this section###

Then rename it back to .htaccess

 

Will the images show now?

:unsure:

 

I'm no .htaccess expert but you really need the protection it provides.

:)

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 >

Link to comment
Share on other sites

try this

 

# $Id$
#
# This is used to restrict access to this folder to anything other
# than images

# Prevents any script files from being accessed from the images folder
<FilesMatch "\.(php([0-9]|s)?|s?p?html|cgi|pl|exe)$">
  Order Deny,Allow
  Deny from all
</FilesMatch>

Link to comment
Share on other sites

That's what was there originally, Mark.

 

Well that bites....

:(

 

I only had one "trick card" to play on the subject, and that was it.

:blush:

 

Unless someone else wants to pick up where I left off the only advice I can offer it to seek help from your hosting provider.

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 >

Link to comment
Share on other sites

That's what was there originally, Mark.

 

Well that bites....

:(

 

I only had one "trick card" to play on the subject, and that was it.

:blush:

 

Unless someone else wants to pick up where I left off the only advice I can offer it to seek help from your hosting provider.

 

oops was it hehe >_<

Link to comment
Share on other sites

Mark, you were just trying to help.

 

No harm in that.

:thumbsup:

 

Amy, you might try this instead:

 

# stop scripts from running from the folder
IndexIgnore *
Options All -Indexes
# Secure directory by disabling script execution
AddHandler cgi-script .php .php2 .php3 .php4 .php5 .php6 .php7 .php8 .pl .py .jsp .asp .htm .html .shtml .sh .cgi
Options -ExecCGI
# Don't show this file, that would be bad as well!
<Files .htaccess>
order allow,deny
deny from all
</Files>

I found it here on the forum some place.

 

If that doesn't work I'm all played out...

:blush:

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 >

Link to comment
Share on other sites

As long as your images folder doesn't have 777 permissions (should be 755) you shouldn't have any problems.

 

All the examples posted have been to prevent unauthorized scripts from executing in the images folder.

 

If the folder has 755 permissions I can provide alternate methods to stop people from "snooping" in the images folder.

 

Try going to:

 

http://shop.YOUR_DOMAIN.com/images/

And you'll see what I mean about "snooping".

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 >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...