Hi,

I am currently trying to get Jsmol to work on my server. I have used Jsmol 
successfully on other servers but this time I can’t get it to work. As a test I 
am simply trying to load a PDB file but when I try to load the page I get the 
following message:

Error connecting to server: 
http://www.sbg.bio.ic.ac.uk/3dligandsite/jmol-14.2.4_2014.08.03/jsmol/php/jsmol.php?call=getRawDataFromDatabase&database=_&query=http%3A%2F%2Fwww.sbg.bio.ic.ac.uk%2F3dligandsite%2Fmodel.jmol.pdb&encoding=base64

The page then displays the following:

Unrecognized file format for file
http://www.sbg.bio.ic.ac.uk/3dligandsite/model.jmol.pdb

<!DOCTYPEE HTML PUBLIC “-//ETF//DTD HTML 2.0/EN”
>

<html><head>
<title>500 Internal Server Error</title>


I have tried with different versions of Jmol without success. Any suggestions 
on how I can resolve this would be appreciated. I have copied the code fro mthe 
page below:

In the header I have the following code:

<script type="text/javascript" 
src="jmol-14.2.4_2014.08.03/jsmol/JSmol.min.js"></script>
<script type="text/javascript" 
src="jmol-14.2.4_2014.08.03/jsmol/js/Jmol2.js"></script>
<script type="text/javascript">
Jmol._alertNoBinary = false;
var jmolApplet0 = null;

var JSInfo = {
addSelectionOptions: false,
color: "#000000",
j2sPath: "jmol-14.2.4_2014.08.03/jsmol/j2s",
// HTML5 only
use: "HTML5",
width: 900,
height: 900,
disableJ2SLoadMonitor: false,
                                        readyFunction: null,
                                        deferApplet: false,
                                        src: null,
                                        serverURL: 
"http://www.sbg.bio.ic.ac.uk/3dligandsite/jmol-14.2.4_2014.08.03/jsmol/php/jsmol.php";
}
</script>

Then in the body I have:

<script type="text/javascript">
jmolApplet0 = Jmol.getApplet("jmolApplet0", JSInfo);
Jmol.script(jmolApplet0, "load model.jmol.pdb;");
</script>


Many thanks,
Mark

------------------------------------------
Dr Mark Wass
Lecturer in Computational Biology
Centre for Molecular Processing
School of Biosciences
University of Kent

web: http://www.wasslab.org
[email protected]<mailto:[email protected]>
------------------------------------------

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to