News & Blog

‘Change Directory Forbidden By Server’ SVN Error When Trying To Push WordPress Plugin

December 1st, 2015 - Posted by Steve Marks to Software, Web Development.
Whilst putting our latest WordPress plugin live recently, I ran into a problem whereby I was unable to commit my files via SVN. The commit message was along the lines of: Change directory forbidden by server The message doesn’t really give much information as to what the issue is but...

Resolving Error with Sending Emails via SMTP Using CodeIgniter

November 18th, 2014 - Posted by Steve Marks to PHP, Web Development.
When sending emails using the CodeIgniter Email Class, I’ve always just kept the protocol as ‘mail‘ meaning emails get sent using the standard PHP mail() function. Recently however, on an application we had been developing, emails were a critical part of the system. We ha...
Shopify Theme Missing Required Fieles

‘missing template “layout/theme.liquid”‘ Error When Uploading Custom Shopify Theme

February 20th, 2014 - Posted by Steve Marks to Software, Web Development.
I’ve been working on my first e-commerce project with Shopify over the past week. As a result I’ve have had the joy of learning their ‘liquid’ templating language whilst creating a new bespoke Shopify theme. In order to upload a theme, you first need to get the fold...
Debugging Ajax Requests

Debugging Why Your AJAX Requests Aren’t Working

February 18th, 2014 - Posted by Steve Marks to Javascript / jQuery, Software, Web Development.
AJAX is a great way to improve usability for a site or application and, with the up-rise of libraries such as jQuery, MooTools and Prototype, it’s never been easier to implement AJAX functionality. When it’s working it can make tasks quicker to complete, and also means that the...

The Cause Of My “‘/.git/index.lock’: File Exists” Error

December 18th, 2013 - Posted by Steve Marks to Software, Web Development.
When working with a new site in git earlier today I kept getting an error popup every few minutes when trying to do such actions as add files to a commit, or perform a rebase. The error read as follows: fatal: Unable to create '/path/to/site/.git/index.lock': File exists. If no other proce...

Resolving Error “Maximum call stack size exceeded” When Using Google Maps API

September 5th, 2013 - Posted by Steve Marks to Javascript / jQuery, Web Development.
I love working with the Google Maps API and have been lucky enough recently to work with it in a few projects; From simple maps with just a couple of markers, to complex maps showing polylines, polygons, directions, and much much more. Hopefully I’ll get to share some of these more a...
WordPress Plugin Activated

Debugging Why WordPress Won’t Create Plugin Tables On Activation

July 11th, 2013 - Posted by Steve Marks to MySQL, PHP, Web Development.
I’ve wrote small-ish WordPress plugins in the past, however at the moment I’m working on something a little more girthy (can a WordPress plugin be girthy?) where I’m getting to experiment with more of the advanced features. One of these features I’m getting to play ...

WooCommerce Not Working After Moving It To New Server

July 3rd, 2013 - Posted by Steve Marks to PHP, Web Development.
I’ve just moved an e-commerce WordPress site that uses the WooCommerce plugin to another server and, when going to view the new site, I started receiving the following error: PHP Fatal error: Call to a member function is_visible() on a non-object in /public_html/wp-content/plugins/wo...
Fix Uploaded Corrupt Zip File

Fix Zip Corrupting After Uploading It Via FTP

February 21st, 2013 - Posted by Steve Marks to Miscellaneous, PHP, Software, Web Development.
I came across a problem recently when uploading a Zip file via FTP. The Zip file would open fine before sending, however trying to open and extract it on the remote server resulted in an error. Inparticular, when opening the file with WinZip the error was as follows: Error: central directo...
Laravel Class Not Found

Resolving ‘Class Not Found’ Error in Laravel

January 31st, 2013 - Posted by Steve Marks to PHP, Web Development.
I’ve been building a site recently that uses Laravel and so far, so good. I did run into one small issue however that I wanted to explain as there wasn’t much written about it on the web. The scenario arose when I was trying to call a model’s method from a controller. Let...