<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
The files which handle the ajax phrases are:<br>
<br>
- lib/static/javascript/auto/99_eprints_api.js (display the
phrases)<br>
- cgi/ajax/phrase (delivery of the phrases)<br>
<br>
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).<br>
<br>
That functionality needs the PERL "JSON" module - is it installed
on your server (*) ?<br>
<br>
Seb.<br>
<br>
(*) you can check on the command-line:<br>
<br>
$ perl -e "use JSON;" <br>
<br>
should display nothing.<br>
<br>
On 28/05/14 09:52, Levy, Simon wrote:<br>
</div>
<blockquote
cite="mid:FE14E5761A74974AB128ECA3E9934F49640EA93530@KUMBX.kuds.kingston.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span
style="color:#1F497D;mso-fareast-language:EN-GB">Rgds,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D;mso-fareast-language:EN-GB">Simon
Levy<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D;mso-fareast-language:EN-GB">T
Internal: 67103<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D;mso-fareast-language:EN-GB">T 0208
417 7103<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D;mso-fareast-language:EN-GB">E <a
moz-do-not-send="true"
href="mailto:S.Levy@kingston.ac.uk"><span
style="color:blue">S.Levy@kingston.ac.uk</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#BFBFBF;mso-fareast-language:EN-GB">Kingston
University London<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#BFBFBF;mso-fareast-language:EN-GB">Penrhyn
Road, Kingston upon Thames KT1 2EE
<a class="moz-txt-link-abbreviated" href="http://www.kingston.ac.uk">www.kingston.ac.uk</a><a class="moz-txt-link-rfc2396E" href="http://www.kingston.ac.uk/"><http://www.kingston.ac.uk/></a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#BFBFBF;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#BFBFBF;mso-fareast-language:EN-GB">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#BFBFBF;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#BFBFBF;mso-fareast-language:EN-GB">Please
consider the environment before printing this email.<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>
[<a class="moz-txt-link-freetext" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a>] <b>On
Behalf Of </b>John Salter<br>
<b>Sent:</b> 28 May 2014 09:10<br>
<b>To:</b> '<a class="moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>'<br>
<b>Subject:</b> [EP-tech] Re: Jason Error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hi Simon,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">John<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">*Other browsers
also have debug/investigation capabilities – this is the
pairing I use.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB"
lang="EN-US"> <a moz-do-not-send="true"
href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>
[<a moz-do-not-send="true"
href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a>]
<b>On Behalf Of </b>Levy, Simon<br>
<b>Sent:</b> 28 May 2014 08:11<br>
<b>To:</b> '<a class="moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>'<br>
<b>Subject:</b> [EP-tech] Jason Error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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. <o:p></o:p></p>
<p class="MsoNormal">Can any one advise.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><img
id="Picture_x0020_1"
src="cid:part4.07060105.06050004@ecs.soton.ac.uk"
height="171" border="0" width="364"></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Rgds,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Simon
Levy<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">T
Internal: 67103<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">T
0208 417 7103<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">E
<a moz-do-not-send="true"
href="mailto:S.Levy@kingston.ac.uk">S.Levy@kingston.ac.uk</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#BFBFBF;mso-fareast-language:EN-GB">Kingston
University London<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#BFBFBF;mso-fareast-language:EN-GB">Penrhyn
Road, Kingston upon Thames KT1 2EE <a
moz-do-not-send="true"
href="http://www.kingston.ac.uk%3chttp:/www.kingston.ac.uk/">www.kingston.ac.uk<http://www.kingston.ac.uk/</a>><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#BFBFBF;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#BFBFBF;mso-fareast-language:EN-GB">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#BFBFBF;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#BFBFBF;mso-fareast-language:EN-GB">Please
consider the environment before printing this email.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";mso-fareast-language:EN-GB"><br>
This email has been scanned for all viruses by the
MessageLabs Email<br>
Security System.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";mso-fareast-language:EN-GB"><br>
This email has been scanned for all viruses by the
MessageLabs Email<br>
Security System.<o:p></o:p></span></p>
</div>
<br clear="all">
This email has been scanned for all viruses by the MessageLabs
Email<br>
Security System.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
</blockquote>
<br>
</body>
</html>