[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Re: irstats2 on 3.2
- Subject: [EP-tech] Re: irstats2 on 3.2
- From: J.Salter at leeds.ac.uk (John Salter)
- Date: Tue, 20 May 2014 09:17:35 +0100
- In-reply-to: <EMEW3|5fca8d1cdca1e792f2ba52f719dc6e15q4J8us14eprints-tech-bounces|ecs.soton.ac.uk|537B0A45.9080107@gmail.com>
- References: <537B0A45.9080107@gmail.com> <EMEW3|5fca8d1cdca1e792f2ba52f719dc6e15q4J8us14eprints-tech-bounces|ecs.soton.ac.uk|537B0A45.9080107@gmail.com>
Hi Raffaele,
I haven't used it on 3.2, but there are some comments in the z_irstats2.pl file - regarding dynamic templates and triggers.
Might be a good place to start...
# prevents EPrints 3.2 from breaking (because that trigger isn't implemented in that versin of EPrints)
# # the value '16' comes from EPrints::Const::EP_TRIGGER_DYNAMIC_TEMPLATE
$EPrints::Plugin::Stats::EP_TRIGGER_DYNAMIC_TEMPLATE ||= 16;
Cheers,
John
-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of raffaele messuti
Sent: 20 May 2014 08:55
To: 'eprints-tech at ecs.soton.ac.uk'
Subject: [EP-tech] irstats2 on 3.2
i've installed irstats2 on a 3.2 eprints. the processing went fine,
but the report page totally hangs every browser.
i've isolated the problem disabling google chart plugins:
$c->{plugins}{"Stats::View::Google::GeoChart"}{params}{disable} = 1;
$c->{plugins}{"Stats::View::Google::Graph"}{params}{disable} = 1;
$c->{plugins}{"Stats::View::Google::PieChart"}{params}{disable} = 1;
$c->{plugins}{"Stats::View::Google::Spark"}{params}{disable} = 1;
how i can debug more on this?
what tecnique do you use to debug javascript in eprints?
analyzing the access log i see that every call to /cgi/stats/get
return hashes of data correctly.
greets
--
raffaele
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/