Skip to main content
Home
Nicholas Mangold

Main navigation

  • About
  • Projects
  • Blog
  • Contact
User account menu
  • Log in

Breadcrumb

  1. Home

Blog

reCaptcha always failing

I ran into an issue implementing reCaptcha on my website, after making several updates and changes to my architecture. The problem was the reCaptcha was always failing, even after every successful submission. In order to figure out the problem, I put the following code in the submit method of the Drupal7Post class.

  • Read more about reCaptcha always failing
  • Add new comment

Installing PHP5.3, Apache2.2, MySQL 5.5, phpMyAdmin and Memcache on OSX using MacPorts

Note: This technique also works for other versions, just change the version number. For example, if you want to to install PHP5.6 or PHP7.3. Just change the version number wherever it appears, such as php56-apache2handler or php73-mysql.

Another tut that I found helpful, https://trac.macports.org/wiki/howto/MAMP

  • Read more about Installing PHP5.3, Apache2.2, MySQL 5.5, phpMyAdmin and Memcache on OSX using MacPorts
  • 1 comment
  • Add new comment

Set file permissions on all subfolders

Changing the file permissions of only the directories, or only the files, under a directory can be a cumbersome task if you have taken the approach to manually look for only the directories and set file permissions individually. Thankfully, the following commands will find the directories and files respectfully under the sites/default/files/ directory, and change them to the most common file permissions for public files on a web server. To change all the directories to 755 (drwxr-xr-x): 

  • Read more about Set file permissions on all subfolders
  • 2 comments
  • Add new comment

Your MySQL Server is too old. Drupal requires at least MySQL 4.1.1.

I received this error when I tried to reinstall Drupal. I was creating a feature to include on other sites, and wanted to make sure everything worked on a clean install. The problem was caused by the following line in my settings.php file, which I added for the Domain Access module: 

include './sites/all/modules/contrib/domain/settings.inc';

Commenting out that line allowed Drupal to install successfully.

  • Read more about Your MySQL Server is too old. Drupal requires at least MySQL 4.1.1.
  • Add new comment

How to create an email action with multiple recipients in Drupal 6

The only way I could find to have more than one recipient for an email action is to add both the Token and Token Actions modules, and then create a 'Send tokenized email...' action with the recipient email addresses separated by commas. It took me a while to figure this out. So, I hope it helps someone.
  • Read more about How to create an email action with multiple recipients in Drupal 6
  • 1 comment
  • Add new comment

Pagination

  • First page
  • Previous page
  • Page 1
  • Page 2
  • Page 3
  • Next page
  • Last page

Certifications

Badge for the Acquia Certified Developer - Drupal 7 certification
Badge for the Acquia Certified Front End Specialist - Drupal 7 certification
Badge for the Acquia Certified Back End Specialist - Drupal 7 certification
Badge for the Acquia Certified Grand Master - Drupal 7 certification

Recent Projects

Argonne National Laboratory

Screenshot of the Argonne National Laboratory homepage

Texas OAG

Screenshot of the Texas OAG homepage

Siemens PartQuest

Screenshot of the  Seimens PartQuest homepage

DODEA

Screenshot of the DODEA homepage
View more projects

Recent blog entries

  • How to use sudo with Touch ID on macOS Sonoma 14.x and above
  • Drush throws an "Access denied; you need (at least one of) the PROCESS privilege(s)" error message
  • Troubleshooting "ERROR 1227 (42000) at line 18: Access denied; you need (at least one of) the SUPER privilege(s) for this operation"
  • How to set up a local Drupal environment
  • How to use sudo with Touch ID on a Mac
View more blog entries
RSS feed
Powered by Drupal