isCloud Dialog box

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
bluttman
Profound User
Posts: 35
Joined: Mon Feb 20, 2012 6:45 pm
First Name: Brian
Last Name: Luttman
Company Name: BEPCO, Inc.
Contact:

isCloud Dialog box

Post by bluttman »

Recently upgraded our PHP and Apache servers. After upgrade getting error message when ending a profound session.

ibmi.****.***.*** says:
Onload Error:
Cannot read property 'isCloud' of undefined

Searches aren't turning up any information on 'isCloud'.

Ideas?
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: isCloud Dialog box

Post by Scott Klement »

Profound UI runs on the IBM HTTP Server (powered by Apache) which is part of the operating system. What do you mean by "upgraded" it? did you upgrade the operating system? or, install PTFs? Or, what do you mean when you say you upgraded it? Since its part of the OS rather than an independent application, you can't simply upgrade it by itself.

You could upgrade the PHP server, but I don't see what that has to do with Profound UI (which isn't written in PHP).
bluttman
Profound User
Posts: 35
Joined: Mon Feb 20, 2012 6:45 pm
First Name: Brian
Last Name: Luttman
Company Name: BEPCO, Inc.
Contact:

Re: isCloud Dialog box

Post by bluttman »

Sorry should have been clearer.

We upgraded ZendServer PHP from 5.6 to 7. And ProfoundUI went from 5.?(I think) to 6.2.1.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: isCloud Dialog box

Post by Scott Klement »

The error says it occurred in the Onload event of a screen. Can you post the code in that onload event?
bluttman
Profound User
Posts: 35
Joined: Mon Feb 20, 2012 6:45 pm
First Name: Brian
Last Name: Luttman
Company Name: BEPCO, Inc.
Contact:

Re: isCloud Dialog box

Post by bluttman »

console.log("PUISCREENS_EOJSCRN_Onload");
if(window.device != null){
if(window.device.platform != null){
if(window.device.platform == "iOS"){
applyProperty("btnBack", "visibility", "hidden");
applyProperty("btnBack", "field type", "css button");
applyProperty("NewSessionButton2", "left", "125px");
applyProperty("NewSessionButton2", "field type", "css button");
}
}
}

//pui.endOfSession();
pui.closeSession()
pui.shutdownOnClose = false;
window.close();
bluttman
Profound User
Posts: 35
Joined: Mon Feb 20, 2012 6:45 pm
First Name: Brian
Last Name: Luttman
Company Name: BEPCO, Inc.
Contact:

Re: isCloud Dialog box

Post by bluttman »

pui.closeSession() is failing at line 13215 in runtime.js.

if (window.parent != window && window.parent.pui.isCloud) {

window.parent.pui.isCloud is undefined.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: isCloud Dialog box

Post by Scott Klement »

It looks like this was fixed a long time ago. Please update to the current version of Profound UI.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests