Search Results for: user
Spotify Review
Biking Favourite
Kris Holm is a unicyclist who used to ride some pretty gnarly trails (yes, on the unicycle). You can see some of this on youtube. Looks like he has gotten more into more of a trials/street form of riding.
NAUCC 2010 from Max Schulze on Vimeo.
The next video is sort of a promo for a Contour video camera. I love this vid though. It just gets me stoked to go out and ride. Mike Kinrade is know for his big mountain riding style and it shows here. Looks like he was just out having a great time with his buddies which is my favourite reason to go mountain biking.
Cron Errors
Some time in the last 6 months I was finding that cron would get stuck and not complete in the hour. Another would get started and block. Eventually my webhost stopped spawning processes for my user which lead to weird errors on my web page (page not found errors).
I was logged in as me, not the uber administrator when I started messing about. I cleared the cache tables, including the cache_menu table. I was planning on rebuilding the cache table, then the menu system. I was logged in with the wrong account, and I couldn’t remember the administrator account. Since I had thrown out the menu system, I couldn’t navigate to the lost password page.
I had royally messed up my site.
I fixed it by going into the DB and copying the known password from one user to that of the administrator account. I logged in as administrator, ran cron.php manually, then hit up the page to rebuild the menu system.
So far so good. The next day I ran into this tip: How to reset the password of user 1. A little DB query action to set the administrator account password.
I am still having the weird cron blocking issue though. Every couple days I just log in to my web host and kill the running processes and then everything runs fine for a bit. Bandaid solution that is labour intensive.
I can’t figure out how to debug cron issues in drupal though. I’ve read some tips that running update.php can reset things, but that didn’t work for me. I’ve read this page that suggest modifying core files to add more logging about which module is running cron. I think that will be my next step.
Lusting List
On boxing day I went into a Chapters and spied several books that I would love to read if I had the free cash and the free time.
Yesterday I was in Munro’s and spotted a couple more books that looked interesting:
Googled: The End of the World as We Know It
Yesterday I was also in Lens and Shutter perusing.
I fell in love with the Gary Fong flash diffuser sets until I saw how big they were. Huge. I then looked at some other diffuser options. I ended up finding the diffuser I wanted at a reasonable price, but they didn’t have the one I needed for the Canon 430EX.
I also spied a wonderful new camera bag. The Crumpler $7 Million Home. Looks awesome, and I think it would hold my gear more comfortably than the current bag I have.
What’s the point of typing all this up? To remember for later. If when I have a job and I have some spare cash I still think I want these items, I now have it recorded what they were.
Another Over
CR-Helmet Cam from http://coastalcrew.blogspot.com/ on Vimeo.
via the Coastal Crew on vimeo
Teaser Revolve
Kranked – Revolve Teaser from http://coastalcrew.blogspot.com/ on Vimeo.
via NMSB.com
Mistake Effect
Changing this in the database proved daunting and fraught with danger. While I was reading the Using Drupal book I discovered the views bulk operations module.
This module provided the ability to change the owner of a node. A light bulb went off and I quickly realized what needed to be done.
I set up a view to see all nodes (content) on my site. I then configured the view to allow bulk editing, and chose the “Change the author of a post (node_assign_owner_action)” operation. I tested this a bunch before enabling this view. The main issue I found was that I couldn’t target content for a specific userid. Instead I targeted content for the currently logged in user.
I then created a new_gfox account, and then when I was logged in as my first account started using the view to assign the content to my new account. A few minutes later I was done.
It was pretty easy to do this once I had the missing piece of the Views Bulk Operations. After the assigning was all done I renamed my first account, then renamed my new account.
The only unfortunate side effect was that the notification or subscription module went berserk with all the changes and sent out a ton of email to people who were subscribed. Woops, should have disabled that for a few minutes.