dcpromo on Win2k crashes with error 128

Stumbled on this problem setting up AD (finally!) for our office.

dcpromo kept crashing and reporting a services.exe error 128 and triggering an auto reboot. The root problem (comment #14 there) turned out to be a large hosts file. Some years ago I had used the Spybot hosts file entries. Apparently Win2k didn't appreciate that during dcpromo. Removing those entries and rolling back to a simple hosts file fixed the problem.

The Shortest SEO Guide

This is worth a link after a recent experience I had with a local business: The Shortest SEO Guide. Here it is:

File under "awesome".

freetags:

pngfix, IE6, and unclickable links

From a little Google searching, this appears to be a common problem when using pngfix for nav background-images. The pngfix (in my case, I'm using a jquery plugin) operation somehow screws up the layering of elements once it runs. It many cases, it wouldn't create a problem. But when using PNGs as backgrounds for navigation menus, the links become unclickable. (I've also read that form elements become unavailable, too.)

freetags:

Use This Drupal Gallery Module!

If you're looking for a Drupal module that makes image galleries easy for your clients, use Node Gallery. Don't question. Just use it. Makes galleries so much easier, especially when using it with the plupload integration module.

freetags:

CakePHP ReplaceableBehavior: Store modified data for history/audit use

2010-09-24: Converted the bare behavior to a behavior-only plugin for easy git submoduling. Tweaked controller code appropriately.
2010-09-24: Set up a github project. Clone from git://github.com/tomws/replaceable.git into /path/to/project/app/plugins/

freetags:

Real-caching CakePHP permitted actions

UPDATE: I've switched over to using Phally's namespace caching and have updated the relevant lines in the code below.

Note the two previous stories on this subject:

freetags:

Allowing db overrides of hard-coded conf values in CakePHP

I've had this sitting in my project code for a while. After doing a bit of rework today, I thought the concept might be useful to CakePHP noobs (of which I am one).

freetags:

Keeping server time correct on Debian

I got confused trying to get the clock on one of my Debian servers to keep time. It's actually quite easy, though, using the ntpdate package.

After installing ntpdate, set a crontab entry to run ntpdate-debian. Running ntpdate itself results in errors, but ntpdate-debian correctly checks central timeservers and updates the clock.

freetags:

Fake caching CakePHP permitted actions

See an update here: Real-caching CakePHP permitted actions

In my previously posted CakePHP component/helper pair (and more) that displays links in views depending upon ACL permissions, I've added a fake caching system for storing permissions. I call it "fake" caching because I'm not using Cake's cache system at all. Rather, I'm "caching" the user's ACL-permitted actions in his session. Whenever the session is regenerated, the fake cache will be, also. It will also allow forcing of a refresh of the list. First up, here's the code that I drop into app_controller.php:

freetags:

Including PHPBB functions directly into CakePHP

Sarina sent in a message with a much easier way to use phpBB functions in CakePHP when integrating the users.  Apparently, I invent my own complexity sometimes.  This is a far better way to code the User model than my sloppy copy/paste method outlined earlier.  Here's her code:

Note that you can shorten the model by including the functions directly from phpbb:

freetags:

Pages

Subscribe to Tom's Sandbox RSS