21305 Posts in 5736 Topics by 2603 members
| Go to End | Next > | |
| Author | Topic: | 3426 Views |
-
Re: CRITICAL: Missing / Disappearing Images

11 November 2009 at 12:59am
Brice,
I tried the image-flush...
Indeed :
0 formatted images from 0 items flushed -
Re: CRITICAL: Missing / Disappearing Images

11 November 2009 at 4:13am
That's interesting. I assume there's images linked to content?
What modules & SS version are you running? Also; perhaps this is a server thing (PHP extension/version, php.ini setting, filesystem permissions, etc.).
I'm running a Debian Lenny on a Xen based Amazon AMI (small EC2 instance). I was running the stable versions of the Debian AMP stack ( PHP / Apache / MySQL ) but moved to the updated dotdeb.org packages to see if it fixed this problem. It didn't.
Attached is my PHP.INI in case it helps.
When I get a chance, I'm going to examine calls to unlink() in SilverStripe / Modules.
-
Re: CRITICAL: Missing / Disappearing Images

11 November 2009 at 5:03am
Silverstripe 2.3.3
userforms / recaptcha / old photogallery / iframeIt happened some time ago , so I think that was an earlier version of Silverstripe.
Yeah, plenty of images in this particular site.
by the way : I did not only see it happening to images which were added by TinyMCE ; I also saw it with pictures that were added by an ImageField in the CMS .....
Furthermore : I cannot image the server having anything to do with it .... We are running about 8 Silverstripe sites on the same hardware and there were just 2 sites that displayed the odd image behaviour.
Did you find a good way of reproducing the problem or are you constantly restoring the state of the site to a particular pre-error version ?
-
Re: CRITICAL: Missing / Disappearing Images

11 November 2009 at 7:54am
Does adding this to your config tell you more?
Director::set_environment_type("dev");
Or is Silverstripe unaware of it, and just shows you missing images...
-
Re: CRITICAL: Missing / Disappearing Images

20 November 2009 at 3:47am
I'm having the same issues. But I think it may be after I installed DataObjectManager.
The new images are fine but the old ones don't work. The file is still there, just don't have the file in _resampled. So they are blank in the media section of admin. Tried images flush but no joy, is there a way to make it delete all the __resampled folders and resample them all? -
Re: CRITICAL: Missing / Disappearing Images

20 November 2009 at 3:52am
I don't think it has anything to do with DOM ; our sites that display this odd behaviour do not have it installed.
I'm thinking this is turning out to be quite the nasty bug .... Very bad consequences (especially on a large site) , but on the other hand _very_ hard to replicate.....
-
Re: CRITICAL: Missing / Disappearing Images

20 November 2009 at 6:21am Last edited: 20 November 2009 6:21am
mm,
Are you also getting "0 formatted images from 0 items flushed" when you run images/flush?
Setting the environment (dev/live) does not have any impact. I am going to attempt to trace the images/flush routine at some point when we have time... as this may be a decent lead to see what's causing it to report 0 items flushed (there are 1000's of items to flush!).
This isn't the first time I've heard that DOM is suspect in this -- although I personally don't see a link between the two. Perhaps it's a badly created Class on our end?
The problem remains... even on "new" (post DOM) images here.
-
Re: CRITICAL: Missing / Disappearing Images

24 November 2009 at 10:55pm Last edited: 24 November 2009 10:57pm
I also have this issue with newly installed 2.3.3 and downloaded image_gallery and DOM from the developers website.
Seems only to affect images which are replaced, as also stated in this thread
http://www.silverstripe.org/all-other-modules/show/266319#post266319You can see the issue here:
http://www.art.inc.net.nz/art-sale/album/Trees1The last image was replaced in the admin and now doesnt show, also looking at the generated html there is no src it just has src="" which is why they dont load but no idea why the src is blank.
Looking at the image manager there are old and new versions in the Upload so looks like an issue with the replacement of images.
I need to get it sorted so will post here if I figure it out but I am a perl coder and new to ss so dont hold your breath
| 3426 Views | ||
| Go to Top | Next > |



