DBD::Chart: DBI->connect fails "DBD/Chart.pm did not return a true value"

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default DBD::Chart: DBI->connect fails "DBD/Chart.pm did not return a true value"

    Hello Group!

    I've got a problem with DBD::Chart (0.80). When I try to execute the
    following script:
    #!/usr/bin/perl -W

    use DBI;
    my $dbh = DBI->connect('dbi:Chart:');
    print "Connect successfull\n" if defined $dbh;
    $dbh->close;

    I get the errormessage:

    install_driver(Chart) failed: DBD/Chart.pm did not return a true value
    at (eval 2) line 3.

    at /srv/www/cgi-bin/chart.pm line 18.
    The same error also occurs when I do not try to use DBD::Chart
    together with apache (from the console and with X running).

    After the "make" process finished w/o warnings, I made tests which
    were all successful. I have all the dependend modules and libraries
    installed - I don't have a clue, where the thing fails. Anybody can
    help?

    Regards,

    Martin

    PS: SuSE Linux Pro 8.1 on i386.
    Martin Bach Guest

  2. Similar Questions and Discussions

    1. #39195 [Opn->Bgs]: if (0=="any sting") echo "it's return true";
      ID: 39195 Updated by: derick@php.net Reported By: waynewn at citiz dot net -Status: Open +Status: ...
    2. #39195 [NEW]: if (0=="any sting") echo "it's return true";
      From: waynewn at citiz dot net Operating system: win/freebsd PHP version: 5.1.6 PHP Bug Type: Scripting Engine problem Bug...
    3. "Sliced" style Pie Chart question
      The 'slices' in this type of pie chart have huge spaces between them by default, can this be controlled? I looked through the developers...
    4. Chart makes my page "inaccessible"
      I am almost done with the site I have been developing for the past week or so, and it seems that I saved the worst for last. When I add a dynamic...
    5. chart problem: set type="stacked"
      I wrote a cfc to return an array to flex. the content is : <cfset obj=StructNew()> <cfset obj = "1"> <cfset obj = "500"> <cfset obj = "400">...
  3. #2

    Default Re: DBD::Chart: DBI->connect fails "DBD/Chart.pm did not return a true value"

    OK, I solved it. Explicitly include DBD::Chart the usual way, e.g

    use DBI;
    use DBD::Chart;

    # more code here

    Regards,

    Martin Bach
    Martin Bach Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139