3.1 Cache use causes error if review with photo is deleted(FIXED)
I am not sure if it's a bug but I guess a small flaw.
If you have the cache set and delete an image that is showing presently you will get a error like this--
Warning: getimagesize(/public_html/reviews/data/28/1top_stories-thumb.gif): failed to open stream: No such file or directory in /public_html/reviews/pp-inc.php on line 2147
To recreate this error-
Set cache in admin screen to like 5 minutes or less (just to save time)-
Add a new item for review with an image-
Making sure the Recent Reviews image pal is on the index page-
Wait the few minutes until your new review and image appear in that box-Delete the review and refresh the index page.
The cached image is still being called for in Recent Reviews pal so it causes an error to be displayed.
Of course the error flushes itself out after a few minutes because of the cache but if you have the cache set for a longer period and constantly add and edit reviews it may cause some problems.
Last edited by indiamike; September 29th, 2005 at 12:19 PM.