topspin / topspin-wordpress

Topspin's Wordpress Integration
http://www.topspinmedia.com/
20 stars 11 forks source link

Product images disappearing #24

Closed yoyoyosef closed 12 years ago

yoyoyosef commented 12 years ago

hi, im currently running WP3.2.1 and the latest TS plugin and noticed the products and images import properly, but after a couple days the images disappear. Each time i need to hit the rebuild database button to reload the images.

ghost commented 12 years ago

Do you have traffic to the site? This will happen if there is no traffic because the plugin requires wp-cron to run in order to refresh the database with the new CDN images from Topspin (which expire).

yoyoyosef commented 12 years ago

yes, there is some traffic. regardless, is there a way to prevent this if there isnt traffic?

On Thu, Dec 8, 2011 at 7:34 PM, theuprising < reply@reply.github.com

wrote:

Do you have traffic to the site? This will happen if there is no traffic because the plugin requires wp-cron to run in order to refresh the database with the new CDN images from Topspin (which expire).


Reply to this email directly or view it on GitHub: https://github.com/topspin/topspin-wordpress/issues/24#issuecomment-3073326

ghost commented 12 years ago

Not really, because Topspin recycles the URLs for the cached CDN images they use every so often. But, the way it should work, upon further investigation, is that if a person hits the site and the images haven't updated, they get updated before the images are served.

We'll look into this and see if we can't improve on it in the next version.

ghost commented 12 years ago

yoyoyosef,

What host are you using? We've discovered an issue on some hosts causing their wp-cron file to not run, which breaks our plugin (and others). Check out that information here:

http://yoast.com/wp-cron-issues/

If this helps you, please let us know. We encountered the issue you're having on a new store and following the steps at that link was the solution. We'll be adding this to the docs on the next version of the plugin.