EPrints Technical Mailing List Archive
Message: #00871
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: We are at our wits end,
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: We are at our wits end,
- From: Carl Franks <C.A.Franks@dundee.ac.uk>
- Date: Wed, 25 Jul 2012 12:58:41 +0000
Phil, It’s also often worth checking exactly what’s being executed against the database – you can do this by setting the environment variable DBI_TRACE=1 I’ve not tried this with eprints, but putting this in any script or .pm file that gets loaded usually just works: BEGIN { $ENV{DBI_TRACE} = 1; } You can also output the data to a file, like so: BEGIN { $ENV{DBI_TRACE} = “1=/path/to/logfile”; }
Hope this helps,
Carl Franks Technology and Innovation in Learning Team Medical Education Institute University of Dundee School of Medicine ext 35508
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of sf2
Hi Phil, For info, which EPrints version are you using? Worth a try: - have you tried to reindex the eprint dataset? (bin/epadmin reindex <archive_id> eprint) - have you tried debugging the search to see which SQL statement gets executed (**) ? Seb (**) to enable SQL debugging, edit perl_lib/EPrints/Search/Condition.pm, look at the end of "sub sql" for: #print STDERR "\nsql=$sql\n\n"; Un-comment the line above, restart apache and re-run the problematic search - feel free to copy/paste the SQL query here so we can have a look.
On Wed, 25 Jul 2012 22:12:26 +1000, "Phil" <philpearson@iinet.net.au> wrote:
The University of Dundee is a registered Scottish Charity, No: SC015096 |
- References:
- [EP-tech] We are at our wits end,
- From: "Phil" <philpearson@iinet.net.au>
- [EP-tech] Re: We are at our wits end,
- From: sf2 <sf2@ecs.soton.ac.uk>
- [EP-tech] We are at our wits end,
- Prev by Date: [EP-tech] Re: IRStats, ChartDirector and license
- Next by Date: [EP-tech] Re: IRStats, ChartDirector and license
- Previous by thread: [EP-tech] Re: We are at our wits end,
- Next by thread: [EP-tech] Re: We are at our wits end,
- Index(es):