The Wichita Computer Guy's Contribution Blog
PHP date() date_create() strtotime() options
OK, so I linked to the following information on a Drupal help page, thinking the page would be available for at least the next 10 years... I was wrong. It's gone. Doing some digging though I was fortunately able to find the information again and decided this time to copy it and archive it for my own records in case the new location decides to vanish as well...
Unix Command Line Stuff Worth Remembering
Here you will find a list of different UNIX style commands that come in handy while operating a *NIX based operating system. I personally am not a big fan of command line stuff considering the advancements in technology make it completely dated, however others in the community will heavily disagree...
Since I have to do some UNIX / Linux type of stuff now and again, I have compiled a list of commands that I don't feel like remembering because I use them maybe once every six months.
This list is an on-going process.
Recursive chmod only files within this folder:
Drupal Drush Slow
Drush for Drupal is an awesome command line tool that allows you to do all sorts of things from a command line interface.
I recently ran into a situation where Drush started running extremely slow for me for no apparent reason. Looking at the CPU usage through top, I noticed "php-cli" was running at 99% while trying to do something with Drush and it would take 10+ seconds for Drush to finish, and sometimes it wouldn't finish at all, forcing me to Ctrl+c.
How To Add A User Contact Form To Drupal Panels
I recently wanted the ability to add a node authors contact form, to a panel. If you don't know what Panels are, check them out. It's the future of Drupal IMHO and panels lets you lay out a website in row/column format, dragging and dropping just about any piece of information you want. It's beautiful.
Edit FastCGI Config For cPanel
I migrated hosts from a shared server package (managed by host) to a VPS package (managed by me) and ran into a http error 0 error on drupal... After about 2 hours of research, I ran across a wonderful blog post out on munkeyonline.co.uk with a handful of tips on how to possibly solve the error.
About halfway down the page is an area titled: "Check FastCGI config" which the author has a single line posted, fixing my issue: "add" MaxRequestLen 15728640 to conf file /etc/httpd/conf.d/fcgid.conf