Web deployment does not work for me

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

admin12
Posts: 412
Joined: Wed May 11, 2011 9:47 am

Web deployment does not work for me

Post by admin12 » Wed Jun 29, 2011 3:45 pm

I downloaded and installed the revlet installer for runrev web files. I am using chrome as my browser. Windows 7, 64 bit, 8gb ram. My windows is 100% up to date with all updates and service packs.

I have a program I wrote that works 100% as a windows application. However, when trying out the web deploy module, it will not run. I did try some other people's web programs and they would not run either (for me). What am I doing wrong?

Mike

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Web deployment does not work for me

Post by jacque » Wed Jun 29, 2011 4:31 pm

What you're doing wrong is that you're running in 64-bit mode. ;) There's an incompatibility right now with that. There's not much you can do except wait for the team to fix it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

admin12
Posts: 412
Joined: Wed May 11, 2011 9:47 am

Re: Web deployment does not work for me

Post by admin12 » Wed Jun 29, 2011 9:09 pm

Crap. That is a major problem for me. I have to write a database front end and am going to deploy it to web and my client wants to be able to look at it from time to time. Is there a work-around? I am not purposefully running in 64 bit and as far as I can tell, runrev Live Code runs in 32 bit mode.

Mike

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Web deployment does not work for me

Post by jacque » Wed Jun 29, 2011 10:11 pm

The IDE will run in 32-bit on a 64-bit system. But the web plugin will run at the same bit depth as the browser it is embedded into, I think. And, just to make things worse for you, Chrome isn't supported at all. RR has promised to fix all that, but it may be a while.

I use FireFox, and it gives me the option to restart in 32-bit mode, even on my 64-bit system. I haven't actually tried it myself but others say it works. So you may be able to get around the limitation by running FireFox in 32-bit. Your client would need to do the same.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

admin12
Posts: 412
Joined: Wed May 11, 2011 9:47 am

Re: Web deployment does not work for me

Post by admin12 » Thu Jun 30, 2011 2:23 am

Wow. That hit me in the gut. A LOT of people use chrome now, so that would be a huge segment of the population that could not use the database. I really hope they have a quick fix for this, or I am truly SOL. My client is all excited about their database being implemented inside their client's websites and Live Code was my way to do this.

Not good. Not good at all.

Mike

admin12
Posts: 412
Joined: Wed May 11, 2011 9:47 am

Re: Web deployment does not work for me

Post by admin12 » Thu Jun 30, 2011 2:33 am

I tried the revlet out in other browsers.

Chrome = nothing - not even a window comes up.
Internet Explorer = says I need the runrev browser addon and click to install. Does not matter how many times you do it, that's all you get.
Safari = works perfectly.
Firefox = works perfectly
MSN = too old for me to download and try.
Maxthon = does not work. Says loading and never gets there.
Opera = does not work at all.
Avant = made with IE engine, so same problem.
Comodo Dragon = must be made with the chrome engine - same problem as with chrome.

This is unacceptable. It is obvious that Runrev started out on Mac and made a windows version since it seems the only two browsers that work pretty much started on Macs. I think Runrev needs to hire more PC programmers.

Mike

admin12
Posts: 412
Joined: Wed May 11, 2011 9:47 am

Re: Web deployment does not work for me

Post by admin12 » Thu Jun 30, 2011 3:02 pm

I think the real question to be asked is why do revlets work in safari and firefox, but not in any other browser? What are the other browsers doing to stop the plugin from working? I am going to see if I can make it work with IE by setting internet options somehow.

Mike

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Web deployment does not work for me

Post by jacque » Thu Jun 30, 2011 5:52 pm

The release notes state that revlets are only supported on IE, Firefox, and Safari so far. Part of the rewrite will be to make it compatible with all browsers -- but this is a huge job. Basically they need to write code for each browser out there, they are all a bit different.

Safari and Firefox on your machine are likely running in 32-bit mode, so they work. I don't know much about IE (I avoid it) but if there is a setting to force it to launch in 32-bit mode then revlets should work there too.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

admin12
Posts: 412
Joined: Wed May 11, 2011 9:47 am

Re: Web deployment does not work for me

Post by admin12 » Thu Jun 30, 2011 8:18 pm

I tried it on 5 machines, 4 of them strictly 32 bit running XP. Not one of them worked in IE. Chrome is a no-show. I think something broke in the runrev revlet plugin when they released the newest IE (9.0.1 currently).

Mike

townsend
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 430
Joined: Sun Feb 13, 2011 8:43 pm

Re: Web deployment does not work for me

Post by townsend » Thu Jun 30, 2011 9:48 pm

Good thread-- I had no idea-- important stuff to know about.

