[Xerte] Re: Desktop Xerte 2.17 -- having trouble reading data from external script

Paul Swanson Paul.Swanson at harlandfs.com
Tue Aug 7 15:46:28 BST 2012


Yes, undefined when using localhost, and if I open the same rlo in the editor, it works correctly. I made sure MIME-types were set.

I've also tried reading the return values from loginCheck.loadVars (the returned value names from my authentication script are 'reg_id' and 'message'), and it also displays 'undefined' when I try to display them or use them programmatically.

Paul Swanson
Internal Business Systems Analyst
Internal Business Intelligence
Harland Financial Solutions
(800) 274-7280 Ext. 2462
Paul.Swanson at harlandfs.com

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: Monday, August 06, 2012 4:13 PM
To: Xerte discussion list
Subject: [Xerte] Re: Desktop Xerte 2.17 -- having trouble reading data from external script

Chrome scares me now, i sign into google mail in chrome, it
automatically signs me into chrome skynet or some such and starts
sharing my extensions and favourites. Which is fine, till I want to
use chrome at work.

So you get 200s but undefined when using localhost?

doesn't send and load usually populate a dataobject with the response?

On Tue, Aug 7, 2012 at 12:02 AM, Paul Swanson
<Paul.Swanson at harlandfs.com> wrote:
> Hi Pat,
>
>
>
> Thanks for the quick response!
>
>
>
> I've been using Fiddler all along (should have mentioned that), and it shows
> all 200 Responses. I can see the response being returned from my
> authentication script:
>
> HTTP/1.1 200 OK
>
> Date: Mon, 06 Aug 2012 22:52:32 GMT
>
> Server: Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8
> mod_perl/2.0.4 Perl/v5.10.1
>
> X-Powered-By: PHP/5.3.8
>
> Content-Length: 46
>
> Keep-Alive: timeout=5, max=100
>
> Connection: Keep-Alive
>
> Content-Type: text/html
>
>
>
> reg_id=71&message=User Found in Database<br/>
>
>
>
> I've been testing using IE 9 and Firefox 14. We're not allowed to use Chrome
> (some nonsense about it indexing your hard drive and storing it on the
> cloud).
>
>
>
> Paul Swanson
>
> Internal Business Systems Analyst
>
> Internal Business Intelligence
>
> Harland Financial Solutions
>
> (800) 274-7280 Ext. 2462
>
> Paul.Swanson at harlandfs.com
>
>
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: Monday, August 06, 2012 3:45 PM
> To: Xerte discussion list
> Subject: [Xerte] Re: Desktop Xerte 2.17 -- having trouble reading data from
> external script
>
>
>
> i would guess
>
>
>
> in preview you can use IE to act as the agent for your web request
>
>
>
> When placed on a web server - there is no agent to get the files for
>
> you - so it dies.
>
>
>
> If you install fiddler it will show flash requests (chrome might do it too)
>
>
>





More information about the Xerte mailing list