Solving Drupal error: PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

The problem After downloading a Drupal project I am working on, and importing its database I got this kind of message related with a PDO Exception: Additional uncaught exception thrown while handling exception. PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid…

Learning Drupal from scratch – Part 1 (in Spanish)

Drupal is becoming in one of the most used Content Management Systems (CMS) all over the world, because it is a really robust and secure platform for creating contents and publishing to the web. So, we decided to start teaching this kind of courses in our new e-learning platform: http://webtraining.mx/. These videos were created by Manuel…

What being a Base22 Agent means

“It is a great, great honor. You are now part of a special breed. Your mission: enterprise web evolution. Build better web solutions for your clients. Delight them with better-than-expected design, communication, and craftsmanship. Introduce them to better tools and technology. Provide them with better strategies and better processes for business in the digital age….

Cleaning the DNS cache

Sometimes when we are working with web projects, we have re-configure the DNS for any reason, so after that, it couldn’t be possible to connect to our page, so this is set of commands for trying to clean the DNS cache in your computer (thanks to @xmz). For Yosemite, run this command in Terminal: sudo discoveryutil…

How to get metadata of images in Mac OSX

Today, one of our clients was having an issue with images on iOS devices, so, the first thing they asked us, was about if the images were in the right format, for answering that, we had to obtain the metadata of every single image and see if the extension matched with the real information. So,…