Closed Bug 146585 Opened 24 years ago Closed 24 years ago

query.cgi: Can't call method "prepare" on an undefined value at globals.pl line 270.

Categories

(Bugzilla :: Query/Bug List, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 145702

People

(Reporter: tanner, Assigned: endico)

Details

cvs update -dP from 2.15 to 2.18 and get the following error message: query.cgi: Can't call method "prepare" on an undefined value at globals.pl line 270. Can't call method "prepare" on an undefined value at globals.pl line 270 (#1) (F) You used the syntax of a method call, but the slot filled by the object reference or package name contains an undefined value. Something like this will reproduce the error: $BADREF = undef; process $BADREF 1,2,3; $BADREF->process(1,2,3);
This error is almost always caused by an attempt to execute a query before connecting to the database. Hmmm.
Turned on Sqllog, here is what I get when I try to login: 05/23/02 19:49:27 29976: DELETE FROM logincookies WHERE TO_DAYS(NOW()) - TO_DAYS(lastused) > 30 05/23/02 19:49:27 29976: Done 05/23/02 19:49:41 29981: LOCK TABLES shadowlog WRITE, tokens WRITE
Dupe of bug 145702. I may have time to fix that properly this weekend, else we'll just have to wallpaper it. *** This bug has been marked as a duplicate of 145702 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.