Re: [Radiant] Missing Layout in the Admin
OK, I've tracked this down to a statement in my production.rb: SiteController.cache_timeout = 12.hours Which raises the question - what is the correct way of overriding the caching time, and why should this affect the template rendering in the admin? N On 30 March 2010 11:02, Neil Middleton wrote: > Everything is owned as it should be, and I can't see anything out of the > ordinary otherwise. > > Any other ideas? > > On 29 March 2010 18:17, Andrew Gehring wrote: > >> I've had this happen due to ownership/permission issues... >> >> (e.g.; not owned by www-data on ubuntu) >> >> Andrew >> >> On 3/29/10, Neil Middleton wrote: >> > I have a site in production that has suddenly lost the layout for the >> admin >> > pages. I've tried blipping the webserver and vendoring Radiant into the >> > codebase. >> > >> > However, nothing seems to be fixing it, and nothing is showing up in any >> of >> > the logs. >> > >> > Any ideas? >> > >> > -- >> > Neil Middleton >> > ___ >> > Radiant mailing list >> > Post: Radiant@radiantcms.org >> > Search: http://radiantcms.org/mailing-list/search/ >> > List Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > Radiant: http://radiantcms.org >> > Extensions: http://ext.radiantcms.org >> > >> >> -- >> Sent from my mobile device >> _______ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> Radiant: http://radiantcms.org >> Extensions: http://ext.radiantcms.org >> > > > > -- > Neil Middleton > Technical Lead > Monochrome Ltd > > Tel: +44(0)845 202 0085 > -- Neil Middleton Technical Lead Monochrome Ltd Tel: +44(0)845 202 0085 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Missing Layout in the Admin
Everything is owned as it should be, and I can't see anything out of the ordinary otherwise. Any other ideas? On 29 March 2010 18:17, Andrew Gehring wrote: > I've had this happen due to ownership/permission issues... > > (e.g.; not owned by www-data on ubuntu) > > Andrew > > On 3/29/10, Neil Middleton wrote: > > I have a site in production that has suddenly lost the layout for the > admin > > pages. I've tried blipping the webserver and vendoring Radiant into the > > codebase. > > > > However, nothing seems to be fixing it, and nothing is showing up in any > of > > the logs. > > > > Any ideas? > > > > -- > > Neil Middleton > > ___ > > Radiant mailing list > > Post: Radiant@radiantcms.org > > Search: http://radiantcms.org/mailing-list/search/ > > List Site: http://lists.radiantcms.org/mailman/listinfo/radiant > > Radiant: http://radiantcms.org > > Extensions: http://ext.radiantcms.org > > > > -- > Sent from my mobile device > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > List Site: http://lists.radiantcms.org/mailman/listinfo/radiant > Radiant: http://radiantcms.org > Extensions: http://ext.radiantcms.org > -- Neil Middleton Technical Lead Monochrome Ltd Tel: +44(0)845 202 0085 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
[Radiant] Missing Layout in the Admin
I have a site in production that has suddenly lost the layout for the admin pages. I've tried blipping the webserver and vendoring Radiant into the codebase. However, nothing seems to be fixing it, and nothing is showing up in any of the logs. Any ideas? -- Neil Middleton ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Images running through the Rails processes
Has anyone done something similar with Apache? Obviously I don't want image requests using up my processes N On 23 March 2010 18:17, Jim Gay wrote: > > On Mar 23, 2010, at 2:01 PM, Neil Middleton wrote: > > > This may well have been asked before, but I can't see anything obvious in > > the archives, so apologies in advance if it has... > > > > I'm currently developing a site locally, and have noticed that all the > > images (stored in /public/system as they're uploads) are running through > the > > rails process. > > > > Whilst this is something that I can get round in Apache somehow, is there > > anything that I can do in development (using Mongrel)? > > If all you are running locally is Mongrel, then not really. > > Here's an older but relevant article > http://john.guen.in/past/2007/4/17/send_files_faster_with_xsendfile/ > > Jim Gay > http://www.saturnflyer.com > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > List Site: http://lists.radiantcms.org/mailman/listinfo/radiant > Radiant: http://radiantcms.org > Extensions: http://ext.radiantcms.org > -- Neil Middleton Technical Lead Monochrome Ltd Tel: +44(0)845 202 0085 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
[Radiant] Images running through the Rails processes
This may well have been asked before, but I can't see anything obvious in the archives, so apologies in advance if it has... I'm currently developing a site locally, and have noticed that all the images (stored in /public/system as they're uploads) are running through the rails process. Whilst this is something that I can get round in Apache somehow, is there anything that I can do in development (using Mongrel)? -- Neil Middleton Technical Lead Monochrome Ltd Tel: +44(0)845 202 0085 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
[Radiant] Layout Source Control (etc)
I realise this has been covered a little over the past year or two, but I have one specific use case I need to figure out. Essentially, we are developing sites, but we would like to keep the code for the site in Git (for history, and also to make deployments nice and easy). Thing is, we would like to include layouts (and sometimes snippets) in that control, as layouts aren't something that we like the client to mess with, their job is content. Question is, what is the best way of doing this - there seems to be a few extensions out there for copying layouts in and out of the database, but nothing that seems to make a file based layout a first class citizen... -- Neil Middleton Technical Lead Monochrome Ltd ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org