Hi David

Some tasks (like binary file loading and cross-server calls) are handled differently depending on the browser.
Since your error reports jsmol.php, I think that is the case.

First, though unlikely to be the reason, you must check that your server supports PHP

The only other solution I can think of is to try specifying another url for th php part, i.e. in the "serverURL" parameter of the JSmol Info variable.
Try pointing to StOlaf server for a test,
"http://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php"
and see if the error is still there. Otherwise, it is  aproblem with the file setup in your server.

On the other hand, I see suspicious that you error mentions "http://lmc.uab.es/TMalphaDB/jsmol.php"
since usually the file is in a "php" folder of the JSmol distirbution, i.e. something like
"http://lmc.uab.es/TMalphaDB/php/jsmol.php"

What is your version of JSmol? Has it got all the files?

> And the JSMOL canvas stays with "Retrieving data..."

That just means the process was interrupted by the error.

> If I put that URL in the browser all I get is a : ";base64," I don't know if this is what it's supposed to
> be.

Probaly it is, that's the raw data trying to be transferred.

 
> It's very strange because with Firefox and Safari it works ok.

Because , as I said, browsers handle requests differently.


Finally, I took a peek at your page and I see that
http://lmc.uab.es/TMalphaDB/
gets redirected to
http://lmc.uab.cat/TMalphaDB/

while the jsmol.php file is being called in the first domain, that may be the issue (cross-domain calls)
Try changing your "Info" code from
serverURL: "http://lmc.uab.es/TMalphaDB/jsmol.php",
to
http://lmc.uab.cat/TMalphaDB/jsmol.php



  
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to