See the Mailing Lists Page for how to subscribe and unsubscribe.
eprints_tech messages
Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.
[EP-tech] Re: Anyone out there using Irstats on EP3
From: "David Kane" <dkane AT wit.ie>
Date: Fri, 21 Nov 2008 14:30:26 +0000
| Threading: | ↑ [EP-tech] Anyone out there using Irstats on EP3 from dkane AT wit.ie • This Message → [EP-tech] Re: Anyone out there using Irstats on EP3 from tdb01r AT ecs.soton.ac.uk |
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** EPrints community wiki - http://wiki.eprints.org/ Sorry to bug you about this, but I am having trouble with IRStats: Can't connect to database. Can anyone help me on this error? _____________________________________ sudo -u eprints /var/www/cgi-bin/irstats.cgi --config /etc/irstats.witeprints.conf update_table DBI connect('database=witeprints;host=localhost;port=3306','witeprints ',...) failed: Access denied for user 'witeprints ' AT 'localhost' (using password: YES) at /var/www/irstats/lib/IRStats/DatabaseInterface.pm line 36 Could not connect to database dbi:mysql:database=witeprints;host=localhost;port=3306! at /var/www/irstats/lib/IRStats/DatabaseInterface.pm line 36 IRStats::DatabaseInterface::new('IRStats::DatabaseInterface::mysql', 'session', 'IRStats=HASH(0x87b4e00)') called at /var/www/irstats/lib/IRStats.pm line 110 IRStats::new('IRStats', 'verbose', 0, 'force', 'undef') called at /var/www/irstats/lib/IRStats/CLI.pm line 44 IRStats::CLI::handler() called at /var/www/irstats/lib/IRStats.pm line 70 IRStats::handler() called at /var/www/cgi-bin/irstats.cgi line 30 ___________________________________ Thanks, David. 2008/11/19 Rory McNicholl <r.mcnicholl AT ulcc.ac.uk> > http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech > *** EPrints community wiki - http://wiki.eprints.org/ > > Dennis - UT wrote: > >> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech >> *** EPrints community wiki - http://wiki.eprints.org/ >> >> ↵ ------------------------------------------------------------------------ >> >> Hi David, >> Yes, we do. I posted a howto on this list before and posted a few ↵ changes >> later on. I attached a version with those changes integrated into, I ↵ hope >> it's complete now. >> Dennis >> University of Twente >> >> >> > Yes cheers Dennis, really helpful. > > I would also like to add little patch for a couple of the irstats modules. > > It seems that when you initially install irstats a lot of the monthly > graphs return an error either > > Illegal modulus zero at > /var/www/irstats/lib/IRStats/Visualisation/Graph/Bar.pm line 49. > or Can't use an undefined value as an ARRAY reference at > /var/www/irstats/lib/IRStats/Visualisation/Graph/Line.pm line 95. > > > These seem to be due to the graph drawing code not reacting too well when > there is not enough data to constitute a month. It probably doesn't matter > in the long term but may put people off if they are initially greeted by > software errors. > > I have attached a couple of patches that should hopefully help. Did the ↵ job > for me anyway. > > Rory > > > > -- David Kane Systems Librarian Waterford Institute of Technology http://library.wit.ie/ T: ++353.51302838 M: ++353.876693212ATTACHMENT: message.html!
[index] [prev] [next] [options] [help]