Rather than spending a LOT of time writing and re-writing the LIveCode web plugin for each browser, I'd much prefer if RunRev wrote it just once, as a Java executable. That way, it would run on all browsers and without the user having to install the browser extension. The development team must have thought of this already.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Web deployment does not work for me

Post by mwieder » Fri Jul 01, 2011 12:23 am

runrev's been promising a new plugin for quite a while now. I lost out on a contract last year - the client decided to go with a java solution because revlets weren't ready for prime time. I don't even think about deploying to the web anymore.

admin12
Posts: 412
Joined: Wed May 11, 2011 9:47 am

Re: Web deployment does not work for me

Post by admin12 » Fri Jul 01, 2011 12:37 am

mwieder wrote:runrev's been promising a new plugin for quite a while now. I lost out on a contract last year - the client decided to go with a java solution because revlets weren't ready for prime time. I don't even think about deploying to the web anymore.
I would just like a fix for IE - 95% of the customers of my client use IE. If IE won't work, I am SUNK!

Mike

admin12
Posts: 412
Joined: Wed May 11, 2011 9:47 am

Re: Web deployment does not work for me

Post by admin12 » Fri Jul 01, 2011 12:44 am

It says on the web portion of the runrev website:

LiveCode Player Version 4.5 is expected to start testing in October 2010 to members of the LiveCode Developer Program who have the Web Deployment Pack

Now, I plan on purchasing the web deployment pack (testing it now), so will 4.5 be coming out soon or did they give up on it - it says October 2010 - now nearly 2 years later.

Mike

townsend
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 430
Joined: Sun Feb 13, 2011 8:43 pm

Re: Web deployment does not work for me

Post by townsend » Fri Jul 01, 2011 12:55 am

Mike wrote:So will 4.5 be coming out soon or did they give up on it - it says October 2010 - now nearly 2 years later.
Good question.

I see the RunRev store, is now offering a pre-release for Win 6.5 development.
Is anybody intested in deploying to Microsoft's mobile platform? I don't think so.

I'd much rather have a good web plugin, instead of Win 6.5.

admin12
Posts: 412
Joined: Wed May 11, 2011 9:47 am

Re: Web deployment does not work for me

Post by admin12 » Fri Jul 01, 2011 12:58 am

HAPPY DAY HAPPY DAY!!!!

I got it to work. I edited the html of what was exported and took out a line or two. It started working in everything EXCEPT Chrome.

Here is the code that worked:

---------------------------

<html>
<head>
</head>

<body>

<center>

<object classid="CLSID:B2EC94AF-4716-4300-824A-3314BF23664A" width=1228 height=608>
<param name="src" value="CampStaffUSAReports.revlet"/>
<param name="stack" value="CampStaffUSA Reports"/>
<param name="requestedName" value=""/>
<param name="instanceID" value=""/>
<embed type="application/x-revolution"
src="CampStaffUSAReports.revlet"
width=1228 height=608
stack="CampStaffUSA Reports"
requestedName=""
instanceID=""
></embed>
</object>

<script type="text/javascript">
var agt=navigator.userAgent.toLowerCase();
var ie = (agt.indexOf("msie") != -1);
var ns = (navigator.appName.indexOf("Netscape") != -1);
var win = ((agt.indexOf("win")!=-1) || (agt.indexOf("32bit")!=-1));
var mac = (agt.indexOf("mac")!=-1);
if(ie && win){ pluginlist = detectIE("RunRev.RevWebPluginCtrl.1","Revolution"); }
if (ns || !win){ nse = ""; for(var i=0;i<navigator.mimeTypes.length;i++) nse += navigator.mimeTypes.type.toLowerCase(); pluginlist = detectNS("application/x-revolution","Revolution"); }
function detectIE(ClassID,name) { result = false; document.write('<SCRIPT LANGUAGE=VBScript>\n on error resume next \n result = IsObject(CreateObject("' + ClassID + '"))\</SCRIPT\>\n'); if (result) return name+','; else return ''; }
function detectNS(ClassID,name) { n = ""; if (nse.indexOf(ClassID) != -1) if (navigator.mimeTypes[ClassID].enabledPlugin != null) n = name+","; return n; }
pluginlist += navigator.javaEnabled() ? "Java," : "";
if (pluginlist.length > 0) pluginlist = pluginlist.substring(0,pluginlist.length-1);
var plugin = document.getElementById("plugin");
var noplugin = document.getElementById("noplugin");
plugin.style.display = "none";
noplugin.style.display = "none";
if(pluginlist.indexOf("Revolution")!=-1){ plugin.style.display = "block"; }else{ noplugin.style.display = "block"; }
</script>

</center>

</body>
</html>

Post Reply