Matt (mgordon) wrote in lj_dev,

  • Mood:

Database Connectivity in Perl Code

I searched through the posts on this list and the lj_everywhere list, but I couldn't find the answer to my question in either location. Though the problem has popped up in several posts there.

I receive the following error message on any page that requires database connectivity in my install of LJ.

[Error: Can't call method "prepare" on an undefined value at /home/lj/cgi-bin/DBI/ line 252.]

I know I have the database set up correctly because the
script that checks the database connectivity throws no errors. Although when I run the script that is supposed to populate the database I see this:

Populating public system styles (S1):
Can't locate object method "prepare" via package "calendar/Clean and Simple" (perhaps you forgot to load "calendar/Clean and Simple"?) at bin/upgrading/ line 118.
calendar/Clean and Simple:

I know the user lj has access to the database because I can query all the tables by hand through the command line mysql client and over the internet through mysqlfront (my query tool of choice). Any ideas? Thanks.


  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded