EPrints Technical Mailing List Archive

Message: #03049


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: irstats2 on 3.2


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@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of raffaele messuti
Sent: 20 May 2014 08:55
To: 'eprints-tech@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/