-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Donnelly, Michael (OFT) wrote: | I'm trying to implement the events plugin , using mysql .. I receive | the following syslog | | error each time I so much as visit the plugins->events plugin tab. | | | | nfsen[3060]: PANIC Comm Server dies: Can't call method "prepare" on | unblessed reference at /usr/local/nfsen/plugins/Events.pm line 385, | <STDIN> line 13 Hmm .. obviously there is something wrong with the plugin. You May contact the author from that plugin directly, as it seems it's something wrong there! - Peter | | | | I suspect the db related entries in the nfsen.conf file are at the root | of the problem, since | | The mysql related entries were commented out in the example posted to | the forum and | | Most of the DBI examples I found on the web have format differences.. | | . .. My nfsen.conf entries are | | | | @plugins = ( | | # profile # module | | [ '!', 'Events' ], | | ); | | | | %PluginConf = ( | | events => { | | db_connection_string => | "DBI:mysql:database=eventsdb;host=localhost;port=3306", | | db_user => "root", | | db_passwd => "xxxxxxxx", | | }, | | ); | | | | | | Line 385 in Events.pm is : | | my $query = $dbh->prepare("SELECT count(ev.event_id) | "._get_where_clause($opts)); | | | | Mysql shows no queries in its log, so I'm real sure this is dying at the | perl level | | Can someone spot a syntax error here, or post a working nfsen.conf | with mysql ? | | | | Thank for a great application by the way .. | | | | Mike D | -------------------------------------------------------- | This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. | | | | ------------------------------------------------------------------------ | | ------------------------------------------------------------------------- | This SF.Net email is sponsored by the Moblin Your Move Developer's challenge | Build the coolest Linux based applications with Moblin SDK & win great prizes | Grand prize is a trip for two to an Open Source event anywhere in the world | http://moblin-contest.org/redirect.php?banner_id=100&url=/ | | | ------------------------------------------------------------------------ | | _______________________________________________ | Nfsen-discuss mailing list | Nfsen-discuss@lists.sourceforge.net | https://lists.sourceforge.net/lists/listinfo/nfsen-discuss - -- _______ SWITCH - The Swiss Education and Research Network ______ Peter Haag, Security Engineer, Member of SWITCH CERT PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7 SWITCH, Werdstrasse 2, P.O. Box, CH-8021 Zurich, Switzerland E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iQCVAwUBSJbBgf5AbZRALNr/AQIIRQP/a1PprxAgiZO0TmCQhdLhYDQWebfbaGRU LXvW1HUB1KfeqqIZSvUhc9afVknwxBaIaW/lG/3Y9V5hIvoPQvBBxgmg1rGmBVVR c/3bxS/DPmJ5e3yA3DAGcHNt6uYJyEEBbz9hlm2yokPn6UrBacOvfqVB9I0OxjML qPGPS///BI0= =tQfk -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nfsen-discuss mailing list Nfsen-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfsen-discuss