PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 29th, 2005, 12:05 PM   #1 (permalink)
Member
Verified Customer
 
indiamike's Avatar
 
Join Date: Nov 2001
Location: New Jersey
Posts: 127
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.
indiamike is offline   Reply With Quote
Old September 29th, 2005, 12:18 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Interesting I will do some testing cause in editproduct.php I show this in the delete loop so the cache should update


// Let's update the category cache
update_catcache();
update_catprops();
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 4th, 2005, 10:27 PM   #3 (permalink)
sbb
Member
Verified Customer
 
Join Date: Jul 2004
Posts: 76
it says fixed... what fixed it? I'm having this problem as well.
sbb is offline   Reply With Quote
Old October 4th, 2005, 11:22 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
You sure you have downloaded the build that was released on like 9-30 and an announcement posted?

If I delete a photo either using showphoto delete box or editphoto delete box which goes to two separate scripts adm-product or editproduct the cache is instantly updated
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does 5.2 cache update members last photo upload? mjm General Discussion 2 October 9th, 2005 06:35 PM
error when adding review -- help(FIXED) justb ReviewPost Bug Reports 7 September 20th, 2005 10:35 AM
error when deleting photo(FIXED) ihiustler Classifieds Bug Reports 12 July 6th, 2005 02:31 PM
Limiting Photo Uploads for review post dropmachine ReviewPost Installation & Upgrades 1 July 8th, 2004 03:18 PM


All times are GMT -5. The time now is 09:02 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0