Aaron B. Russell (idigital) wrote in lj_everywhere,
Aaron B. Russell
idigital
lj_everywhere

Apache::DBI::db versus DBI::db

Moving Minilog.com to a new server. Followed the following proceedure:

  • Add Apache directive
  • Configure MySQL
  • Download fresh copies of everything from CVS onto new server
  • Set up cgi-bin/ljconfig.pl
  • Dump DB on old server
  • scp the SQL file from the old server to the new server
  • Import DB on new server
  • Stop/Start Apache


Some stuff is broken. Namely comments (what used to be talkread.bml, etc) and userinfo.bml. There's probably more that's broken.

userinfo.bml has this at the top of the page: [Error: Not an ARRAY reference at /home/www-minilog/cgi-bin/ljlib.pl line 2988. @ plato.rocketdogcreative.com]

I've been told that the ARRAY reference it's expecting is supposed to be along the lines of DBI::db=HASH(0x9e93238), however when I push it to @errors in userinfo.bml (or print it in ljlib.pl) it's Apache::DBI::db=HASH(0x9e93238).

This only seems to happen on this one machine. What did I screw up?
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 6 comments