2007 May 06 - Sun
Movable Type Links
Here are some links to various pages in Movable Type that look useful:
[/OpenSource/Debian/MovableType]
permanent link
I Hate PHP on a database call.
I think this is the second time I've been caught on this. And I should have recalled the
second time around to check this.
I'm working through the process of installing and playing with Movable Type. It went quite
well. Configuration and maintenance and adding content worked well. Well, up until I
decided to enable Dynamic Content generation. Then I found out Movable Type has two faces,
a Perl one and a PHP one.
To handle dynamic content, they do an Apache redirect/rewrite through a default php
script, one that does a database call. And in order to do the databae call, it opens a
connection to the database.
I'm testing with PostgreSQL. My Debian install didn't have, by default, the php4-pgsql
package. If it isn't installed, PHP simply aborts somewhere in the code, quietly. How
silly. No errors, no messages, no nothing.
So after untold 'echo()' statements later, I tracked it down to a call in the ezsql
implementation. Finally the light bulb went on over my head. The fix:
apt-get install php4-pgsql
I'm wondering if there is a way to test for this package, so I don't forget this again.
I probably didn't clue into this before because the main Movable Type scripts are in Perl
and use the database connections there. I made the, obviously incorrect assumption, that
the PHP scripts were involved and already knew about the database driver. Well, I was
incorrect on that one.
[/OpenSource/Debian/MovableType]
permanent link
apt-get: Managing Packages
In a few of my earlier articles regarding upgrading and updating a Debian system, I
missed a
few key facts.
In one article, a mentioned performing a distribution upgrade. Another one mentioned
doing a kernel upgrade and missing an lvm2 module.
The key is that if modules are being held-back, that is a sign that a distribution
upgrade will be needed:
apt-get -u dist-upgrade
The -u parameter provides more detail as to what will be happening during the upgrade.
More details for working with packages can be found at APT
HowTo
[/OpenSource/Debian]
permanent link
SmartQuant QuantDeveloper & DataCenter Release
SmartQuant has released a revision
to DataCenter and
QuantDeveloper. DataCenter and QuantDeveloper are at the following revision levels:
DataCenter
Version 2.2.3 (12-Apr-2007)
QuantDeveloper Enterprise Edition
Version 2.5.4 (04-May-2007)
QuantDeveloper Source Code
Version 2.5.1 (23-Mar-2007)
* Recent Versions available through
version control
[/Trading/SmartQuant/Releases]
permanent link
|