| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
image.php and/or product_image.php unreliable sometimes? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello Everybody,
This is my first time on the x-cart forums and I have been searching the threads and unable to find anyone that has had a similar problem. Here's the problem: When calling on image.php to get images from the filesystem (e.g. somethin like: <IMG src="http://www.greenhouserideshop.com/dev/image.php?productid={$product_links[cat_num].productid}" >) I sometimes experience a major failure in getting the images...Sometimes even a 404 redirect where the entire page becomes corrupted. This issue only occurs when getting alot of images, typically 10 or more a page. If I'm only getting a small amount - no problems. Originally when I started to experience this problem we thought it was due to the images being in the database, but the filesystem sees the same issue. Other problems with getting images have arisen as well such as when trying to implement cody lindley's thickbox jquery pop up windows - which spit back an unparsed string of image "metadata" instead on an image. Anyways... I'm just wondering if anyone has addressed this previously on the forum and if so please link me! Thanks,
__________________
X-Cart 4.0.19-gold_upgrade PHP 5.2.3 MySQL 5.0.16 |
|||||||
#2
|
|||||||
|
|||||||
![]() Can you elaborate on 'corrupted'? Does it spit out an error or do the images just not get called? You should DEFINITELY have your images in the filesystem. Did this problem occur before you installed Thickbox?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() when the page is populated initially the images are all shown.
when the page is reloaded some of the images show up as blank objects. when the page is reloaded again I get a 404 and must wait awhile or clear the browser cache to be able to start the process over again. it's really weird. I don't get any errors. I first noticed this problem with a "recent products" add on module that I got from cartmods.com (http://www.greenhouserideshop.com/shop/recent_products.php). I slimmed it down to only 6 images and it seems to be pretty stable. The adaption with only 3 images on the hompage (http://www.greenhouserideshop.com/shop/home.php) is super solid. If I change the amount of images gathered to 9-12 a page - everything goes haywire as explained above. Note: I had the same issue with previous version of x-cart gold.
__________________
X-Cart 4.0.19-gold_upgrade PHP 5.2.3 MySQL 5.0.16 |
|||||||
#4
|
|||||||
|
|||||||
![]() Oh and this was an issue long before I ever tried to implement thickbox.
__________________
X-Cart 4.0.19-gold_upgrade PHP 5.2.3 MySQL 5.0.16 |
|||||||
#5
|
|||||||
|
|||||||
![]() ive been having the same problem and the only major changes i can think of is that i added php accelerator...are you using it as well? i suppose i could just comment out the extension in the php config to test, but i have other priorities
|
|||||||
#6
|
|||||||
|
|||||||
![]() nope, not using php accelerator so we can rule out that variable.
__________________
X-Cart 4.0.19-gold_upgrade PHP 5.2.3 MySQL 5.0.16 |
|||||||
#7
|
|||||||
|
|||||||
![]() About the time when the problems started to arise for me, I had updated to php 4.4.4, which I see that you use as well...i also use gdlib functions in my image.php which could be slowing it down a bit, but wouldnt explain the 404 error since php is not saying that it is timing out
|
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|