Sorry, I forgot to mention the server supports PHP. In fact the web
interface is built with PHP.

2015-07-16 16:30 GMT+02:00 David McGiven <davidmcgiv...@gmail.com>:

> Angel, thanks so much for your prompt reply. I'm going to answer you below.
>
> 2015-07-16 17:03 GMT+02:00 Angel Herráez <angel.herr...@uah.es>:
>
>>  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.
>>
>
> Did that. Then :
>
> With CHROME:
> I don't get the error popup but in the JSMOL window I get :
>
> unrecognized file format for file
> http://lmc.uab.cat/TMalphaDB/pses/pymolsessWokNtt.pse
> ;base64, (and then a lot of characters, probably the data)
>
> With Firefox :
> It works perfectly.
>
>
>
>
>>
>>  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?
>>
>
> JSMOL VERSION : Jmol 14.2.13_2015.03.23
>
> Well, I copied the minimum files necessary as stated somewhere in the wiki
> page (Can't recall where).
>
> I have :
> j2s/  (folder)
> JSmol.min.js (file)
> jsmol.php (file)
>
> This is what I have.
>
>
>>
>>  > 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.
>>
>>
> Ok, I understand that, but there should be a way to at least, make jsmol
> compatible with Firefox and Chrome, right ?
>
>
>>
>>  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
>>
>>
>>
> Same error as if I set it to : "
> http://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php";
>
> Only that it loads faster since it's in my local network.
>
>
>
> Do you have a more accurate idea of what could be happening ?
>
> Thanks.
> D
>
>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>>
>
------------------------------------------------------------------------------
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