SQLSTATE[HY000]  MySQL server has gone away
Have you seen this error show up randomly while working in your local environment? I started getting this error randomly after updating to MySQL 5.7, and it’s really bugged me. I finally tracked it down so I thought I’d share my frustration and make this issue a bit more discoverable. MySQL and Unix internals are not my wheelhouse, so if I get some details wrong, please let me know so I can correct them.
tl;dr: MySQL 5.7 will break on OS X after too many connections are left open within eight hours. Restarting the server will fix it until the next time this occurs. You might be able to prevent this by dramatically reducing MySQL’s
Now that both ExpressionEngine 3 and ExpressionEngine 2 are compatible with PHP 7, you may be wondering whether it’s worth the trouble asking your host to upgrade PHP. Why fix what’s not broken, right? If your host is resistant, certainly it’s not worth shopping for a better host, right?
There are three common myths for not updating your PHP version:
- Web hosts don’t offer the newer version.
- You don’t really gain a lot.
- Things will break.
Let’s dispell these myths.
This article will teach you how to make SEO-friendly and user-friendly Ajax pagination using ExpressionEngine in about 6 minutes.
Read on for a simple template technique that will help optimize pagination for your visitors and server resources.
Hey developers, thought I’d pass along a sweet GitHub feature I just discovered. No doubt you are already taking advantage of ExpressionEngine 3’s in-app documentation feature for your add-ons. And you probably are also using GitHub or Bitbucket to maintain your source code. Both of these fantastic sites render
README.md files on the home page of your repository.
If you use the following package structure, then your build/distribution path is clean for end users, and your in-app documentation
A few months ago, the great folks who run the ExpressionEngine Conference asked us if we would participate in a special one-day event focusing on ExpressionEngine 3.0. We were more than happy to, and with the venue they are providing along the River Walk in San Antonio, how could we say no?
Here are the talks our team has planned:
Keynote Address: It took foundational changes to both EllisLab and ExpressionEngine to get to version 3.0. I’ll share what this new release brings and where
This is a guest post from Matt Weinberg, Co-Founder, and Ben Smith, Technical Lead, of the New York City based interactive digital agency, Vector Media Group. The Vector team has immense experience with ExpressionEngine, including on high profile and high traffic sites. Find out below how they implemented Elasticsearch1 for blazing and powerful site searching in ExpressionEngine for a recent client.
We love ExpressionEngine and are always looking for new and exciting ways to integrate it with
We’re going to show how you and your clients can save thousands of dollars a year by paying more for hosting. No typo.
While helping our customers, we log in to many sites. Sometimes, the control panel is slow. To see why it’s taking so long, my first stop used to be Extensions. Now it’s a quick trip to whoishostingthis.com.
Normally, the ExpressionEngine control panel is fast. Zippy even. There aren’t many pages in the control panel that should have an execution time of more than a second.
Ever wonder how other developers handle basic content in ExpressionEngine like a blog? Tad Ward from Blue Fish Design Studios wrote a four-part tutorial last month on creating a blog in ExpressionEngine. Old hat you say? Well, this tutorial is comprehensive, taking you all the way from installation of ExpressionEngine to the finished output on your site. Not only that, their tutorial includes many thoughtful details, like best practice tips to keep your site secure, using file-based templates, and even improving SEO.
How To Create a Blog using ExpressionEngine:
- Part 1: Installation
- Part 2: Channel Fields, Categories, Channels
- Part 3: Publishing Entries
- Part 4: Templates
This post is from a featured guest, Mike Boyink, who runs Train-ee
Some businesses are started after copious amounts of market research, product viability studies, and cost/benefit analysis.
Train-ee was born out of a love for ExpressionEngine and a desire to help others learn it.
In 2006 I was active in the EE forums and someone posted “I just wish there was a series of step by step tutorials on how to use EE”. I figured I could do that. I began a rough once-a-week schedule and a few months
This post is from a featured guest, Ryan Irelan, who runs Mijingo
Mijingo was founded on ExpressionEngine. It’s the first topic I taught and the CMS that has powered Mijingo.com from the beginning.
Since publishing my first ExpressionEngine video course in 2008, I’ve been floored by how many people have told me that the Mijingo EE course was an important part of their getting started with ExpressionEngine. For some it even helped put them on a path to a different career.
One former student