#2756 Can't call method

closed-works-for-me
MySQL (78)
5
2004-01-05
2004-01-01
shane
No

[Thu Jan 1 14:52:37 2004] [error] Can't call method
"bytes_sent" on an undefined value at /usr/local/lib/perl5/
site_perl/5.8.0/i686-linux/Slash/DB/MySQL.pm line 1347.

using # $Id: MySQL.pm,v 1.489 2003/12/20 06:37:30 jamie
Exp $

Looking at it, I'm behind a couple revisions. I will upgrade
my system to use

# $Id: MySQL.pm,v 1.491 2003/12/31 16:43:50 pudge Exp $

later today when I have more time. And I'll post whether
that fixes this or not. But for the moment, incase this is a
bug, and it's not a known issue, I'll submit this now.

$ httpd -v
Server version: Apache/1.3.28 (Unix)
Server built: Aug 16 2003 16:54:50

$ perl -v
This is perl, v5.8.0 built for i686-linux

Discussion

  • Jamie McCarthy

    Jamie McCarthy - 2004-01-01
    • assigned_to: jamiemccarthy --> cmdrtaco
    • summary: Can't call method "bytes_sent" --> Can't call method
    • status: open --> open-works-for-me
     
  • Jamie McCarthy

    Jamie McCarthy - 2004-01-01

    Logged In: YES
    user_id=3889

    You're a couple of versions behind and you need to upgrade to
    apache 1.3.29 (as the latest INSTALL file notes).

    The 'undefined value' error means that the $slashdb object wasn't
    correctly created; this can be a problem with communication with
    the DB; there are troubleshooting tips near the end of the INSTALL
    file on this.

     
  • shane

    shane - 2004-01-02

    Logged In: YES
    user_id=52587

    Ah! I missed that.

    OK, I upped the server to Apache 1.3.29 and modperl 1.29. I'm
    still seeing the error, however.

     
  • shane

    shane - 2004-01-02

    Logged In: YES
    user_id=52587

    close this. i replaced slash/apache/user/user.pm and db/mysql/
    mysql.pm with stock , and i'm no longer seeing the error. so it's
    something that I've changed that's now causing this.
    thanks, shane

     
  • Rob Malda

    Rob Malda - 2004-01-05
    • status: open-works-for-me --> closed-works-for-me
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks