Web Development Articles

Installing MySQL on CentOS 7

So I have finally gotten around to trying out CentOS 7 as a local machine, and I started by doing my normal installs I need for my local development: PHP, MySQL, Modrewrite, etc. But when I went to start MySQL (after not having paid attention to the install messages) I got the error: Failed to issue method call: Unit mysqld.service failed to load: No such file or directory.

Read more ›
Posted in Linux Tagged with: , ,

Test Internet Speed from the Command Line (cli)

Today, I needed to see what the downstream was like for a server I help maintain. Usually in Windows I would go to SpeedTest.net and see what it was, but this isn’t going to easily work on a CentOS server. What to do?

Read more ›
Posted in Linux Tagged with: , , ,

Using Jquery To Select or Deselect All Checkboxes

I recently built a page that lists all orders within a MySQL database and displays them inside a table, one per row. Each row has a checkbox so the end-user can select what orders they want to export to a CSV file. Pretty standard stuff.

Read more ›
Posted in Jquery Tagged with:

Drupal and the views_plugin_display::destroy() Error

On a staging site we have setup for a client, I started get the dreaded WSoD (White Screen of Death) on a Drupal 7 site. It seemed out-of-the-blue, so I decided to look into the issue, as it was not allowing me to clear all caches or view blocks.

Read more ›
Posted in Drupal Tagged with: , ,

Inserting a View Block Into a Node in Drupal 7

A client recently asked us to add blogging capabilities into his Drupal 7 site. Easy enough. Just turn on the content type, set the correct permissions, setup a WYSIWYG editor for them, etc. But they wanted the most recent blog entries to appear inside the content of the home page. How could we do this? Could we easily add a view block into the body of our node?

Read more ›
Posted in Drupal Tagged with: , ,

Edit A Custom Field Size in Drupal 7

We have been working on a rather large project (for us), and within Drupal we had created a custom node type for a clients products. These aren’t products that you can purchase on the website. These are products they sell that their clients can direct order from.

Read more ›
Posted in Drupal Tagged with: