Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

getting error related to some images


Guest

Recommended Posts

I have been running osC for years and suddenly am getting an error that I can't figure out. I don't think I even made any changes so that is really strange.

 

I have a store with tens of thousands of products and when I don't have an image for a product, rather than leave it blank, I use a default image that I called "no-image.jpg". All of the images are showing up normally except the "no-image.jpg" and when it should appear on a page, errors are thrown at the top of the page like this:

 

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'http://www.tool-home.com/products/catalog//images/no-image-140x160.jpg' for writing in /var/www/vhosts/tool-home.com/httpdocs/products/catalog/includes/functions/html_output.php on line 374

 

I see that it is putting "//" between "catalog" and "images" causing "catalog//images" but I can't figure out why. I have the image "no-image.txt" listed in the database just like all the other images.

 

The following page will show 3 examples of this error: http://www.tool-home.com/products/catalog/index.php/manufacturers_id/60/sort/3d/filter_id/1185/page/2.

 

Can anyone please help me?

 

 

Thanks

 

Tom

Link to comment
Share on other sites

hi

 

1- the code's errors should not appear on the page (there are some ways to hide them)

2- is this the path of the image http://www.tool-home.com/products/catalog/images/no-image-140x160.jpg ?, there's nothing there (error not found), and the code is looking for that path

3- why the ".txt" in the image name ( "no-image.txt")

 

 

bye

Link to comment
Share on other sites

i am getting the error message to whree it just has the pictures link.jpg (i.e. Anibal Sanchez 2006 Topps Chrome Rookie Logos #10.jpg)

it is doing this similar issue to about 1/3 of my pictures and i have 3500-4000 items on my site so far. it will load (let people see) some .jpg and not some .jpg pictures.

 

 

why is it doing this and how can this be fixed???

 

bryan

Link to comment
Share on other sites

Have you tried NOT using a "#" sign in a filename, such as "Anibal Sanchez 2006 Topps Chrome Rookie Logos 10.jpg"?

 

Hold down "ctrl" and press F5 to load from your server and not your browser's cache after making changes.

 

name='bryanlouis' timestamp='1300930212' post='1573517']

i am getting the error message to whree it just has the pictures link.jpg (i.e. Anibal Sanchez 2006 Topps Chrome Rookie Logos #10.jpg)

it is doing this similar issue to about 1/3 of my pictures and i have 3500-4000 items on my site so far. it will load (let people see) some .jpg and not some .jpg pictures.

 

 

why is it doing this and how can this be fixed???

 

bryan

Link to comment
Share on other sites

Have you tried NOT using a "#" sign in a filename, such as "Anibal Sanchez 2006 Topps Chrome Rookie Logos 10.jpg"?

 

Hold down "ctrl" and press F5 to load from your server and not your browser's cache after making changes.

 

 

ok so the # sign is getting in the way of the server from loading the pictures??? and i don't know what you mean by loading from the server instead of the web browser???

ty for your help, i can do ebay and that takes all pictures but this html code and all of the other codes i don't get.

 

bryan

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...