June 9th, 2003

BML Parsing issue

Now that the BML changes are all done and over with (and after I've sync'd and modified everything), I can't get my BML to parse at all.

Even after deleting everything and running off a fresh sync (and without installing my local tree), BML is still not parsing.

My error log contains three errors after starting apache:

Use of uninitialized value in concatenation (.) or string at /home/lj/cgi-bin/modperl.pl line 61.
mod_perl: PerlSetVar takes two arguments, Perl config var and value
mod_perl: Undefined subroutine &Apache::BML::load_config called at mod_perl line 10.

The second line is being caused by an undefined $LJ::BML_DENY_CONFIG I believe, so what should be the value of that variable?

As for the other two error lines, I have no idea what's causing those.


Added $BML_DENY_CONFIG = " "; to ljconfig.pl, which fixed the first two errors.
Found a stale version of BML.pm on my system (strangely, in /usr/lib/perl5/vendor_perl/5.8.0). However, I'm still having the problem with BML parsing.

[another update]

Didn't change anything, but now it's returning [Error: Undefined custom element 'PAGE'] instead of the actual BML. I suppose this is somewhat a step in the right direction..