Get There

Projects

Style Menu

The style menu is suppressed whilst redesign occurs.

Where I’m @

20060328

PHP and CURL on Windows
We have been bit by this dead bee before, that trying to use CURL on a Windows machine fails with the maddening error Unable to load dynamic library in 'path/to/extensions/php_curl.dll'. This time, we are determined to record the solution so we can retrieve it next time. Turns out that libeay.dll and ssleay.dll need to be copied into %systemroot%\system32\ (or somewhere else in your PATH), or CURL will not work. We wish deeply that there were a better error message, like, say “libeay.dll [or ssleay.dll] not found”. Which is itself not a model of a modern major error message, but it speaks to the problem more than the current one.

posted by Tk at 17:14 • • sealed in amber

20060324

Bugzilla Permissions
We recently moved our development server from one set of hardware to another, and when using Bugzilla on the new machine, we encountered a permissions omission that we needed to note for future reference. (We may encounter more, and this will serve as a starting point for troubleshooting.) IUSR_[machine name] needs to have Modify permission to the Bugzilla data directory, most likely found in bugzilla\data. (In our defense, we try to run web apps with tight security, and the Bugzilla doco does not deal with IIS permissions in any granular manner.) We run Bugzilla 2.20, and Bugzilla team has declared an intent to permit the data files to be placed out of the webroot in the future, so that path may well change.

posted by Tk at 10:05 • • sealed in amber

20060320

Adware Executable
Our Symantec System Center this morning notifed us that it had found and quarantined as adware a file from one of our users’ desktop’s backup. Since we did not see the executable at the Symantec Antivirus Research Center (SARC) webpage and googling it (ditto newsgroups) did not bring back any results, we are posting it here for future reference. The name of the executable is bbsetupdb.exe, and once that user comes in and we have a chat, we’ll make a note of what she thought it was and where she thought she might have gotten it.

posted by Tk at 08:48 • • sealed in amber

20060309

Truly Random RecordSets in ASP
We were having a dickens of a time trying to figure out why our SQL would be generating randomly ordered results every time when run in MS Access, but not in our ASP page. Eventually, we thought we had found it with 15 Seconds’ article on this topic. But no. Some little piece was missing. Then we came across Ken Schaefer’s writings on getting random records and we saw that we could be ordering the results by referring numerically to one of the items in the SELECT clause. So sue us, we never knew about that. Or had forgotten. Probably the latter. [cough, cough]

So anyway, the other half of the key, which we had tried before, was generating a random number in the VBScript and jamming it into the SQL statement. Our end product:

' generate random number for randomizing SQL
Dim intRandomNumber
Randomize()
intRandomNumber = Int( 1000 * Rnd ) + 1
sql = "SELECT Rnd( " & -1 * ( intRandomNumber ) & "
* numericID ), numericID 
FROM tableName
ORDER BY 1"

posted by Tk at 18:31 • • sealed in amber

Where I’ve Been

Feb  2K1Mar  2K1Apr  2K1May  2K1Jun  2K1Jul  2K1Aug  2K1Sep  2K1Oct  2K1Nov  2K1Dec  2K1Jan  2K2Feb  2K2Mar  2K2Apr  2K2May  2K2Jun  2K2Jul  2K2Aug  2K2Sep  2K2Oct  2K2Nov  2K2Dec  2K2Jan  2K3Feb  2K3Mar  2K3Apr  2K3May  2K3Jun  2K3Jul  2K3Aug  2K3Sep  2K3Oct  2K3Nov  2K3Dec  2K3Jan  2K4Feb  2K4Mar  2K4Apr  2K4May  2K4Jun  2K4Jul  2K4Aug  2K4Sep  2K4Oct  2K4Nov  2K4Dec  2K4Jan  2K5Feb  2K5Mar  2K5Apr  2K5May  2K5Jun  2K5Jul  2K5Aug  2K5Sep  2K5Oct  2K5Nov  2K5Dec  2K5Jan  2K6Feb  2K6Mar  2K6Apr  2K6May  2K6Jun  2K6Jul  2K6Aug  2K6Sep  2K6Oct  2K6Nov  2K6Dec  2K6Jan  2K7Feb  2K7Mar  2K7Apr  2K7May  2K7Jun  2K7Jul  2K7Aug  2K7Sep  2K7Oct  2K7Nov  2K7Dec  2K7Jan  2K8Feb  2K8Mar  2K8Apr  2K8May  2K8Jun  2K8Jul  2K8

Where I’m Going

Affiliations

  • Aortal button and link
  • NYCBloggers.com button and link
Blogger button