Friday, 29 May 2009

IIS6 using an SSL certificate on more than one site on one IP

This is the command to run:

C:\Inetpub\AdminScripts>cscript.exe adsutil.vbs set /w3svc//SecureBindings ":443:"

Site indentifier - Is the site ID assigned by IIS
Host name - Is the site URL e.g. something.domain.com, www.domain.com

This command is useful if you have a wildcard or unified communications certificate.

Original article is here:

http://www.sslshopper.com/article-how-to-configure-ssl-host-headers-in-iis-6.html

Monday, 19 January 2009

MODx "$rs not set! New variable not saved!" Error

After upgrading MySQL on a new server I noticed an issue with MODx not being able to add Template Variables. I managed to find a workaround by setting the sort order to "0" which allowed the new Template Variable (TV) to be saved. The problem wasn't solved though as the TV would not store any content. The solution was to change the MySQL configuration to remove "STRICT_ALL_TABLES" or "STRICT_TRANS_TABLES" from the "sql-mode" in the MySQL ini file.

Monday, 5 January 2009

MODx Ditto Error

Just had this error after I upgraded a site from 0.9.6.2 to 0.9.6.3:

PHP error debug
Error: Missing argument 18 for ditto::determineIDs(), called in D:\inetpub\vhosts\tcp.eu.com\httpdocs\manager\includes\document.parser.class.inc.php(769) : eval()'d code on line 792 and defined
Error type/ Nr.: Warning - 2
File: D:\inetpub\vhosts\tcp.eu.com\httpdocs\assets\snippets\ditto\classes\ditto.class.inc.php
Line: 571
Line 571 source: function determineIDs($IDs, $IDType, $TVs, $orderBy, $depth, $showPublishedOnly, $seeThruUnpub, $hideFolders, $hidePrivate, $showInMenuOnly, $myWhere, $keywords, $dateSource, $limit, $summarize, $filter, $paginate, $randomize) {

The solution was to overwrite the "assets/snippets/ditto" folder with the version from the previous MODx install. Or the other option would be to update the snippet calls as there must be a change in the new version of ditto.

Tuesday, 9 December 2008

The Largest Tree Crusher in The World

After spending some time working on the mini crusher hire websites for Taylor Construction Plant it made me wonder how big the largest crusher in the world might be.

Well in the Internet era there's no need to wonder! I searched on Google and found this super crusher. An awesome feat of engineering but I have to feel sorry for the trees.

Thankfully the Hi-C40 crusher from TCP is a different kind of beast and is more suited to crushing concrete paving slabs, bricks and other general building rubble. Ideal for a new sub-base or similar.

Thursday, 4 December 2008

Crusher Hire to the Rescue!

The construction industry is going through one of the worst periods in most people's memory and with banks offering mortgages that require a 40% deposit it's no wonder first time buyers are becoming a very rare breed. That's not to mention the effect that job uncertainty and falling prices is having on the UK housing market.

But fear not because there are means and ways in which the small builder and landscaper can reduce their costs and improve their efficiency. OK, it's not going to solve all the problems, far from it, but mini crusher hire can certainly help.

There are no doubt many an occassion when small builders and landscapers could hire a mini crusher and avoid having to use a skip and then buy in imported fill. The net result is a significant saving. Plus you can boast of your green recycling credentials!

Thankfully I know just the people who can help too:

Wednesday, 19 November 2008

Nice Alpha Transparency Scrolling Effect

Similar to the Clearleft Silverback holding page:

http://www.webleeddesign.com/

Tuesday, 18 November 2008

PHP Mcrypt

To install PHP Mcrypt:
  1. Uncomment the php_mcrypt.dll extension in the php.ini file
  2. Copy the libmcrypt.dll from the PHP install root to C:\WINDOWS\System32\
  3. Restart WWW service