Could not open input file: composer.phar error in Symfony 2. SOLVED.

This is a common issue that is related to bad installation of our favorite PHP package manager: Composer. Let’s fix it: Open your terminal and run following comand in order to get the latest version of Composer: curl -sS https://getcomposer.org/installer | php I recommend you to move the composer.phar file to a global “bin” directory,…

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…

Introduction to Joomla! CMS – Session 1 (in spanish)

  Why should I use a CMS? When you start to create websites for information spreading or marketing purposes, one of the easiest and -probably- the best way to do it, is by using a Content Management System (CMS). Why? Well, let me tell you some points about it: SEO Friendly URLs Modular and extensible Easy user…

CakePHP Database connection “Mysql” is missing, or could not be created in CakePHP Console SOLVED

Today, I spent some time helping a partner of mine trying to figure out how to enable and use the CakePHP console in Mac OS + XAMPP (Mac OS version of course), so, after searching on the internet what was going on, I realized there was a problem with the unix_socket for MySQL because Mac…