I recently uncovered a seemingly undocumented (though reported here and there in forums online) issue with CodeIgniter’s built-in upload library. I’m sure there’s more than one, but the one I encountered was quite annoying…
Basically the core CodeIgniter upload library has a config setting to overwrite existing files of the same name, defaulting to false this forces the newly uploaded filename to have an integer suffix added to it before the file extension, e.g. my_data.csv would become my_data1.csv and so on if the preceding filenames exist. Continue reading CodeIgniter Upload Library – Fixing Filename Iteration Limitations
The issue encountered is that some of the features load but not all, namely the styling doesn’t load. This is noticeable in the case of CKEditor mostly because there is a gaping hole for the editor in the page, so it’s clearly generating the DOM elements, but not doing much more than that!
Continue reading Rails 3.1 Asset Pipeline with jsTree and CKEditor
You may have noticed that I’ve added a banner to the sidebar of the blog; this isn’t me trying to monetize the site – far from it in fact – this is a little publicity for an issue that recently arose regarding The Hobbit Free House in Portswood, Southampton.
“What issue?”, I hear you ask. Well you obviously aren’t following Stephen Fry on Twitter, who waded into the argument surrounding the Saul Zaentz Company’s (SZC from hereon to stop me having to spell that annoying name) recent threat of legal action to The Hobbit’s owners, Punch Taverns, if they don’t remove all references to J.R.R. Tolkein’s book and its characters.
Continue reading Save The Hobbit Pub in Southampton! A short tirade…
A comment on my previous post on setting up VSFTPD on Ubuntu has prompted me to write this brief supplement on how to configure VSFTPD for SSL connections.
Assuming you’ve followed the previous tutorial mentioned above, you’ll need to generate an SSL certificate using OpenSSL, then configure VSFTPD to use the key. Continue reading Configuring VSFTPD to allow secure FTP connections with OpenSSL
THis is just a hastily put together post about how to quickly do an Ubuntu server FTP setup using VSFTPD.
I should quickly note that setting up an FTP server is not something I do very often, there are probably better ways to do it, and there are probably better people out there to advise you how to do it. The fact that you’re still reading this though probably implies you’re not going to go to those other sources to get your FTP-related goodness, so here it is…
Continue reading Quick Ubuntu Server FTP Setup with VSFTPD
It came to me in the night – something has to be done about my online presence! It’s all very well tweeting occasionally and selling Expression Engine add-ons by the thimble-full, but really I need some kind of central repository of Charlie-ness.
So welcome to “Too Many Redirects”; named after the annoying – yet through no fault of its own – Safari screen, this blog shall act as a beacon for my knowledge, experimentation and anything else that tumbles out of my mouth (erm… fingers) without passing through my brain on the way down.
I shall do my best to keep this blog up to date with my latest forays into code, photography and life in this flood plain we call London town. My underlying hope is for you, dear reader, to take something away each time from here – whether a new understanding of something geeky, or an imprint on your mind of the peculiarity of mine!
So relax, sit back and enjoy the ride. Seat belts optional (but encouraged).