[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Jason Error



If it?s your machine only, I?d try a hard-reload of the page (Ctrl+F5 or Ctrl+R or suchlike ? depending on browser), to rule out client-side caching issues.

Cheers,
John

From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Sebastien Francois
Sent: 29 May 2014 11:22
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Re: Jason Error

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><http://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> [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<mailto: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<mailto: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.

[cid:image001.png at 01CF7B32.CB788C10]


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/b3d9cd03/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 14479 bytes
Desc: image001.png
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20140529/b3d9cd03/attachment-0001.png