Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

murmur.pl/.cgi issues

Help
2007-03-27
2012-10-30
  • Hi there,

    I just finished installing murmur on Linux. For registering users i tried murmur.pl in a cgi-bin directory of the webserver (apache2). When i enter name, password and email adress, the script just terminates with the following error: "Can't call method "execute" on an undefined value at murmur.cgi line 133."

    I checked line 133, which is: $sth->execute($name); $name should be defined through the form input.

    Any ideas/problem solutions/hints would be appreciated :)

     
    • LinuXgitano
      LinuXgitano
      2007-03-28

      Hi Flo,

      That perl script seems to run here locally, now.

      dev-perl/DBD-SQLite-1.13 was missing, and i had to edit the mail settings inside the script:

      User configurable settings:

      What's the name of this server?

      our $servername = "Mumble & Murmur Test Server";

      Where is the murmur.sqlite database to be found?

      our $dbpath = "/opt/bin/murmur.sqlite";

      Who should outgoing authentication emails be from?

      our $emailfrom = "mailuser";

      And what server should be used?

      our $emailserver = "mailserver";

      greetz,
      gitano

       
    • Ok, I mixed "mumble.sqlite" up with "murmur.sqlite". Now it works, thanks for the help ;-)

       
    • This means preparation of the statement failed. Look at your httpd error logs, there should be some usefull information there.

       
    • Just checked the logs:

      murmur.cgi: DBD::SQLite::db prepare failed: no such table: players(1) at dbdimp.c line 269 at murmur.cgi line 132.