Kieron Howard+ by | Jun 25, 2013 | Development
UPDATE: Instagram now allow uploads from your gallery, making this post redundant. 🙂 A few days ago Instagram added the ability to upload short video clips as well as photos using its mobile app. In the same way as Vine though, you can’t upload videos that are...
Kieron Howard+ by | May 29, 2013 | Development, Servers
Importing MySQL db into Solr4. #/opt/solr/example/solr/collection1/conf/data-config.xml                         Then /opt/solr/example/solr/collection1/conf/solrconfig.xml  /opt/solr/collection1/conf/data-config.xml  data-config.xml When I...Kieron Howard+ by | May 24, 2013 | Servers
Had a real issue installing PHPUnit on my Vagrant server. Initially I got this error: Call to undefined method PHP_CodeCoverage_Filter::getInstance() in /usr/bin/phpunit on line 39 Googling around, many people solved using: sudo apt-get remove phpunit sudo apt-get...Kieron Howard+ by | May 17, 2013 | Development
[Update] This method will install an older version of Solr. To get the latest I followed this guide. All I had to do was add: config.vm.network :forwarded_port, host: 4569, guest: 8983 to the Vagrant file. You can then start Tomcat with: /etc/init.d/tomcat6 start and...Kieron Howard+ by | May 17, 2013 | Development
Importing pre-existing MySQL DB using Doctrine in Symfony2 I came across this error: [DoctrineDBALDBALException] Unknown database type enum requested, DoctrineDBALPlatformsMySqlPlatform may not support it. The fix was found within the Symfony2 Docs To...Kieron Howard+ by | Apr 12, 2013 | Development
I needed a way of automatically generating links from blog posts, based on a pre-defined set of variables, so I built this basic PHP Class. I did’nt’ Google around to see what others had done as I fancied the challenge. I’m sure this can be improved...Kieron Howard+ by | Mar 23, 2013 | Development
Over the last few years I’ve had great experiences and results using Symfony2 to build web apps. It was the first framework I really explored and used to any extent and the focus on MVC really helped my progression as a developer. For a project I needed to...Kieron Howard+ by | Mar 20, 2013 | Development, Servers
Deploying to live/dev Deployment to the live server consists of creating a bare repo in a location on the server accessible via SSH, then pushing to that. A hook script is setup inside this repo to pull any changes out into the working directory for that particular...Kieron Howard+ by | Mar 19, 2013 | Development
I wanted to be able to handle 404 , 500 errors etc. in my own way. The first step is to create your custom error404.html.twig template. The issue I was having was that I had a dynamic menu (amongst other things) that were then not available to the view. Using the...Kieron Howard+ by | Mar 19, 2013 | Servers
It’s common practice to only allow web server access via SSH using key authentication. While this makes it impossible to login without the key, a quick look at: tail -n500 -f -s3 /var/log/auth.log Showed an endless stream of dictionary attempts trying to gain...
Recent Comments