[EP-tech] Re: Jason Error

Sebastien Francois sf2 at ecs.soton.ac.uk
Thu May 29 11:21:51 BST 2014


Hi,

The files which handle the ajax phrases are:

- lib/static/javascript/auto/99_eprints_api.js (display the phrases)
- cgi/ajax/phrase (delivery of the phrases)

If you get a 500 then the error comes from the CGI script - you should 
get a message in the apache error logs (but won't be "Failed to load 
phrases" - that's done by the JS).

That functionality needs the PERL "JSON" module - is it installed on 
your server (*) ?

Seb.

(*) you can check on the command-line:

$ perl -e "use JSON;"

should display nothing.

On 28/05/14 09:52, Levy, Simon wrote:
>
> Found no reference to 'Failed to load phrases' in the apache logs. 
> Used the firefox + firebug extension and it showed 'error 
> networkerror:500 internal server error' But this now appears to be my 
> machine only.
>
> Rgds,
>
> Simon Levy
>
> T Internal: 67103
>
> T   0208 417 7103
>
> E S.Levy at kingston.ac.uk <mailto:S.Levy at kingston.ac.uk>
>
> Kingston University London
>
> Penrhyn Road, Kingston upon Thames KT1 2EE 
> www.kingston.ac.uk<http://www.kingston.ac.uk/>
>
> Information in this email and any attachments are confidential, and 
> may not be copied or used by anyone other than the addressee, nor 
> disclosed to any third party without our permission. There is no 
> intention to create any legally binding contract or other commitment 
> through the use of this email.
>
> Please consider the environment before printing this email.
>
> *From:*eprints-tech-bounces at ecs.soton.ac.uk 
> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] *On Behalf Of *John Salter
> *Sent:* 28 May 2014 09:10
> *To:* 'eprints-tech at ecs.soton.ac.uk'
> *Subject:* [EP-tech] Re: Jason Error
>
> Hi Simon,
>
> Firstly I'd look in the apache error logs on the server -- any 
> references to 'Failed to load phrases' might be worth investigating. 
> If that's not useful, try using e.g. Firefox + Firebug extension* to 
> investigate the AJAX calls being made. Look in the 'console' tab to 
> see what is making the call -- and to where, and what is (or isn't) 
> being returned.
>
> Cheers,
>
> John
>
> *Other browsers also have debug/investigation capabilities -- this is 
> the pairing I use.
>
> *From:*eprints-tech-bounces at ecs.soton.ac.uk 
> <mailto:eprints-tech-bounces at ecs.soton.ac.uk> 
> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] *On Behalf Of *Levy, Simon
> *Sent:* 28 May 2014 08:11
> *To:* 'eprints-tech at ecs.soton.ac.uk'
> *Subject:* [EP-tech] Jason Error
>
> I have started to get the following pop error on Eprints. This seems 
> to pop up on all tabs but don't know where this is coming from.
>
> Can any one advise.
>
> Rgds,
>
> Simon Levy
>
> T Internal: 67103
>
> T 0208 417 7103
>
> E S.Levy at kingston.ac.uk <mailto:S.Levy at kingston.ac.uk>
>
> Kingston University London
>
> Penrhyn Road, Kingston upon Thames KT1 2EE 
> www.kingston.ac.uk<http://www.kingston.ac.uk/ 
> <http://www.kingston.ac.uk%3chttp:/www.kingston.ac.uk/>>
>
> Information in this email and any attachments are confidential, and 
> may not be copied or used by anyone other than the addressee, nor 
> disclosed to any third party without our permission. There is no 
> intention to create any legally binding contract or other commitment 
> through the use of this email.
>
> Please consider the environment before printing this email.
>
>
> This email has been scanned for all viruses by the MessageLabs Email
> Security System.
>
>
> This email has been scanned for all viruses by the MessageLabs Email
> Security System.
>
>
> This email has been scanned for all viruses by the MessageLabs Email
> Security System.
>
>
> *** 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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20140529/5627d2ad/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 14479 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20140529/5627d2ad/attachment-0001.png 


More information about the Eprints-tech mailing list