Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

no thumbnails on localhost ?


leveera

Recommended Posts

Posted

Hello,

 

I have all thumbnails broken on my localhost while on a public server they are OK.

Menwhile thumbnails are phisicaly exsist in corresponding directory and php files are the same.

 

I tried to direct browser to a thumbnail image and got error.

Not sure but seems path 'thumbnails/images/ is wrong! Should it be 'images/thumbnails/???

 

Please advice where to correct it!

I'm on 2.2MS2

 

--error--><br />
<b>Warning</b>:  imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open 'thumbnails/images/xxxx/xxxx.jpg.thumb_100x109.jpg' for writing: No such file or directory in <b>Z:\home\site.com\www\catalog\product_thumb.php</b> on line <b>332</b><br />
<script language=JavaScript src='/denwer/errors/phperror_js.php'></script><!--error--><br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at Z:\home\site.com\www\catalog\product_thumb.php:332) in <b>Z:\home\site.com\www\catalog\product_thumb.php</b> on line <b>187</b><br />
<script language=JavaScript src='/denwer/errors/phperror_js.php'></script><!--error--><br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at Z:\home\site.com\www\catalog\product_thumb.php:332) in <b>Z:\home\site.com\www\catalog\product_thumb.php</b> on line <b>188</b><br />
<script language=JavaScript src='/denwer/errors/phperror_js.php'></script><!--error--><br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at Z:\home\site.com\www\catalog\product_thumb.php:332) in <b>Z:\home\site.com\www\catalog\product_thumb.php</b> on line <b>189</b><br />
<script language=JavaScript src='/denwer/errors/phperror_js.php'></script>

 

product_thumb.php line 332

imagejpeg($tmp_img,$thumbnail, 100);

Archived

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

×
×
  • Create New...