Few days backwards, we moved to new server and suddenly crop and fit images aren't created anymore?
Nothing is generated under images/cache/ and when i delete previous items under it, nothing new is also done. Image upload work, thumbnail is created. But editor can't see any rendetion samples or change them...Images just not found (actually not generated). Anyone has any idea, where to look?
Checked database, all images have dimenions, gd is installed, file permissions are fine..
1) Open an article 2) Make sure to attach images to it via the Media Archive widget on the right side 3) After attaching, click on the "Place images" button 4) What happens in that popup? are the placeholders populated? do you get any error?
Problem seemed to resolve after fresh install (old theme and db) + switching from nginx back to apache. Is there a available working ngix vhost to use? As nginx gives huge performance+. Also, might it be php-fpm configuration tweak? All ideas are welcome on nginx+php-fpm.
Posts: 1,526Member, Administrator, Sourcefabric Team
if you would like to get more complicated (unstable) solution then try to set up nginx+php-fpm Airtime is not a cms that could be used on very high-load site. I recommend you using apache or nginx+apache for some reason. I don't see any reason to use fpm for airtime.
Posts: 1,526Member, Administrator, Sourcefabric Team
oops, I was in Airtime context. But anyway I recommend using nginx+apache instead of nginx+fpm. Use keepalive between nginx and apache (by default keepalive disabled) and it will be faster even than nginx+fpm. The memory is not an issue now.
Post edited by Andrey Podshivalov at 2012-10-31 14:05:05
Okay, will try to set up nginx with apache. Also installed varnish which makes everything to almost fly. One problem is that when I turned On APC in Newscoop preferences then some anomalies were starting to happen. For example I have 3 playlist on frontpage.
1) Displaying 1 news item in header
2) Like in default displaying topstory+frontpage news
3) Frontpage bottom news
When APC is turned on then 1. and 2. will display exactly the same news item as first..and actually playlist have different items..Really weird..any suggestions?
P.S One little issue with varnish also, CMS content images aren't showing (get_img?ImageId=xxx). I guess there should be varnish rule not to cache it?
Q: Why CMS content images are delivered by php script and other images are displaying directly from cache ?